This commit is contained in:
FloatingGhost 2022-06-11 19:37:24 +01:00
parent 8cc104648a
commit 6aa81ad716
3 changed files with 10 additions and 4 deletions

View file

@ -7,4 +7,4 @@ pipeline:
- mix format --check-formatted - mix format --check-formatted
when: when:
event: event:
- push - tag

View file

@ -16,7 +16,7 @@ pipeline:
glibc: glibc:
when: when:
event: event:
- tag - push
secrets: secrets:
- SCW_ACCESS_KEY - SCW_ACCESS_KEY
- SCW_SECRET_KEY - SCW_SECRET_KEY
@ -44,7 +44,7 @@ pipeline:
musl: musl:
when: when:
event: event:
- tag - push
secrets: secrets:
- SCW_ACCESS_KEY - SCW_ACCESS_KEY
- SCW_SECRET_KEY - SCW_SECRET_KEY
@ -58,6 +58,12 @@ pipeline:
- rm -rf release || true - rm -rf release || true
- rm -rf _build || true - rm -rf _build || true
- rm -rf /root/.mix - rm -rf /root/.mix
- rm scaleway-cli || true
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
- mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
- chmod +x scaleway-cli
- ./scaleway-cli object config install type=rclone
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
- mix deps.clean --all - mix deps.clean --all

View file

@ -10,7 +10,7 @@ pipeline:
image: pleromaforkci/ci-base:${ELIXIR_VERSION} image: pleromaforkci/ci-base:${ELIXIR_VERSION}
when: when:
event: event:
- push - tag
environment: environment:
MIX_ENV: test MIX_ENV: test
commands: commands: