- stable
- refs/tags/v*
- refs/tags/stable-*
+ - &on-stable
+ when:
+ event:
+ - push
+ - tag
+ branch:
+ - stable
+ - refs/tags/stable-*
- &on-point-release
when:
event:
pipeline:
lint:
<<: *on-pr-open
- image: akkoma/ci-base:latest
+ image: akkoma/ci-base:1.14
commands:
- mix local.hex --force
- mix local.rebar --force
- mix format --check-formatted
build:
- image: akkoma/ci-base:latest
+ image: akkoma/ci-base:1.14
<<: *on-pr-open
environment:
MIX_ENV: test
- mix compile
test:
- image: akkoma/ci-base:latest
+ image: akkoma/ci-base:1.14
<<: *on-pr-open
environment:
MIX_ENV: test
# Canonical amd64
ubuntu22:
- image: hexpm/elixir:1.13.4-erlang-25.0.2-ubuntu-jammy-20220428
+ image: hexpm/elixir:1.14.2-erlang-25.1.2-ubuntu-jammy-20220428
<<: *on-release
environment:
MIX_ENV: prod
- export SOURCE=akkoma-ubuntu-jammy.zip
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-ubuntu-jammy.zip
- /bin/sh /entrypoint.sh
+ - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64-ubuntu-jammy.zip
+ - /bin/sh /entrypoint.sh
debian-bullseye:
- image: elixir:1.13.4
+ image: hexpm/elixir:1.14.2-erlang-25.1.2-debian-bullseye-20221004
<<: *on-release
environment:
MIX_ENV: prod
# Canonical amd64-musl
musl:
- image: elixir:1.13.4-alpine
- <<: *on-release
+ image: hexpm/elixir:1.14.2-erlang-25.1.2-alpine-3.16.2
+ <<: *on-stable
environment:
MIX_ENV: prod
commands:
release-musl:
image: akkoma/releaser
- <<: *on-release
+ <<: *on-stable
secrets: *scw-secrets
commands:
- export SOURCE=akkoma-amd64-musl.zip