Merge branch 'ci/elixir-1.16' into 'develop'

Ci/elixir 1.16

See merge request pleroma/pleroma!4162
This commit is contained in:
feld 2024-06-28 13:20:46 +00:00
commit 394cb1e0f5
4 changed files with 13 additions and 4 deletions

View file

@ -78,12 +78,12 @@ build-1.13.4-otp-25:
script:
- mix compile --force
build-1.15.8-otp-26:
build-1.16.3-otp-26:
extends:
- .build_changes_policy
- .using-ci-base
stage: build
image: git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.15.8-otp-26
image: git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.16.3-otp-26
script:
- mix compile --force
@ -141,12 +141,12 @@ unit-testing-1.13.4-otp-25:
coverage_format: cobertura
path: coverage.xml
unit-testing-1.15.8-otp-26:
unit-testing-1.16.3-otp-26:
extends:
- .build_changes_policy
- .using-ci-base
stage: test
image: git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.15.8-otp-26
image: git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.16.3-otp-26
cache: *testing_cache_policy
services: *testing_services
script: *testing_script

View file

View file

@ -0,0 +1,8 @@
FROM elixir:1.16.3-otp-26
# Single RUN statement, otherwise intermediate images are created
# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
RUN apt-get update &&\
apt-get install -y libmagic-dev cmake libimage-exiftool-perl ffmpeg &&\
mix local.hex --force &&\
mix local.rebar --force

View file

@ -0,0 +1 @@
docker buildx build --platform linux/amd64,linux/arm64 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.16.3-otp-26 --push .