Skip to content

Commit

Permalink
chore: rollback to OTP 25.3
Browse files Browse the repository at this point in the history
New version caused breaking changes in 'elixir-ls'. Downgrading for now.

Ref elixir-lsp/elixir-ls#886
  • Loading branch information
arcanemachine committed May 20, 2023
1 parent 5ff6720 commit 1d763c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set dotenv-load

# VARIABLES #
default_cpu_arch := "x86_64"
newest_supported_otp := "26.0"
newest_supported_otp := "25.3"
image_name := "arcanemachine/phoenix-todo-list"
url := 'https://$PHX_HOST/'

Expand Down Expand Up @@ -163,14 +163,14 @@ color_reset := "\\033[39m"
./support/scripts/dotenv-generate {{ args }}

# run a basic loadtest with 'wrk'
@loadtest-wrk url=url:
@loadtest-wrk:
echo "Running a basic load test with 'wrk'..."
URL={{ url }} ./support/scripts/loadtest-wrk
./support/scripts/loadtest-wrk

# run a basic loadtest with 'k6'
@loadtest-k6 url=url:
@loadtest-k6:
echo "Running a basic load test with 'k6'..."
URL={{ url }} ./support/scripts/loadtest-k6 ./support/scripts/loadtest/k6/index.js --vus 10 --duration 30s
./support/scripts/loadtest-k6

# generate an OpenAPI schema [format: json | yaml]
@openapi-schema-generate format='json':
Expand Down
2 changes: 1 addition & 1 deletion support/containers/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - Ex: hexpm/elixir:1.14.4-erlang-25.3.2-debian-bullseye-20230227-slim
#
ARG ELIXIR_VERSION=1.14.4
ARG OTP_VERSION=26.0
ARG OTP_VERSION=25.3
ARG DEBIAN_VERSION=bullseye-20230227-slim

ARG BUILDER_IMAGE="docker.io/hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion support/containers/Dockerfile.fly
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - Ex: hexpm/elixir:1.14.4-erlang-25.3-debian-bullseye-20230227-slim
#
ARG ELIXIR_VERSION=1.14.4
ARG OTP_VERSION=26.0
ARG OTP_VERSION=25.3
ARG DEBIAN_VERSION=bullseye-20230227-slim

ARG BUILDER_IMAGE="docker.io/hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
Expand Down

0 comments on commit 1d763c3

Please sign in to comment.