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
Daniele Rondina
c22adb3a47
compiler: Move spinner at the low level
2021-02-13 09:28:54 +01:00
Ettore Di Giacinto
b93357e36c
Tag 0.11.0
2021-02-10 09:07:02 +01:00
Ettore Di Giacinto
518fb16067
Add IsVirtual() to compile spec
2021-02-09 19:05:16 +01:00
Ettore Di Giacinto
4d9297e3da
Be sure to copy exact folder structure when generating final images
...
'COPY *' has a different behavior than 'COPY .' - when regexes are
involved, COPY behave differently, by unpacking directory content to the
root.
Enhance unit test to cover the scenario as well
2021-02-09 18:27:53 +01:00
Ettore Di Giacinto
544895e051
Handle empty packages when pushing final images
...
We used to create dockerfiles blindly assuming there is content, but
that's not the case for virtual packages.
Due to https://github.com/moby/moby/issues/38039 we are forced for a
"unpleasant" workaround, as we can't create empty FROM scratch images
and export them.
2021-02-09 18:27:53 +01:00
Ettore Di Giacinto
fd80bb526e
Add DirectoryIsEmpty
2021-02-09 16:51:10 +01:00
Daniele Rondina
c1fe3278fa
backend: Add realtime output on building phase
...
The realtime output could be configured through
LUET_GENERAL__SHOW_BUILD_OUTPUT environment
variable or related config option or through
`--live-output` option.
2021-02-02 12:58:34 +01:00
Daniele Rondina
2854c68209
logger: Add ln option for writer log
2021-02-01 19:10:05 +01:00
Ettore Di Giacinto
505f07f056
Add asciinema to README
2021-02-01 12:25:31 +01:00
Ettore Di Giacinto
8bce3f1f00
Merge pull request #181 from mudler/trim_domain_name_from_cached_image_reference
...
Trim the Domain Name from cached image references
2021-01-29 16:25:50 +01:00