Compare commits

...

2 commits

Author SHA1 Message Date
368543f77e ci: Remove deprecated group option
Some checks failed
ci/woodpecker/push/java/2 Pipeline is pending
ci/woodpecker/push/java/3 Pipeline is pending
ci/woodpecker/push/java/4 Pipeline is pending
ci/woodpecker/push/java/5 Pipeline is pending
ci/woodpecker/push/nodejs Pipeline is pending
ci/woodpecker/push/java/1 Pipeline failed
ci/woodpecker/push/oci-image-cache-build unknown status
ci/woodpecker/push/oci-image-build/1 unknown status
ci/woodpecker/push/oci-image-build/2 unknown status
ci/woodpecker/push/oci-image-build/3 unknown status
ci/woodpecker/push/oci-image-build/4 unknown status
ci/woodpecker/push/oci-image-build/5 unknown status
ci/woodpecker/push/cleanup unknown status
2024-03-02 23:14:10 +01:00
c86b4182a4 ci: Add image cache cleanup step after build 2024-03-02 23:08:47 +01:00
3 changed files with 12 additions and 5 deletions

12
.woodpecker/cleanup.yml Normal file
View file

@ -0,0 +1,12 @@
depends_on:
- oci-image-build
steps:
delete-tag:
image: rg.fr-par.scw.cloud/hamburghammer/scaleway-delete-image-plugin/plugin
settings:
token:
from_secret: docker_token
image-name: rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image
tag: "${CI_PIPELINE_NUMBER}"
region: fr-par

View file

@ -12,16 +12,13 @@ variables:
steps: steps:
compile: compile:
image: *image image: *image
group: compile
commands: commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am compile - mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am compile
test: test:
image: *image image: *image
group: test
commands: commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test - mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test
build: build:
image: *image image: *image
group: build
commands: commands:
- mvn --batch-mode --no-transfer-progress -Dmaven.test.skip -pl ${MODULE} -am install - mvn --batch-mode --no-transfer-progress -Dmaven.test.skip -pl ${MODULE} -am install

View file

@ -18,7 +18,6 @@ depends_on:
steps: steps:
build-only: build-only:
image: woodpeckerci/plugin-docker-buildx:2.3.0 image: woodpeckerci/plugin-docker-buildx:2.3.0
group: build
settings: settings:
registry: rg.fr-par.scw.cloud/hamburghammer registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin username: nologin
@ -40,7 +39,6 @@ steps:
build: build:
image: woodpeckerci/plugin-docker-buildx:2.3.0 image: woodpeckerci/plugin-docker-buildx:2.3.0
group: build
settings: settings:
registry: rg.fr-par.scw.cloud/hamburghammer registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin username: nologin