projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into stable
[akkoma]
/
.woodpecker.yml
diff --git
a/.woodpecker.yml
b/.woodpecker.yml
index fd4ccb72a9f2b18d3fb8807d52c9dd2590795670..49718d630bf34f01d3503f444c2d0e8ca57dbfba 100644
(file)
--- a/
.woodpecker.yml
+++ b/
.woodpecker.yml
@@
-14,6
+14,14
@@
variables:
- stable
- refs/tags/v*
- refs/tags/stable-*
- stable
- refs/tags/v*
- refs/tags/stable-*
+ - &on-stable
+ when:
+ event:
+ - push
+ - tag
+ branch:
+ - stable
+ - refs/tags/stable-*
- &on-point-release
when:
event:
- &on-point-release
when:
event:
@@
-33,7
+41,7
@@
variables:
services:
postgres:
services:
postgres:
- image: postgres:1
3
+ image: postgres:1
5
when:
event:
- pull_request
when:
event:
- pull_request
@@
-45,14
+53,14
@@
services:
pipeline:
lint:
<<: *on-pr-open
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:
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
<<: *on-pr-open
environment:
MIX_ENV: test
@@
-67,7
+75,7
@@
pipeline:
- mix compile
test:
- mix compile
test:
- image: akkoma/ci-base:
latest
+ image: akkoma/ci-base:
1.14
<<: *on-pr-open
environment:
MIX_ENV: test
<<: *on-pr-open
environment:
MIX_ENV: test
@@
-87,7
+95,7
@@
pipeline:
# Canonical amd64
ubuntu22:
# Canonical amd64
ubuntu22:
- image: hexpm/elixir:1.1
3.4-erlang-25.0.2-ubuntu-jammy-20220428
+ image: hexpm/elixir:1.1
4.3-erlang-25.2.2-ubuntu-jammy-20221130
<<: *on-release
environment:
MIX_ENV: prod
<<: *on-release
environment:
MIX_ENV: prod
@@
-110,9
+118,11
@@
pipeline:
- 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 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:
debian-bullseye:
- image:
elixir:1.13.4
+ image:
hexpm/elixir:1.14.3-erlang-25.2.2-debian-bullseye-20230109
<<: *on-release
environment:
MIX_ENV: prod
<<: *on-release
environment:
MIX_ENV: prod
@@
-141,7
+151,7
@@
pipeline:
# Canonical amd64-musl
musl:
# Canonical amd64-musl
musl:
- image:
elixir:1.13.4-alpine
+ image:
hexpm/elixir:1.14.3-erlang-25.2.2-alpine-3.15.6
<<: *on-release
environment:
MIX_ENV: prod
<<: *on-release
environment:
MIX_ENV: prod
@@
-172,8
+182,12
@@
pipeline:
- SCW_DEFAULT_ORGANIZATION_ID
environment:
CI: "true"
- SCW_DEFAULT_ORGANIZATION_ID
environment:
CI: "true"
- image:
akkoma/docs-builder
+ image:
python:3.10-slim
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