projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ensure we use the same OTP for all releases
[akkoma]
/
.woodpecker.yml
diff --git
a/.woodpecker.yml
b/.woodpecker.yml
index 1e4f09985ae7464155f3be85a0a4e735dd87d9b0..993fe277b3c507e788d957ec92cb220a68a24212 100644
(file)
--- a/
.woodpecker.yml
+++ b/
.woodpecker.yml
@@
-87,13
+87,12
@@
pipeline:
# Canonical amd64
ubuntu22:
# Canonical amd64
ubuntu22:
- image: hexpm/elixir:1.13.4-erlang-2
5.0.2
-ubuntu-jammy-20220428
+ image: hexpm/elixir:1.13.4-erlang-2
4.3.4.5
-ubuntu-jammy-20220428
<<: *on-release
environment:
MIX_ENV: prod
DEBIAN_FRONTEND: noninteractive
commands:
<<: *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
- 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
- *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:
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
- /bin/sh /entrypoint.sh
- environment:
- SOURCE: akkoma-amd64.zip
- DEST: scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip
debian-bullseye:
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
<<: *on-release
environment:
MIX_ENV: prod
@@
-138,13
+134,15
@@
pipeline:
secrets: *scw-secrets
commands:
- export SOURCE=akkoma-amd64.zip
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:
- /bin/sh /entrypoint.sh
# Canonical amd64-musl
musl:
- image:
elixir:1.13.4-alpine
- <<: *on-
releas
e
+ image:
hexpm/elixir:1.13.4-erlang-24.3.4.5-alpine-3.15.6
+ <<: *on-
stabl
e
environment:
MIX_ENV: prod
commands:
environment:
MIX_ENV: prod
commands:
@@
-174,12
+172,8
@@
pipeline:
- SCW_DEFAULT_ORGANIZATION_ID
environment:
CI: "true"
- SCW_DEFAULT_ORGANIZATION_ID
environment:
CI: "true"
- image:
python:3.10-slim
+ image:
akkoma/docs-builder
commands:
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
- ./scaleway-cli object config install type=rclone
- cd docs
- pip install -r requirements.txt