Skip to content

Commit d9850be

Browse files
committed
Bump Erlang OTP to latest 24 version in OCI
We should have a GitHub Action for this (dependabot doesn't support it), but this is still the simplest thing for now. It takes just a few minutes, happens every few months, so we would be saving at most 1h per year, which doesn't seem worth the effort. cc @pjk25 Signed-off-by: Gerhard Lazu <[email protected]> (cherry picked from commit e1486f3) (cherry picked from commit 62b1d4b)
1 parent e03f3a4 commit d9850be

File tree

2 files changed

+31
-28
lines changed

2 files changed

+31
-28
lines changed

.github/workflows/oci.yaml

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,36 @@ jobs:
3030
build-publish-dev:
3131
runs-on: ubuntu-latest
3232
strategy:
33-
matrix:
34-
# Build image for every supported Erlang major version.
35-
# Source of truth for OTP versions (min & max): https://www.rabbitmq.com/which-erlang.html
36-
otp:
37-
- '23.2'
38-
# Which is the latest OTP release for this major? 1/2
39-
# https://github.com/erlang/otp/tags
40-
- '24.0.3'
41-
include:
42-
- otp: '23.2'
43-
# make -C packaging/docker-image find-otp-sha256 OTP_VERSION_MATCH=23.2
44-
otp_sha256: 79f2233a960cc427607d52a7b7e9e5b08afba96a4d87ced4efb64e902b44160c
45-
# Which is the min supported Elixir?
46-
# https://github.com/rabbitmq/rabbitmq-server/blob/master/deps/rabbitmq_cli/mix.exs#L14
47-
elixir: '1.10.4'
48-
image_tag_suffix: '-otp-min'
49-
# Which is the latest OTP release for this major? 2/2
50-
# https://github.com/erlang/otp/tags
51-
- otp: '24.0.3'
52-
# make -C packaging/docker-image find-otp-sha256
53-
otp_sha256: f46bdc3146ac0b54e0d20faa09129a78f4d880d85890acda557c1094662a1a42
54-
# Which is the max supported Elixir?
55-
# https://github.com/rabbitmq/rabbitmq-server/blob/master/deps/rabbitmq_cli/mix.exs#L14
56-
# Which is the latest Elixir release?
57-
# https://github.com/elixir-lang/elixir/tags
58-
elixir: '1.12.2'
59-
image_tag_suffix: '-otp-max'
33+
fail-fast: false
34+
matrix:
35+
# Build image for every supported Erlang major version.
36+
# Source of truth for OTP versions (min & max): https://www.rabbitmq.com/which-erlang.html
37+
otp:
38+
- '23.2'
39+
# 1/3: Which is the latest OTP release for this major?
40+
# https://github.com/erlang/otp/tags
41+
- '24.0.5'
42+
include:
43+
- otp: '23.2'
44+
# make -C packaging/docker-image find-otp-sha256 OTP_VERSION_MATCH=23.2
45+
otp_sha256: 79f2233a960cc427607d52a7b7e9e5b08afba96a4d87ced4efb64e902b44160c
46+
# Which is the min supported Elixir?
47+
# https://github.com/rabbitmq/rabbitmq-server/blob/master/deps/rabbitmq_cli/mix.exs#L14
48+
elixir: '1.10.4'
49+
image_tag_suffix: '-otp-min'
50+
# 2/3: Which is the latest OTP release for this major?
51+
# https://github.com/erlang/otp/tags
52+
- otp: '24.0.5'
53+
# make -C packaging/docker-image find-otp-sha256
54+
otp_sha256: dd189cf94bf86c610a66f5d9f1a49b8d95a7ce1a7534d216e97e8fade271e624
55+
# 3/3: REMEMBER to update OTP version in rabbitmq_peer_discovery_aws workflow
56+
#
57+
# Which is the max supported Elixir?
58+
# https://github.com/rabbitmq/rabbitmq-server/blob/master/deps/rabbitmq_cli/mix.exs#L14
59+
# Which is the latest Elixir release?
60+
# https://github.com/elixir-lang/elixir/tags
61+
elixir: '1.12.2'
62+
image_tag_suffix: '-otp-max'
6063
env:
6164
IMAGE_TAG_1: ${{ github.sha }}${{ matrix.image_tag_suffix }}
6265
steps:

.github/workflows/rabbitmq_peer_discovery_aws.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: lewagon/[email protected]
2121
with:
2222
ref: ${{ github.ref }}
23-
check-name: build-publish-dev (24.0.3)
23+
check-name: build-publish-dev (24.0.5)
2424
repo-token: ${{ secrets.GITHUB_TOKEN }}
2525
wait-interval: 30 # seconds
2626
- name: CONFIGURE BAZEL

0 commit comments

Comments
 (0)