Woodpecker CI: Do not build arm/v7 in PR, simplify

This commit is contained in:
Phantasm 2026-07-20 11:14:09 +02:00
commit ac08f0487f
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
2 changed files with 7 additions and 22 deletions

View file

@ -1,7 +1,4 @@
when:
# Temporary PR validation while arm/v7 Docker builds are being brought up.
- event: pull_request
path: [ "**/*.ex", "**/*.eex", "**/*.exs", "mix.lock", ".woodpecker/**", "Dockerfile" ]
- event: push
branch: ${CI_REPO_DEFAULT_BRANCH}
path: [ "**/*.ex", "**/*.eex", "**/*.exs", "mix.lock", ".woodpecker/**", "Dockerfile" ]
@ -20,6 +17,10 @@ variables:
docker_variables: &docker_variables
repo: pleroma/pleroma
registry: git.pleroma.social
username:
from_secret: pleroma-ci-user
password:
from_secret: pleroma-ci-password
armv7_build_settings: &armv7_build_settings
<<: *docker_variables
build_args:
@ -28,24 +29,8 @@ variables:
- ALPINE_IMG=arm32v7/alpine
- ALPINE_VER=3.20
extra_opts: --custom-platform=linux/arm/v7
armv7_push_settings: &armv7_push_settings
<<: *armv7_build_settings
username:
from_secret: pleroma-ci-user
password:
from_secret: pleroma-ci-password
steps:
docker-armv7-pr:
image: woodpeckerci/plugin-kaniko:2.3.1
when:
- event: pull_request
settings:
<<: *armv7_build_settings
dry_run: true
tags:
- armv7-pr-check
docker-develop-armv7:
image: woodpeckerci/plugin-kaniko:2.3.1
when:
@ -54,7 +39,7 @@ steps:
- event: manual
branch: ${CI_REPO_DEFAULT_BRANCH}
settings:
<<: *armv7_push_settings
<<: *armv7_build_settings
tags:
- latest-armv7
- develop-armv7
@ -65,7 +50,7 @@ steps:
when:
- evaluate: 'CI_PIPELINE_EVENT == "manual" && CI_COMMIT_BRANCH == "stable" && CI_COMMIT_TAG == ""'
settings:
<<: *armv7_push_settings
<<: *armv7_build_settings
tags:
- latest-armv7
- stable-armv7
@ -77,7 +62,7 @@ steps:
- event: tag
- evaluate: 'CI_PIPELINE_EVENT == "manual" && CI_COMMIT_BRANCH == "stable" && CI_COMMIT_TAG != ""'
settings:
<<: *armv7_push_settings
<<: *armv7_build_settings
tags:
- latest-armv7
- stable-armv7