diff --git a/.woodpecker/build-amd64.yml b/.woodpecker/build-amd64.yml index 0892d2842..265502e65 100644 --- a/.woodpecker/build-amd64.yml +++ b/.woodpecker/build-amd64.yml @@ -6,9 +6,12 @@ depends_on: variables: - &scw-secrets - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID + SCW_ACCESS_KEY: + from_secret: SCW_ACCESS_KEY + SCW_SECRET_KEY: + from_secret: SCW_SECRET_KEY + SCW_DEFAULT_ORGANIZATION_ID: + from_secret: SCW_DEFAULT_ORGANIZATION_ID - &setup-hex "mix local.hex --force && mix local.rebar --force" - &on-release when: @@ -56,7 +59,7 @@ steps: release-debian-bookworm: image: akkoma/releaser <<: *on-release - secrets: *scw-secrets + environment: *scw-secrets commands: - export SOURCE=akkoma-amd64.zip # AMD64 @@ -86,7 +89,7 @@ steps: release-debian-bullseye: image: akkoma/releaser <<: *on-release - secrets: *scw-secrets + environment: *scw-secrets commands: - export SOURCE=akkoma-amd64-debian-bullseye.zip # AMD64 @@ -112,7 +115,7 @@ steps: release-musl: image: akkoma/releaser <<: *on-stable - secrets: *scw-secrets + environment: *scw-secrets commands: - export SOURCE=akkoma-amd64-musl.zip - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64-musl.zip diff --git a/.woodpecker/build-arm64.yml b/.woodpecker/build-arm64.yml index 7bcdc1435..b1e495153 100644 --- a/.woodpecker/build-arm64.yml +++ b/.woodpecker/build-arm64.yml @@ -1,14 +1,17 @@ labels: - platform: linux/aarch64 + platform: linux/arm64 depends_on: - test variables: - &scw-secrets - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID + SCW_ACCESS_KEY: + from_secret: SCW_ACCESS_KEY + SCW_SECRET_KEY: + from_secret: SCW_SECRET_KEY + SCW_DEFAULT_ORGANIZATION_ID: + from_secret: SCW_DEFAULT_ORGANIZATION_ID - &setup-hex "mix local.hex --force && mix local.rebar --force" - &on-release when: @@ -56,7 +59,7 @@ steps: release-debian-bookworm: image: akkoma/releaser:arm64 <<: *on-release - secrets: *scw-secrets + environment: *scw-secrets commands: - export SOURCE=akkoma-arm64.zip - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-ubuntu-jammy.zip @@ -83,7 +86,7 @@ steps: release-musl: image: akkoma/releaser:arm64 <<: *on-stable - secrets: *scw-secrets + environment: *scw-secrets commands: - export SOURCE=akkoma-arm64-musl.zip - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-musl.zip diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index be7444e28..f8cd12145 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,10 +6,6 @@ depends_on: - build-amd64 variables: - - &scw-secrets - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID - &setup-hex "mix local.hex --force && mix local.rebar --force" - &on-release when: @@ -49,12 +45,14 @@ variables: steps: docs: <<: *on-point-release - secrets: - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID environment: CI: "true" + SCW_ACCESS_KEY: + from_secret: SCW_ACCESS_KEY + SCW_SECRET_KEY: + from_secret: SCW_SECRET_KEY + SCW_DEFAULT_ORGANIZATION_ID: + from_secret: SCW_DEFAULT_ORGANIZATION_ID image: python:3.10-slim commands: - apt-get update && apt-get install -y rclone wget git zip diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 623494301..70e8fc95d 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -2,10 +2,6 @@ labels: platform: linux/amd64 variables: - - &scw-secrets - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID - &setup-hex "mix local.hex --force && mix local.rebar --force" - &on-release when: diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 45cf7f93d..bef503752 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -17,10 +17,6 @@ matrix: OTP_VERSION: 26 variables: - - &scw-secrets - - SCW_ACCESS_KEY - - SCW_SECRET_KEY - - SCW_DEFAULT_ORGANIZATION_ID - &setup-hex "mix local.hex --force && mix local.rebar --force" - &on-release when: