Thomas Hipp
cdac765d15
tests: Use testify
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-07-03 11:46:54 +02:00
Stéphane Graber
406fd5fe7d
Fix unpriv LXC config
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-04-28 15:28:39 -04:00
Stéphane Graber
36540bbe7d
Prefix all paths in excludes with ./
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-04-27 15:46:47 -04:00
Stéphane Graber
408ac337c3
definition: Set ArchitectureMapped, ArchitectureKernel and ArchitecturePersonality
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-21 15:32:28 -04:00
Thomas Hipp
02148a5918
tests: Fix tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-16 13:37:58 +01:00
Thomas Hipp
02b0c9d899
*: Introduce MappedArchitecture field
...
Resolves #71
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-16 13:37:50 +01:00
Stéphane Graber
cf9a51df82
More consistent new-line handling
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 21:26:50 -04:00
Thomas Hipp
68b16e9280
test: Fix weird looking template
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
fab6321838
test: Verify LXC create-message
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
fc435ac345
definition: Rename arch to architecture (yaml)
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
a2c72417fc
*: Fix tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:21 +01:00
Thomas Hipp
405598076a
*: Use yaml tags in templates
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:21 +01:00
Thomas Hipp
13024acd47
Remove useless file meta.tar
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 11:42:54 +01:00
Stéphane Graber
6ac3777f96
image: Avoid trailing whiteline in excludes-user
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 18:07:20 -04:00
Stéphane Graber
5f5f48a40f
definition: Make the serial a first class variable
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:36:35 -04:00
Stéphane Graber
6da67fa574
Add serial to LXD metadata
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:03:35 -04:00
Stéphane Graber
e20b1fbe19
Set variant as LXD image property
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 13:23:55 -04:00
Stéphane Graber
32dc1ab397
Rename Arch to Architecture
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 13:00:22 -04:00
Thomas Hipp
16fa3b28dc
lxc: Remove "rootfs" prefix in tarball
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 14:53:42 +01:00
Thomas Hipp
0c7e50de7c
tests: Update lxc config tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 15:52:55 +01:00
Thomas Hipp
f412fc349d
*: Add support for compat level overrides
...
Resolves #30
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 15:52:55 +01:00
Thomas Hipp
81501c9220
*: Move renderTemplate to shared/utils
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 12:11:19 +01:00
Thomas Hipp
3520763f54
Update tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 11:01:36 +01:00
Thomas Hipp
f70b4107b0
*: Fix tarballs and add compression
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 11:01:21 +01:00
Thomas Hipp
b759ae35ce
image: Build correct images
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 09:39:35 +01:00
Stéphane Graber
501ff22c41
Merge pull request #26 from monstermunchkin/issues/13
...
*: Switch to cobra CLI
2018-03-06 11:33:57 +01:00
Thomas Hipp
3530b9b87d
*: Fix imports
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 11:16:22 +01:00
Thomas Hipp
5f4b4b25c5
*: Switch to cobra CLI
...
Resolves #13
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-05 17:49:56 +01:00
Thomas Hipp
34d4d2817e
image: Convert int to string properly
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-01 13:24:19 +01:00
Thomas Hipp
92bb3540a7
image: Add LXC tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-28 11:03:56 +01:00
Thomas Hipp
d1946033d0
image: Add LXD tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-27 18:23:40 +01:00
Thomas Hipp
59d87ef199
image: Fix creation date in pongo context
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-26 14:40:12 +01:00
Thomas Hipp
17e68c5281
image: Add LXC templating
...
Resolves #14 .
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-26 14:36:37 +01:00
Thomas Hipp
05e7c0c660
*: Implement expiry date
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-22 16:43:57 +01:00
Thomas Hipp
629f62715e
*: Don't redefine structs
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-22 16:43:57 +01:00
Thomas Hipp
5353fb62ca
*: Improve comments and error handling
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-22 16:43:57 +01:00
Thomas Hipp
6b6a27a341
image: Create LXC images
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-22 10:15:19 +01:00
Thomas Hipp
30c6fc12e8
image: Create LXD images
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-22 10:15:19 +01:00