From 5c1d832c47cfe36cd231a13d0f5f9eefe8d6155c Mon Sep 17 00:00:00 2001 From: Mayel de Borniol Date: Thu, 19 Dec 2024 22:51:47 +0000 Subject: [PATCH] update elixir --- .github/workflows/docs.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- .github/workflows/test.yaml | 2 +- .github/workflows/test.yaml.old | 2 +- .tool-versions.env | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ca30cc8af5..6c9880ecf5 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -8,7 +8,7 @@ jobs: docs: name: Generate docs (upon new release) runs-on: ubuntu-latest - container: hexpm/elixir:1.17.3-erlang-27.2-alpine-3.20.3 + container: hexpm/elixir:1.18.0-erlang-27.2-alpine-3.21.0 # TODO: compute this ^ from .tool-versions.env env: FLAVOUR: classic diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 736258bc4b..99b21739ed 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,9 +20,9 @@ jobs: env: FLAVOUR: ${{ matrix.flavour }} DOCKER_REPO: bonfire - ALPINE_VERSION: "3.20.3" + ALPINE_VERSION: "3.21.0" ERLANG_VERSION: "27.2" - ELIXIR_VERSION: "1.17.3" + ELIXIR_VERSION: "1.18.0" # TODO: read these ^ from .tool-versions.env WITH_AI: "0" WITH_LV_NATIVE: "0" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e8cf8fdabc..66a4fb529a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: matrix: flavour: ['classic'] # 'community', 'cooperation' otp: ['27.2', '25.2.3'] - elixir: ['1.17.3'] # '1.14.5' + elixir: ['1.18.0'] # '1.14.5' test_only: ['backend', 'ui'] # 'federation' - FIXME: federation results in (Ecto.ConstraintError) constraint error when attempting to insert struct: "bonfire_data_access_control_encircle_circle_id_fkey" (foreign_key_constraint) in `fake_user` # ^ test with latest versions + oldest supported (i.e. versions available in debian stable) env: diff --git a/.github/workflows/test.yaml.old b/.github/workflows/test.yaml.old index 49200ae21e..b437c307ba 100644 --- a/.github/workflows/test.yaml.old +++ b/.github/workflows/test.yaml.old @@ -11,7 +11,7 @@ jobs: test_classic_flavour: name: Test classic flavour runs-on: ubuntu-latest - container: hexpm/elixir:1.17.2-erlang-26.2.4-alpine-3.20.3 + container: hexpm/elixir:1.17.2-erlang-26.2.4-alpine-3.21.0 env: FLAVOUR: classic MIX_ENV: test diff --git a/.tool-versions.env b/.tool-versions.env index d5f1c4b51d..d1a49ce9c1 100644 --- a/.tool-versions.env +++ b/.tool-versions.env @@ -6,6 +6,6 @@ # - mix.exs (only if the minimum compatible version changed) # The version of Alpine to use for the final image - should match a version used in the Elixir docker image, which can be checked on Docker Hub: https://hub.docker.com/r/hexpm/elixir/tags?name=alpine -ALPINE_VERSION="3.20.3" -ELIXIR_VERSION="1.17.3" +ALPINE_VERSION="3.21.0" +ELIXIR_VERSION="1.18.0" ERLANG_VERSION="27.2"