mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2025-01-25 07:05:09 +00:00
Merge branch 'develop' into stable
This commit is contained in:
commit
4e0d35f209
5 changed files with 24 additions and 28 deletions
|
@ -6,9 +6,12 @@ depends_on:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &scw-secrets
|
- &scw-secrets
|
||||||
- SCW_ACCESS_KEY
|
SCW_ACCESS_KEY:
|
||||||
- SCW_SECRET_KEY
|
from_secret: SCW_ACCESS_KEY
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
SCW_SECRET_KEY:
|
||||||
|
from_secret: SCW_SECRET_KEY
|
||||||
|
SCW_DEFAULT_ORGANIZATION_ID:
|
||||||
|
from_secret: SCW_DEFAULT_ORGANIZATION_ID
|
||||||
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
||||||
- &on-release
|
- &on-release
|
||||||
when:
|
when:
|
||||||
|
@ -56,7 +59,7 @@ steps:
|
||||||
release-debian-bookworm:
|
release-debian-bookworm:
|
||||||
image: akkoma/releaser
|
image: akkoma/releaser
|
||||||
<<: *on-release
|
<<: *on-release
|
||||||
secrets: *scw-secrets
|
environment: *scw-secrets
|
||||||
commands:
|
commands:
|
||||||
- export SOURCE=akkoma-amd64.zip
|
- export SOURCE=akkoma-amd64.zip
|
||||||
# AMD64
|
# AMD64
|
||||||
|
@ -86,7 +89,7 @@ steps:
|
||||||
release-debian-bullseye:
|
release-debian-bullseye:
|
||||||
image: akkoma/releaser
|
image: akkoma/releaser
|
||||||
<<: *on-release
|
<<: *on-release
|
||||||
secrets: *scw-secrets
|
environment: *scw-secrets
|
||||||
commands:
|
commands:
|
||||||
- export SOURCE=akkoma-amd64-debian-bullseye.zip
|
- export SOURCE=akkoma-amd64-debian-bullseye.zip
|
||||||
# AMD64
|
# AMD64
|
||||||
|
@ -112,7 +115,7 @@ steps:
|
||||||
release-musl:
|
release-musl:
|
||||||
image: akkoma/releaser
|
image: akkoma/releaser
|
||||||
<<: *on-stable
|
<<: *on-stable
|
||||||
secrets: *scw-secrets
|
environment: *scw-secrets
|
||||||
commands:
|
commands:
|
||||||
- export SOURCE=akkoma-amd64-musl.zip
|
- export SOURCE=akkoma-amd64-musl.zip
|
||||||
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64-musl.zip
|
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64-musl.zip
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
labels:
|
labels:
|
||||||
platform: linux/aarch64
|
platform: linux/arm64
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &scw-secrets
|
- &scw-secrets
|
||||||
- SCW_ACCESS_KEY
|
SCW_ACCESS_KEY:
|
||||||
- SCW_SECRET_KEY
|
from_secret: SCW_ACCESS_KEY
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
SCW_SECRET_KEY:
|
||||||
|
from_secret: SCW_SECRET_KEY
|
||||||
|
SCW_DEFAULT_ORGANIZATION_ID:
|
||||||
|
from_secret: SCW_DEFAULT_ORGANIZATION_ID
|
||||||
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
||||||
- &on-release
|
- &on-release
|
||||||
when:
|
when:
|
||||||
|
@ -56,7 +59,7 @@ steps:
|
||||||
release-debian-bookworm:
|
release-debian-bookworm:
|
||||||
image: akkoma/releaser:arm64
|
image: akkoma/releaser:arm64
|
||||||
<<: *on-release
|
<<: *on-release
|
||||||
secrets: *scw-secrets
|
environment: *scw-secrets
|
||||||
commands:
|
commands:
|
||||||
- export SOURCE=akkoma-arm64.zip
|
- export SOURCE=akkoma-arm64.zip
|
||||||
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-ubuntu-jammy.zip
|
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-ubuntu-jammy.zip
|
||||||
|
@ -83,7 +86,7 @@ steps:
|
||||||
release-musl:
|
release-musl:
|
||||||
image: akkoma/releaser:arm64
|
image: akkoma/releaser:arm64
|
||||||
<<: *on-stable
|
<<: *on-stable
|
||||||
secrets: *scw-secrets
|
environment: *scw-secrets
|
||||||
commands:
|
commands:
|
||||||
- export SOURCE=akkoma-arm64-musl.zip
|
- export SOURCE=akkoma-arm64-musl.zip
|
||||||
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-musl.zip
|
- export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-arm64-musl.zip
|
||||||
|
|
|
@ -6,10 +6,6 @@ depends_on:
|
||||||
- build-amd64
|
- build-amd64
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &scw-secrets
|
|
||||||
- SCW_ACCESS_KEY
|
|
||||||
- SCW_SECRET_KEY
|
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
|
||||||
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
||||||
- &on-release
|
- &on-release
|
||||||
when:
|
when:
|
||||||
|
@ -49,12 +45,14 @@ variables:
|
||||||
steps:
|
steps:
|
||||||
docs:
|
docs:
|
||||||
<<: *on-point-release
|
<<: *on-point-release
|
||||||
secrets:
|
|
||||||
- SCW_ACCESS_KEY
|
|
||||||
- SCW_SECRET_KEY
|
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
|
||||||
environment:
|
environment:
|
||||||
CI: "true"
|
CI: "true"
|
||||||
|
SCW_ACCESS_KEY:
|
||||||
|
from_secret: SCW_ACCESS_KEY
|
||||||
|
SCW_SECRET_KEY:
|
||||||
|
from_secret: SCW_SECRET_KEY
|
||||||
|
SCW_DEFAULT_ORGANIZATION_ID:
|
||||||
|
from_secret: SCW_DEFAULT_ORGANIZATION_ID
|
||||||
image: python:3.10-slim
|
image: python:3.10-slim
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y rclone wget git zip
|
- apt-get update && apt-get install -y rclone wget git zip
|
||||||
|
|
|
@ -2,10 +2,6 @@ labels:
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &scw-secrets
|
|
||||||
- SCW_ACCESS_KEY
|
|
||||||
- SCW_SECRET_KEY
|
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
|
||||||
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
||||||
- &on-release
|
- &on-release
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -17,10 +17,6 @@ matrix:
|
||||||
OTP_VERSION: 26
|
OTP_VERSION: 26
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &scw-secrets
|
|
||||||
- SCW_ACCESS_KEY
|
|
||||||
- SCW_SECRET_KEY
|
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
|
||||||
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
- &setup-hex "mix local.hex --force && mix local.rebar --force"
|
||||||
- &on-release
|
- &on-release
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Add table
Reference in a new issue