Compare commits

...

5 commits

Author SHA1 Message Date
b8d4f03830 ci: Change cleanup to run even on pipeline failure
All checks were successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/push/oci-image-build/5 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/java/5 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/push/cleanup Pipeline was successful
ci/woodpecker/tag/oci-image-cache-build Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/oci-image-build/5 Pipeline was successful
ci/woodpecker/tag/cleanup Pipeline was successful
ci/woodpecker/manual/java/1 Pipeline was successful
ci/woodpecker/manual/java/2 Pipeline was successful
ci/woodpecker/manual/java/3 Pipeline was successful
ci/woodpecker/manual/java/4 Pipeline was successful
ci/woodpecker/manual/nodejs Pipeline was successful
ci/woodpecker/manual/java/5 Pipeline was successful
ci/woodpecker/manual/oci-image-cache-build Pipeline was successful
ci/woodpecker/manual/oci-image-build/1 Pipeline was successful
ci/woodpecker/manual/oci-image-build/2 Pipeline was successful
ci/woodpecker/manual/oci-image-build/3 Pipeline was successful
ci/woodpecker/manual/oci-image-build/4 Pipeline was successful
ci/woodpecker/manual/oci-image-build/5 Pipeline was successful
ci/woodpecker/manual/cleanup Pipeline was successful
2024-07-11 16:37:31 +02:00
78d540a35b ci: Update docker buildx image to 4.1.0 2024-07-11 16:34:03 +02:00
63d35cc7ca ci: Remove selecting runner based on platform 2024-07-11 16:34:03 +02:00
5ad4b31cfc ci: Change build from arm to amd
I use now a days only amd platform based computers.
2024-07-11 16:33:00 +02:00
494ae6874d ci: Add when clauses
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/java/5 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-cache-build Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/push/oci-image-build/5 Pipeline was successful
ci/woodpecker/push/cleanup Pipeline was successful
Fix warning:
> Please set an event filter for all steps or the whole workflow
on all items of the when block.

Refs:
- https://woodpecker-ci.org/docs/usage/linter#event-filter-for-all-steps
2024-07-11 15:58:11 +02:00
5 changed files with 20 additions and 13 deletions

View file

@ -2,6 +2,11 @@ depends_on:
- oci-image-build
skip_clone: true
# runs always
runs_on: [ success, failure ]
when:
event: [tag, push, manual]
steps:
delete-tag:

View file

@ -6,6 +6,9 @@ matrix:
- migration
- monolith
when:
event: [tag, push, manual]
variables:
- &image 'docker.io/maven:3.9-eclipse-temurin-21'

View file

@ -1,3 +1,6 @@
when:
event: [tag, push, manual]
steps:
build:
image: docker.io/node:18-alpine

View file

@ -6,18 +6,14 @@ matrix:
- ui
- monolith
PLATFORM:
# - linux/amd64
- linux/arm64
labels:
platform: linux/amd64
- linux/amd64
depends_on:
- oci-image-cache-build
steps:
build-only:
image: woodpeckerci/plugin-docker-buildx:2.3.0
image: woodpeckerci/plugin-docker-buildx:4.1.0
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
@ -38,7 +34,7 @@ steps:
exclude: [main]
build:
image: woodpeckerci/plugin-docker-buildx:2.3.0
image: woodpeckerci/plugin-docker-buildx:4.1.0
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
@ -55,3 +51,4 @@ steps:
- SETUP_IMAGE=rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image:${CI_PIPELINE_NUMBER}
when:
- branch: main
event: [push, tag, manual]

View file

@ -1,18 +1,17 @@
matrix:
PLATFORM:
# - linux/amd64
- linux/arm64
labels:
platform: linux/amd64
- linux/amd64
depends_on:
- java
- nodejs
when:
event: [tag, push, manual]
steps:
build:
image: woodpeckerci/plugin-docker-buildx:2.3.0
image: woodpeckerci/plugin-docker-buildx:4.1.0
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin