X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.woodpecker.yml;h=993fe277b3c507e788d957ec92cb220a68a24212;hb=a0dd670e688777e1e99ccf038945cff9a4190d75;hp=1e4f09985ae7464155f3be85a0a4e735dd87d9b0;hpb=38cefaebd90f28dba7af9564ae977db28d4d51ce;p=akkoma diff --git a/.woodpecker.yml b/.woodpecker.yml index 1e4f09985..993fe277b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -87,13 +87,12 @@ pipeline: # Canonical amd64 ubuntu22: - image: hexpm/elixir:1.13.4-erlang-25.0.2-ubuntu-jammy-20220428 + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-ubuntu-jammy-20220428 <<: *on-release environment: MIX_ENV: prod DEBIAN_FRONTEND: noninteractive commands: - - rm config/emoji.txt - apt-get update && apt-get install -y cmake libmagic-dev rclone zip imagemagick libmagic-dev git build-essential g++ wget - *clean - echo "import Config" > config/prod.secret.exs @@ -101,22 +100,19 @@ pipeline: - *tag-build - mix deps.get --only prod - mix release --path release - - zip akkoma-amd64.zip -r release + - zip akkoma-ubuntu-jammy.zip -r release release-ubuntu22: image: akkoma/releaser <<: *on-release secrets: *scw-secrets commands: - - export SOURCE=akkoma-amd64.zip - - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip + - 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 - environment: - SOURCE: akkoma-amd64.zip - DEST: scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip debian-bullseye: - image: elixir:1.13.4 + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-debian-bullseye-20220801 <<: *on-release environment: MIX_ENV: prod @@ -138,13 +134,15 @@ pipeline: secrets: *scw-secrets commands: - export SOURCE=akkoma-amd64.zip - - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-debian-bullseye.zip + - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip + - /bin/sh /entrypoint.sh + - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-debian-stable.zip - /bin/sh /entrypoint.sh # Canonical amd64-musl musl: - image: elixir:1.13.4-alpine - <<: *on-release + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-alpine-3.15.6 + <<: *on-stable environment: MIX_ENV: prod commands: @@ -174,12 +172,8 @@ pipeline: - SCW_DEFAULT_ORGANIZATION_ID environment: CI: "true" - image: python:3.10-slim + image: akkoma/docs-builder commands: - - apt-get update && apt-get install -y rclone wget git zip - - 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 - cd docs - pip install -r requirements.txt