Skip to content

Commit

Permalink
Update to OTP26
Browse files Browse the repository at this point in the history
  • Loading branch information
vdegove committed Mar 19, 2024
1 parent f8fa1cd commit 46ecb22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ env:
IMAGE_NAME: ${{ github.repository }}
TEST_TAG: ${{ github.repository }}:test
TEST_EXPECTED_NODE_OUTPUT: "v20.11.1"
TEST_EXPECTED_ELIXIR_OUTPUT: "Elixir 1.16.2 (compiled with Erlang/OTP 25)"
TEST_EXPECTED_ERLANG_OUTPUT: "25.3.2.10"
# In transport-site: elixir -v
TEST_EXPECTED_ELIXIR_OUTPUT: "Elixir 1.16.2 (compiled with Erlang/OTP 26)"
TEST_EXPECTED_ERLANG_OUTPUT: "25.2.3"
jobs:
build-and-push-image:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Scripts and config files for provision and deploy transport and required service
# New release process (GitHub actions + GitHub Container Registry)

To create a new release as a Docker image:
1. Update the code (Dockerfile and Github workflow tests), create a pull request, get your changes merged into master
1. Update the code (Dockerfile and Github workflow tests), create a pull request, get your changes merged into master. No need to test your code locally: you can rely on Github workflow.
2. Create a GitHub release (with tag name == release name), with a changelog on the page https://github.com/etalab/transport-ops/releases
1. Use locally `rake get_image_version` to generate the correct tag / release name
2. Then create a release using this generated name as both the tag and the release title. You can auto-generate the release notes.
Expand Down
2 changes: 1 addition & 1 deletion transport-site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ FROM ghcr.io/etalab/transport-tools:v1.0.7 as transport-tools
# So again, to upgrade this, check out :
#
# https://hub.docker.com/r/hexpm/elixir
FROM hexpm/elixir:1.16.2-erlang-25.3.2.10-ubuntu-focal-20240123
FROM hexpm/elixir:1.16.2-erlang-26.2.3-ubuntu-focal-20240123

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris
Expand Down

0 comments on commit 46ecb22

Please sign in to comment.