Sebastiaan van Stijn
dc66e6bad1
golangci-lint: use gci formatter instead of goimports
...
Most files already grouped imports into "stdlib -> other -> local",
but some files didn't. The gci formatter is similar to goimports, but
has better options to make sure imports are grouped in the expected
order (and to make sure no additional groups are present).
This formatter has a 'fix' function, so code can be re-formatted auto-
matically;
golangci-lint run -v --fix
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-01 12:21:50 +01:00
Nicolas De Loof
2b4543935c
next release will be major version v5.x
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-11-13 09:32:43 +01:00
Nicolas De Loof
7eb5adeef6
introduce --insecure-registry, reserved for testing purpose
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-11-06 16:17:21 +01:00
Nicolas De Loof
e59150baa8
fix OCI compose override support
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-10-23 12:04:37 +02:00
Nicolas De Loof
6a90742ef2
Test to check writeComposeFile detects invalid OCI artifact
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-10-22 20:09:32 +02:00
Nicolas De Loof
6007d4c7e7
publish env_file references as opaque hash to prevent paths conflicts
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-10-22 19:32:16 +02:00
Guillaume Lours
69bcb962bf
Enforce compose files from OCI artifact all get into the same target (cache) folder
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com >
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-10-22 19:32:16 +02:00
Nicolas De Loof
07602f2070
publish Compose application as compose.yaml + images
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-10-03 10:59:57 +02:00
Nicolas De Loof
fa08127456
use containerd client for OCI operations
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-09-30 12:03:46 +02:00
Nicolas De Loof
66a47169d5
Publish compose file with required siblings used by extends
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-03-07 13:58:10 +01:00
Guillaume Lours
b6c8a2b9fc
display the location of OCI or GIT Compose stack download
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com >
2025-03-03 22:09:06 +01:00
Guillaume Lours
840288895e
add --with-env flag to publish command
...
this flag allow publishing env variables in the Compose OCI artifact
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com >
2025-01-29 15:45:00 +01:00
Guillaume Lours
26064d4b60
allow usage of -f flag with oci Compose artifact
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com >
2024-10-25 17:36:04 +02:00
Nicolas De Loof
eb4249ece4
bump compose-go to v2.0.0-rc.2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2024-01-22 12:27:38 +01:00
Nicolas De Loof
cda04f288e
adopt compose-go/v2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-12-05 18:54:31 +01:00
Nicolas De Loof
71237ef62b
do not resolve cache dir until remote resource is in use
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-11-02 11:16:35 +01:00
Nicolas De Loof
5e3d8f671d
re-implement cache folder detection
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-11-02 11:16:35 +01:00
Guillaume Lours
3d0207ebc8
remove uncessary return value of pullComposeFiles function
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com >
2023-10-18 12:42:11 +02:00
Nicolas De Loof
599e4b242a
extract method to reduce cyclomatic complexity
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-09-29 10:18:11 +02:00
Nicolas De Loof
fe8c2780c8
warn user remote resource is disabled
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-09-29 09:30:38 +02:00
Matthieu MOREL
4f694919ff
deps: remove deprecated github.com/pkg/errors
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-09-29 06:28:58 +02:00
Bjorn Neergaard
a6b7d78575
pkg/remote/oci: check artifactType instead of config.mediaType
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-09-29 05:27:14 +02:00
Bjorn Neergaard
991901f2ef
pkg/remote/oci: refer to the manifest as manifest
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-09-29 05:27:14 +02:00
Nicolas De Loof
5ca35c88be
implement publish
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-09-20 18:14:58 +02:00
Nicolas De Loof
e0f39ebbef
pull OCI remote resource
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2023-09-07 07:27:32 +02:00