Compare commits
2 commits
5c1ace64a2
...
6ee32cbdc9
Author | SHA1 | Date | |
---|---|---|---|
6ee32cbdc9 | |||
0b907ca861 |
4 changed files with 11 additions and 11 deletions
|
@ -7,4 +7,4 @@ pipeline:
|
||||||
- mix format --check-formatted
|
- mix format --check-formatted
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- push
|
||||||
|
|
|
@ -11,17 +11,12 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- tag: amd64
|
- tag: amd64
|
||||||
docker_prefix: ""
|
docker_prefix: ""
|
||||||
- tag: arm64
|
|
||||||
docker_prefix: arm64v8/
|
|
||||||
- tag: arm
|
|
||||||
docker_prefix: arm32v7/
|
|
||||||
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
glibc:
|
glibc:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- tag
|
||||||
secrets:
|
secrets:
|
||||||
- SCW_ACCESS_KEY
|
- SCW_ACCESS_KEY
|
||||||
- SCW_SECRET_KEY
|
- SCW_SECRET_KEY
|
||||||
|
@ -50,7 +45,10 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
secrets:
|
||||||
|
- SCW_ACCESS_KEY
|
||||||
|
- SCW_SECRET_KEY
|
||||||
|
- SCW_DEFAULT_ORGANIZATION_ID
|
||||||
group: release
|
group: release
|
||||||
image: ${docker_prefix}elixir:1.13-alpine
|
image: ${docker_prefix}elixir:1.13-alpine
|
||||||
environment:
|
environment:
|
||||||
|
@ -62,6 +60,8 @@ pipeline:
|
||||||
- chmod +x scaleway-cli
|
- chmod +x scaleway-cli
|
||||||
- ./scaleway-cli object config install type=rclone
|
- ./scaleway-cli object config install type=rclone
|
||||||
- echo "import Mix.Config" > config/prod.secret.exs
|
- echo "import Mix.Config" > config/prod.secret.exs
|
||||||
|
- mix local.hex --force
|
||||||
|
- mix local.rebar --force
|
||||||
- mix deps.get --only prod
|
- mix deps.get --only prod
|
||||||
- mkdir release
|
- mkdir release
|
||||||
- export PLEROMA_BUILD_BRANCH=${CI_COMMIT_BRANCH}
|
- export PLEROMA_BUILD_BRANCH=${CI_COMMIT_BRANCH}
|
||||||
|
|
|
@ -10,7 +10,7 @@ pipeline:
|
||||||
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
|
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- push
|
||||||
environment:
|
environment:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
commands:
|
commands:
|
||||||
|
@ -24,7 +24,7 @@ pipeline:
|
||||||
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
|
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- push
|
||||||
environment:
|
environment:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
POSTGRES_DB: pleroma_test
|
POSTGRES_DB: pleroma_test
|
||||||
|
|
2
mix.exs
2
mix.exs
|
@ -4,7 +4,7 @@ defmodule Pleroma.Mixfile do
|
||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :pleroma,
|
app: :pleroma,
|
||||||
version: version("2.4.51"),
|
version: version("2.5.0"),
|
||||||
elixir: "~> 1.9",
|
elixir: "~> 1.9",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
|
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
|
||||||
|
|
Loading…
Reference in a new issue