Compare commits
2 commits
b521706127
...
368543f77e
Author | SHA1 | Date | |
---|---|---|---|
368543f77e | |||
c86b4182a4 |
3 changed files with 12 additions and 5 deletions
12
.woodpecker/cleanup.yml
Normal file
12
.woodpecker/cleanup.yml
Normal 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
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue