Ettore Di Giacinto
3250d63072
Don't merge install and compilation DB. Use a temporary DB for generation
2021-04-16 13:56:51 +02:00
Ettore Di Giacinto
b8961be793
Add accessor to embed custom files to a repository while writing
...
Split up into methods so it's easier to add custom files
2021-04-16 13:56:45 +02:00
Ettore Di Giacinto
036b5c08c6
Split up repository generators
2021-04-08 15:24:32 +02:00
Ettore Di Giacinto
c7b79bf630
Compiler recipe now saves the entire tree
2021-04-08 15:22:00 +02:00
Ettore Di Giacinto
83cb6a2804
Check target with PathSeparator in finalizer.go
2021-04-08 10:22:24 +02:00
Ettore Di Giacinto
182afa315a
Tag 0.12.0
2021-04-08 10:21:22 +02:00
Ettore Di Giacinto
ec19b34ca8
Allow to pull from multiple repositories
...
Adds a new cli flag to luet build `--pull-repository` which allows to
pass-by a list of docker image references which are used to pull the
cache from
Fixes #185
Fixes #184
Closes #161
2021-04-08 09:17:54 +02:00
Daniele Rondina
88307b1912
Restore parsing of gentoo string with condition ( #195 )
...
* cmd/helpers: Permit to parse gentoo package str with condition
* Update vendor pkgs-checker @v0.8.1
2021-03-30 09:17:16 +02:00
Ettore Di Giacinto
a83be204e8
Tag 0.11.8
2021-03-18 13:53:04 +01:00
Ettore Di Giacinto
b8352a81a2
Use Lchown when copying bits, lower message to warn
2021-03-18 11:23:42 +01:00
Ettore Di Giacinto
ebf907fb45
Add owner permissions tests
2021-03-18 10:57:09 +01:00
Ettore Di Giacinto
f0a34f1cf0
Enable NoLchown
...
This caused to drop file permissions
2021-03-18 10:48:23 +01:00
Ettore Di Giacinto
4f1e4c0b41
Switch to containerd when unpacking layers
2021-03-18 10:47:58 +01:00
Ettore Di Giacinto
c736c002af
build: Set privileged to true by default
2021-03-18 10:47:39 +01:00
Ettore Di Giacinto
2c32af2951
Tag 0.11.7
2021-03-16 15:47:37 +01:00
Ettore Di Giacinto
ce349ca1b7
Se the path relative to the artifact when generating docker repositories
2021-03-16 14:46:46 +01:00
Ettore Di Giacinto
662742851a
Generate backend bus events in the backends
2021-03-16 14:46:28 +01:00
Ettore Di Giacinto
f8ef1c0889
Print error when failing downloading docker image
2021-03-16 11:34:36 +01:00
Ettore Di Giacinto
23513f2c75
Include files in search only if we have the artifact
2021-03-15 11:40:34 +01:00
Ettore Di Giacinto
268239a561
Propagate verify when serializing
2021-03-15 11:37:56 +01:00
Ettore Di Giacinto
f8989e464e
Update vendor
2021-03-11 17:57:59 +01:00
Ettore Di Giacinto
0028dd3a92
Support content trust images and pull with authentication
...
Contact the notary server if ```--verify``` is specified (or `verify:
true` is enabled on the repo config) and verify if the image is signed,
use the returned value to pull the verified image.
2021-03-11 17:57:59 +01:00
Ettore Di Giacinto
caa1cfad5c
Tag 0.11.6
2021-03-09 11:37:41 +01:00
Ettore Di Giacinto
39839edda9
Add util to rootcmd
2021-03-09 11:37:22 +01:00
Ettore Di Giacinto
ecd4be4ad3
Tag 0.11.5
2021-03-09 10:55:34 +01:00
Ettore Di Giacinto
675170939d
Expose DownloadAndExtractDockerImage as a util
...
Create a util sub cmd to add all utils that are handy for development
and already present in the luet codebase. We expose in this case `luet
util unpack` to unpack a docker image without a docker daemon running.
2021-03-09 09:22:37 +01:00
Ettore Di Giacinto
0f1acac89b
Tag 0.11.4
2021-03-07 12:38:37 +01:00
Ettore Di Giacinto
42f5210764
Add DownloadOnly option
...
It allows to download only the packages, without
installing/upgrading/replacing them
Fixes #179
2021-03-07 11:39:59 +01:00
Ettore Di Giacinto
9eda81667b
Use common ImageID() when computing final images
...
It also adds tests and strip invalid "+" character which is not
supported in docker image tags
2021-03-07 11:01:08 +01:00
Ettore Di Giacinto
94f692266c
Tag 0.11.3
2021-03-06 20:36:37 +01:00
Ettore Di Giacinto
c13a2174c4
Try to chown after copy
2021-03-06 18:49:14 +01:00
Ettore Di Giacinto
f07cf6c245
Add tests for file search
2021-03-06 18:49:14 +01:00
Ettore Di Giacinto
515017cabd
ci: login with sudo -E
2021-03-06 16:52:20 +01:00
Ettore Di Giacinto
0bfb33db92
Allow to set db/rootfs from CLI in cleanup
2021-03-06 11:28:39 +01:00
Ettore Di Giacinto
c9c24dd174
Add integration test
2021-03-06 10:41:15 +01:00
Ettore Di Giacinto
194cfda8a4
Pass by the cli args to the underlying system struct
...
We didn't set previously what we catched from CLI. Note, this is a
temporary solution until we refactor the cli code
Fixes #186
2021-03-06 10:21:49 +01:00
Ettore Di Giacinto
233429bbeb
Allow to search by file
...
Also make possible to retrieve the artifact when searching for matches
between repositories list. This made possible to show the package list
when calling `luet search`.
2021-02-28 18:42:58 +01:00
Ettore Di Giacinto
d84f6b31fd
Add database get command
2021-02-28 18:42:16 +01:00
Ettore Di Giacinto
98b01ce00b
Tag 0.11.2
2021-02-22 14:46:36 +01:00
Ettore Di Giacinto
749a4cb615
Add --backend-args
...
Allow to add arguments to the backend build arguments
Fixes #146
2021-02-22 13:49:29 +01:00
Ettore Di Giacinto
57e19c61e7
Start spinner before pulling docker artifacts
2021-02-22 11:54:09 +01:00
Ettore Di Giacinto
5ee1e28b9c
Display informative message when pulling docker artifacts
2021-02-22 11:50:52 +01:00
Ettore Di Giacinto
21bd76af9c
Uncomplicate runCommand and return command output
...
Fixes #189
2021-02-22 11:44:46 +01:00
Ettore Di Giacinto
89bd7c2281
Tag 0.11.1
2021-02-17 13:58:21 +01:00
Ettore Di Giacinto
49d7efa9ea
Update vendor
2021-02-17 13:01:36 +01:00
Ettore Di Giacinto
b3e3abec8f
Fixup spinner data race
...
Add spinner lock
2021-02-17 13:01:32 +01:00
Ettore Di Giacinto
92e73051a0
Initialize cached in singleton
2021-02-17 09:34:54 +01:00
Ettore Di Giacinto
fd7405c2cc
Add inmemory DB integration test
2021-02-15 18:53:56 +01:00
Ettore Di Giacinto
2448f3175e
Initialize cache db if empty
2021-02-15 18:53:37 +01:00
Ettore Di Giacinto
101df40eec
Merge pull request #183 from mudler/docker-debug-output
...
Add realtime output for building phase
2021-02-13 12:02:20 +01:00