forked from potsda.mn/mobilizon
Only build on Debian Buster
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a84ec21aba
commit
8549a16ade
|
@ -238,13 +238,13 @@ build-docker-tag:
|
||||||
|
|
||||||
# Packaging app for amd64
|
# Packaging app for amd64
|
||||||
package-app:
|
package-app:
|
||||||
image: mobilizon/buildpack:1.13.4-erlang-24.3.3-${OS}
|
image: mobilizon/buildpack:1.13.4-erlang-24.3.3-debian-buster
|
||||||
stage: package
|
stage: package
|
||||||
variables: &release-variables
|
variables: &release-variables
|
||||||
MIX_ENV: "prod"
|
MIX_ENV: "prod"
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
TZ: Etc/UTC
|
TZ: Etc/UTC
|
||||||
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}_${OS}.tar.gz"
|
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
||||||
script: &release-script
|
script: &release-script
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
|
@ -263,9 +263,6 @@ package-app:
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
paths:
|
paths:
|
||||||
- ${APP_ASSET}
|
- ${APP_ASSET}
|
||||||
parallel:
|
|
||||||
matrix:
|
|
||||||
- OS: ["debian-bullseye", "debian-buster", "ubuntu-focal", "ubuntu-bionic", "fedora-35", "fedora-36", "alpine-3.14.5", "alpine-3.15.3"]
|
|
||||||
|
|
||||||
package-app-dev:
|
package-app-dev:
|
||||||
stage: package
|
stage: package
|
||||||
|
@ -288,9 +285,8 @@ multi-arch-release:
|
||||||
DOCKER_TLS_VERIFY: 1
|
DOCKER_TLS_VERIFY: 1
|
||||||
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
|
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}_${OS}.tar.gz"
|
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
||||||
# For now, arm and arm64 are only build for debian bullseye version
|
OS: debian-buster
|
||||||
OS: debian-bullseye
|
|
||||||
services:
|
services:
|
||||||
- docker:20.10.12-dind
|
- docker:20.10.12-dind
|
||||||
cache: {}
|
cache: {}
|
||||||
|
|
Loading…
Reference in a new issue