only build on v* tags
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/pr/release Pipeline was successful Details
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details

This commit is contained in:
FloatingGhost 2022-07-15 14:38:05 +01:00
parent 98581002f4
commit 6f726618ab
1 changed files with 9 additions and 5 deletions

View File

@ -16,12 +16,12 @@ pipeline:
glibc:
when:
event:
- push
- tag
branch:
- develop
- stable
- refs/tags/v*
- refs/tags/test-*
secrets:
- SCW_ACCESS_KEY
- SCW_SECRET_KEY
@ -55,6 +55,7 @@ pipeline:
branch:
- develop
- stable
- refs/tags/v*
secrets:
- SCW_ACCESS_KEY
- SCW_SECRET_KEY
@ -75,12 +76,13 @@ pipeline:
- mix local.hex --force
- mix local.rebar --force
- export PLEROMA_BUILD_BRANCH=$CI_COMMIT_BRANCH
- export BUILD_TAG=$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}
- export PLEROMA_BUILD_BRANCH=$BUILD_TAG
- mix deps.clean --all
- mix deps.get --only prod
- mix release --path release
- zip akkoma-${tag}.zip -r release
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$CI_COMMIT_BRANCH/akkoma-${tag}-musl.zip
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}-musl.zip
musl1.1:
when:
@ -90,6 +92,7 @@ pipeline:
branch:
- develop
- stable
- refs/tags/v*
secrets:
- SCW_ACCESS_KEY
- SCW_SECRET_KEY
@ -112,9 +115,10 @@ pipeline:
- mix local.hex --force
- mix local.rebar --force
- export PLEROMA_BUILD_BRANCH=$CI_COMMIT_BRANCH
- export BUILD_TAG=$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}
- export PLEROMA_BUILD_BRANCH=$BUILD_TAG
- mix deps.clean --all
- mix deps.get --only prod
- mix release --path release
- zip akkoma-${tag}.zip -r release
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$CI_COMMIT_BRANCH/akkoma-${tag}-musl11.zip
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}-musl11.zip