Skip to content

Commit

Permalink
feat: add OTP 26.1.2-1 and Elixir 1.15.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Nov 22, 2023
1 parent 9c0709e commit 1b763be
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ RUN mkdir /tools
ARG EMQTT_BENCH_REF

COPY get-emqtt-bench.sh /get-emqtt-bench.sh
RUN /get-emqtt-bench.sh "${EMQTT_BENCH_REF:-0.4.11}"
RUN /get-emqtt-bench.sh "${EMQTT_BENCH_REF:-0.4.17}"

ARG LUX_REF
ENV LUX_REF=${LUX_REF:-lux-2.6}
ENV LUX_REF=${LUX_REF:-lux-2.9.1}

RUN git clone --depth=1 --branch=${LUX_REF} https://github.com/hawk/lux /tools/lux \
&& cd /tools/lux \
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ OTP version from emqx/otp.git:

+ OTP-24.3.4.2-1
+ OTP-25.3.2-2
+ OTP-26.1.2-1

Elixir version from elixir-lang/elixir.git:
NOTE: Only one version is allowed.

+ Elixir-1.14.5
+ Elixir-1.15.7
2 changes: 1 addition & 1 deletion get-emqtt-bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -xeuo pipefail

VSN="${1:-0.4.11}"
VSN="${1:-0.4.17}"

if grep -q -i 'rhel' /etc/os-release; then
DIST='el'
Expand Down
3 changes: 3 additions & 0 deletions get-otp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "relea
#########################

case "${OTP_VERSION}" in
26*)
REBAR3_VERSION="${REBAR3_VERSION:-3.20.0-emqx-1}"
;;
25*)
REBAR3_VERSION="${REBAR3_VERSION:-3.19.0-emqx-9}"
;;
Expand Down

0 comments on commit 1b763be

Please sign in to comment.