From 3928c2fb2a44dd8f3c2dca7abdc8b470b9a6ae98 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 11 Oct 2022 13:57:04 +0200 Subject: [PATCH] Update build ci Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 12 +++++++----- docker/production/Dockerfile | 4 +--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3ac84a96..c7ca7a98f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -189,7 +189,7 @@ pages: .docker: &docker stage: docker - image: docker:20.10.12 + image: docker:20.10.18 variables: DOCKER_TLS_CERTDIR: "/certs" DOCKER_HOST: tcp://docker:2376 @@ -197,13 +197,13 @@ pages: DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client" DOCKER_DRIVER: overlay2 services: - - docker:20.10.12-dind + - docker:20.10.18-dind cache: {} before_script: # Install buildx - - wget https://github.com/docker/buildx/releases/download/v0.8.1/buildx-v0.8.1.linux-amd64 + - wget https://github.com/docker/buildx/releases/download/v0.9.1/buildx-v0.9.1.linux-amd64 - mkdir -p ~/.docker/cli-plugins/ - - mv buildx-v0.8.1.linux-amd64 ~/.docker/cli-plugins/docker-buildx + - mv buildx-v0.9.1.linux-amd64 ~/.docker/cli-plugins/docker-buildx - chmod a+x ~/.docker/cli-plugins/docker-buildx # Create env - docker context create tls-environment @@ -244,7 +244,7 @@ build-docker-tag: # Packaging app for amd64 package-app: - image: mobilizon/buildpack:1.13.4-erlang-24.3.3-debian-buster + image: mobilizon/buildpack:1.14.1-erlang-25.1.1-debian-buster stage: package variables: &release-variables MIX_ENV: "prod" @@ -328,6 +328,7 @@ multi-arch-release: - if: '$CI_PIPELINE_SOURCE == "schedule"' - if: $CI_COMMIT_TAG timeout: 3h + allow_failure: true # Release release-upload: @@ -348,6 +349,7 @@ release-upload: parallel: matrix: - ARCH: ["amd64", "arm", "arm64"] + allow_failure: true release-create: stage: deploy diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 33612106f..7f19b640f 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -5,14 +5,12 @@ RUN apk add --no-cache python3 build-base libwebp-tools bash imagemagick ncurses WORKDIR /build COPY js . -ENV CYPRESS_INSTALL_BINARY 0 - # Network timeout because it's slow when cross-compiling RUN yarn install --network-timeout 100000 \ && yarn run build # Then, build the application binary -FROM elixir:1.13-alpine AS builder +FROM elixir:1.14-alpine AS builder RUN apk add --no-cache build-base git cmake