Bump minimum Elixir version to 1.17.
Multiple dependencies require OTP27 and 1.17 is the oldest version supporting it. Also bumps Docker Erlang version to current newest 27.
This commit is contained in:
parent
72d45a9f8b
commit
d6a5dd2b76
6 changed files with 8 additions and 8 deletions
|
|
@ -31,7 +31,7 @@ variables:
|
|||
<<: *docker_variables
|
||||
build_args:
|
||||
- ELIXIR_IMG=docker.io/arm32v7/elixir
|
||||
- ELIXIR_TAG=1.17.3-otp-26-alpine
|
||||
- ELIXIR_TAG=1.17.3-otp-27-alpine
|
||||
- ALPINE_IMG=docker.io/arm32v7/alpine
|
||||
- ALPINE_VER=3.20
|
||||
extra_opts: --custom-platform=linux/arm/v7
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ variables:
|
|||
steps:
|
||||
mix-format:
|
||||
image: &elixir-image
|
||||
docker.io/elixir:1.15-alpine
|
||||
docker.io/elixir:1.17-otp-27-alpine
|
||||
entrypoint: *script_file_entrypoint
|
||||
failure: ignore
|
||||
commands:
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ variables:
|
|||
- 'printf "%s" "$CI_SCRIPT" | base64 -d > /tmp/ci-script.sh && /bin/sh -xe /tmp/ci-script.sh'
|
||||
|
||||
steps:
|
||||
unit-testing-elixir-1.15:
|
||||
image: elixir:1.15-alpine
|
||||
unit-testing-elixir-1.17:
|
||||
image: elixir:1.17-otp-27-alpine
|
||||
entrypoint: *script_file_entrypoint
|
||||
environment:
|
||||
MIX_ENV: test
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# https://hub.docker.com/r/hexpm/elixir/tags
|
||||
ARG ELIXIR_IMG=hexpm/elixir
|
||||
ARG ELIXIR_VER=1.17.3
|
||||
ARG ERLANG_VER=27.3.4.14
|
||||
ARG ERLANG_VER=27.3.4.17
|
||||
ARG ALPINE_VER=3.23.5
|
||||
ARG ELIXIR_TAG=${ELIXIR_VER}-erlang-${ERLANG_VER}-alpine-${ALPINE_VER}
|
||||
ARG ALPINE_IMG=alpine
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
## Required dependencies
|
||||
|
||||
* PostgreSQL >=11.0
|
||||
* Elixir >=1.15.0, <1.20
|
||||
* Erlang OTP >=24.0.0 (supported: <29)
|
||||
* Elixir >=1.17.0, <1.20
|
||||
* Erlang OTP >=27.0.0 (supported: <29)
|
||||
* git
|
||||
* file / libmagic
|
||||
* gcc or clang
|
||||
|
|
|
|||
2
mix.exs
2
mix.exs
|
|
@ -5,7 +5,7 @@ defmodule Pleroma.Mixfile do
|
|||
[
|
||||
app: :pleroma,
|
||||
version: version("2.10.2"),
|
||||
elixir: "~> 1.15",
|
||||
elixir: "~> 1.17",
|
||||
elixirc_paths: elixirc_paths(Mix.env()),
|
||||
compilers: Mix.compilers(),
|
||||
elixirc_options: [warnings_as_errors: warnings_as_errors(), prune_code_paths: false],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue