Ettore Di Giacinto
0c0401847e
ci: pass PATH also on deploy steps
2020-08-05 19:35:41 +02:00
Ettore Di Giacinto
02a506a5c5
ci: pass PATH by
2020-08-05 19:24:17 +02:00
Ettore Di Giacinto
6f0b657e69
ci: keep envs
2020-08-05 19:21:20 +02:00
Ettore Di Giacinto
51378bdfb6
Run tests as root to verify caps
2020-08-05 19:19:33 +02:00
Ettore Di Giacinto
66513955c7
Compute image diffs internally
...
Is it more faster in this way as we already have all the needed folders
to the comparison extracted. In this way we don't repeat I/O operation
twice by calling container-diff.
Do not depend on container-diff anymore
2020-08-05 19:09:45 +02:00
Ettore Di Giacinto
694d8656d9
Add xattrs tests
2020-08-05 18:58:50 +02:00
Ettore Di Giacinto
c339e0fed2
Add symlink test
2020-08-05 18:57:27 +02:00
Ettore Di Giacinto
e30bb056d5
Drop IsFlagged from tests
2020-08-02 12:22:43 +02:00
Ettore Di Giacinto
052a551c0c
Add "hidden" field to packages
...
Also drop residual of IsSet which isn't actually used
Related to #26
2020-08-02 11:31:23 +02:00
Ettore Di Giacinto
ffa6fc3829
Tag 0.8.3
2020-07-17 22:42:49 +02:00
Ettore Di Giacinto
07a1058ac1
Add cli option to skip packages if only metadata is present (without checking the image)
2020-07-17 22:42:03 +02:00
Ettore Di Giacinto
3af9109b99
Tag 0.8.2
2020-07-12 15:57:46 +02:00
Ettore Di Giacinto
6e3650d3af
Add upgrade_old_repo_revision fixture
2020-07-12 15:38:02 +02:00
Ettore Di Giacinto
5dcf77c987
Add package buildtimestamp and luet upgrade --sync
...
Annotate the package build time when compiling, and use that from the
client to force upgrade of packages that changed the artifact, but
didn't changed any version.
The client can trigger this behavior with `luet upgrade --sync`
2020-07-12 15:29:38 +02:00
Daniele Rondina
ee0e70ed3d
tree/pkglist: Now --deps orders for build/installation order
2020-07-05 10:44:47 +02:00
Daniele Rondina
364b5648b4
repository loader now support .yaml extension
2020-07-04 20:07:32 +02:00
Daniele Rondina
e28a4753f8
tree/validate: Use --deps instead of --rdeps (we support also build deps)
2020-06-27 19:42:03 +02:00
Daniele Rondina
d1d7f5aa74
tree/pkglist: Add --rdeps option for runtime deps
2020-06-27 19:27:45 +02:00
Daniele Rondina
e2260b6956
Add --no-spinner option
2020-06-27 16:45:49 +02:00
Ettore Di Giacinto
764a09ce0c
Tag 0.8.1
2020-06-27 13:02:00 +02:00
Ettore Di Giacinto
910f1ad3fe
Merge branch 'master' into develop
2020-06-27 13:01:14 +02:00
Ettore Di Giacinto
16e9d7b20c
Use packageImage as builder image fingerprint
...
This allows to have an unique identifier for the builder image id against
different depgraphs combinations. The package fingerprint is not enough,
as an atom could have a difference deptree depending on the requires
constraints.
TODO: Don't use the full image name, but only the hash as a salt
(currently the salt contains ALSO a reference of the image-repository,
as such it doesn't allow to port a tree in a different docker registry)
2020-06-23 18:59:18 +02:00
Ettore Di Giacinto
6088664887
Drop gox-build make target
2020-06-13 18:40:55 +02:00
Ettore Di Giacinto
ee3b59348e
Tag 0.8.0
2020-06-12 19:41:37 +02:00
Ettore Di Giacinto
bb41a0c074
Add upx -1 option
2020-06-12 18:47:18 +02:00
Ettore Di Giacinto
6b8f412138
Update vendor
2020-06-12 17:58:13 +02:00
Ettore Di Giacinto
6d68ed073d
Show and detect extensions with cobra-extensions
2020-06-12 17:54:57 +02:00
Ettore Di Giacinto
7b51e83902
Merge pull request #119 from mudler/config-protect
...
Integrate feature config-protect like Gentoo/Funtoo do
2020-06-07 11:33:55 +02:00
Daniele Rondina
3a365c709b
Integrate config-protect from package spec
2020-06-06 13:12:54 +02:00
Daniele Rondina
aaa73dc2ac
Add integration test for config-protect
2020-06-06 12:35:16 +02:00
Daniele Rondina
0917c2703e
helpers/archive: Refactor and add support for config protect when sameOwner is false
2020-06-06 12:34:44 +02:00
Ettore Di Giacinto
264e1e9652
Print inspect output as string
2020-06-06 11:32:47 +02:00
Ettore Di Giacinto
03cc5fcb76
Use cobra for build --full
2020-06-06 11:20:48 +02:00
Ettore Di Giacinto
8aafc7600c
Print selected packages
2020-06-06 11:18:54 +02:00
Daniele Rondina
c87db16d31
tarModifierWrapperFunc: Now use strings.HasPrefix for match path
2020-06-06 10:38:11 +02:00
Daniele Rondina
cd903351b3
cmd/config: Add print of config protect data
2020-06-06 10:36:42 +02:00
Daniele Rondina
837eeb04ec
config/config_protect: Fix load of configuration files
2020-06-06 10:35:38 +02:00
Ettore Di Giacinto
90a25406a0
Add --full option to build
...
Don't compile dependencies when computing all the compilation specs from
a tree if are among the target deps
Fixes #41
2020-06-06 08:58:18 +02:00
Daniele Rondina
a19a1488bb
Update Luet-lab/moby vendor/
2020-06-06 08:30:28 +02:00
Daniele Rondina
d946e39a15
pkg/helpers/archive_test: Fix test
2020-06-05 23:53:33 +02:00
Daniele Rondina
a414b4ad4c
contrib/config/luet.yaml: Add config_protect_confdir option
2020-06-05 23:40:36 +02:00
Daniele Rondina
415b1dab9a
Add test of modifier
2020-06-05 23:12:35 +02:00
Daniele Rondina
16f717f04b
tarModifierWrapperFunc: Fix config protect filename
2020-06-05 23:12:19 +02:00
Ettore Di Giacinto
9e0e1199df
Check if image exists before skipping compilation
2020-06-03 21:00:30 +02:00
Daniele Rondina
8f0c528c08
Create helpers.UntarProtect for handle protected files
...
Currently, it's used the archive.ReplaceFileTarWrapper
that requite a []byte of the files replaced. This is not
a good idea if files are big and instead could be better
in the near future reimplement ReplaceFileTarWrapper with
a callback that return io.Reader instead of []byte.
If a protected file is already present on target rootfs
it is created a file with the same prefix used in Gentoo:
._cfgXXXX_<filename>
2020-06-02 11:08:37 +02:00
Daniele Rondina
a2231749ab
Begin implementation for catch config protect files
2020-06-02 09:04:40 +02:00
Ettore Di Giacinto
990a5405cf
Merge pull request #116 from mudler/review-config-path
...
Review configuration file parsing logic
2020-05-31 11:05:55 +02:00
Daniele Rondina
1d8a6174bb
Drop duplicate code for general.same_owner
2020-05-30 16:51:10 +02:00
Daniele Rondina
341293c403
tests/integration/09_docker.sh: align new logic
2020-05-30 16:47:11 +02:00
Daniele Rondina
9e7c7e69f8
Review configuration file parsing logic
...
Luet support now these priorities on read configuration file:
- command line option (if available)
- $PWD/.luet.yaml
- $HOME/.luet.yaml
- /etc/luet/luet.yaml
2020-05-30 16:46:29 +02:00