From 8f7e64e221bc6a26b150b0a8a7d12a4588552903 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:03:38 +0200 Subject: [PATCH 01/11] bump versions in ci --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6af38345..ba5fdb06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - elixir: ["1.16.2", "1.15.7"] - erlang: ["26.2.2", "25.3.2"] + elixir: ["1.17.0", "1.16.3", "1.15.8"] + erlang: ["27.0", "26.2.5", "25.3.2.12"] steps: - name: Checkout code From 0794b472a6ac5f73ad8d637c89907fa8588a537b Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:03:46 +0200 Subject: [PATCH 02/11] bump elixir version in mix.exs --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 39ef2dbe..ca53c97e 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule Backpex.MixProject do [ app: :backpex, version: @version, - elixir: "~> 1.12", + elixir: "~> 1.15", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), From a845201c93797b8591bffba8c3be7cc82c00c8a7 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:26:06 +0200 Subject: [PATCH 03/11] fix ci matrix --- .github/workflows/ci.yml | 7 +++++-- mix.exs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba5fdb06..d4cc21af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - elixir: ["1.17.0", "1.16.3", "1.15.8"] - erlang: ["27.0", "26.2.5", "25.3.2.12"] + elixir: ["1.17", "1.16"] + erlang: ["27.0", "26.2"] + exclude: + - elixir: "1.16.0" + erlang: "27.0" steps: - name: Checkout code diff --git a/mix.exs b/mix.exs index ca53c97e..64f6d750 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule Backpex.MixProject do [ app: :backpex, version: @version, - elixir: "~> 1.15", + elixir: "~> 1.16", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), From 0e0f61f4d4dceed7a1b14531509c8a3074305e07 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:26:39 +0200 Subject: [PATCH 04/11] loose elixir version in matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4cc21af..abcf6816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: elixir: ["1.17", "1.16"] erlang: ["27.0", "26.2"] exclude: - - elixir: "1.16.0" + - elixir: "1.16" erlang: "27.0" steps: From 45c9aec9d7ebeff73d5fecbef776171d079248fc Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:30:41 +0200 Subject: [PATCH 05/11] bump credo --- mix.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.lock b/mix.lock index fd011112..bebf2609 100644 --- a/mix.lock +++ b/mix.lock @@ -1,7 +1,7 @@ %{ "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"}, "castore": {:hex, :castore, "1.0.6", "ffc42f110ebfdafab0ea159cd43d31365fa0af0ce4a02ecebf1707ae619ee727", [:mix], [], "hexpm", "374c6e7ca752296be3d6780a6d5b922854ffcc74123da90f2f328996b962d33a"}, - "credo": {:hex, :credo, "1.7.6", "b8f14011a5443f2839b04def0b252300842ce7388f3af177157c86da18dfbeea", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "146f347fb9f8cbc5f7e39e3f22f70acbef51d441baa6d10169dd604bfbc55296"}, + "credo": {:hex, :credo, "1.7.7", "771445037228f763f9b2afd612b6aa2fd8e28432a95dbbc60d8e03ce71ba4446", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8bc87496c9aaacdc3f90f01b7b0582467b69b4bd2441fe8aae3109d843cc2f2e"}, "db_connection": {:hex, :db_connection, "2.6.0", "77d835c472b5b67fc4f29556dee74bf511bbafecdcaf98c27d27fa5918152086", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3"}, "decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"}, "earmark_parser": {:hex, :earmark_parser, "1.4.39", "424642f8335b05bb9eb611aa1564c148a8ee35c9c8a8bba6e129d51a3e3c6769", [:mix], [], "hexpm", "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"}, From f2abb53657c955b46b718a6664d8151eb0530d1d Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:34:21 +0200 Subject: [PATCH 06/11] bump base image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a8ac0498..49f33500 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Stage: builder ######################################################################## -FROM hexpm/elixir:1.16.3-erlang-26.2.5-alpine-3.20.0 as builder +FROM hexpm/elixir:1.17.0-erlang-27.0-alpine-3.20.0 as builder ENV MIX_HOME=/opt/mix \ HEX_HOME=/opt/hex \ From aa3bb2eb93d597b9cdeb00cae5d2591923bdff15 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:36:06 +0200 Subject: [PATCH 07/11] bump .tool-versions --- .tool-versions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index dd1dbfca..7a9c1c3e 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -erlang 26.2.2 -elixir 1.16.2-otp-26 +erlang 27.0 +elixir 1.17.0-otp-27 From 3cb7344e9ab25cfefd464e764a7af4bb2b37fc7c Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 13 Jun 2024 08:42:32 +0200 Subject: [PATCH 08/11] bump credo in demo --- demo/mix.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/mix.lock b/demo/mix.lock index 82ebc2a9..1041bb34 100644 --- a/demo/mix.lock +++ b/demo/mix.lock @@ -4,7 +4,7 @@ "castore": {:hex, :castore, "1.0.7", "b651241514e5f6956028147fe6637f7ac13802537e895a724f90bf3e36ddd1dd", [:mix], [], "hexpm", "da7785a4b0d2a021cd1292a60875a784b6caef71e76bf4917bdee1f390455cf5"}, "certifi": {:hex, :certifi, "2.12.0", "2d1cca2ec95f59643862af91f001478c9863c2ac9cb6e2f89780bfd8de987329", [:rebar3], [], "hexpm", "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"}, "circular_buffer": {:hex, :circular_buffer, "0.4.1", "477f370fd8cfe1787b0a1bade6208bbd274b34f1610e41f1180ba756a7679839", [:mix], [], "hexpm", "633ef2e059dde0d7b89bbab13b1da9d04c6685e80e68fbdf41282d4fae746b72"}, - "credo": {:hex, :credo, "1.7.6", "b8f14011a5443f2839b04def0b252300842ce7388f3af177157c86da18dfbeea", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "146f347fb9f8cbc5f7e39e3f22f70acbef51d441baa6d10169dd604bfbc55296"}, + "credo": {:hex, :credo, "1.7.7", "771445037228f763f9b2afd612b6aa2fd8e28432a95dbbc60d8e03ce71ba4446", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8bc87496c9aaacdc3f90f01b7b0582467b69b4bd2441fe8aae3109d843cc2f2e"}, "csv": {:hex, :csv, "3.2.1", "6d401f1ed33acb2627682a9ab6021e96d33ca6c1c6bccc243d8f7e2197d032f5", [:mix], [], "hexpm", "8f55a0524923ae49e97ff2642122a2ce7c61e159e7fe1184670b2ce847aee6c8"}, "db_connection": {:hex, :db_connection, "2.6.0", "77d835c472b5b67fc4f29556dee74bf511bbafecdcaf98c27d27fa5918152086", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3"}, "decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"}, From 2c47e011d9ceb818aef83fab1f37e5cba70f78eb Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Wed, 19 Jun 2024 13:32:17 +0200 Subject: [PATCH 09/11] Update .tool-versions --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 7a9c1c3e..960884cb 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ erlang 27.0 -elixir 1.17.0-otp-27 +elixir 1.17.1-otp-27 From 992c7f1f542b5163e7fce2a5e60f0e36e3bec8b3 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Wed, 19 Jun 2024 13:32:37 +0200 Subject: [PATCH 10/11] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 49f33500..bf8f0157 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Stage: builder ######################################################################## -FROM hexpm/elixir:1.17.0-erlang-27.0-alpine-3.20.0 as builder +FROM hexpm/elixir:1.17.1-erlang-27.0-alpine-3.20.0 as builder ENV MIX_HOME=/opt/mix \ HEX_HOME=/opt/hex \ From 871526ae78ce2f44bdeed35f0a3fb3951a13a4f9 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Wed, 26 Jun 2024 07:22:54 +0200 Subject: [PATCH 11/11] bump Alpine Linux to 3.20.1 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bf8f0157..9999dbca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Stage: builder ######################################################################## -FROM hexpm/elixir:1.17.1-erlang-27.0-alpine-3.20.0 as builder +FROM hexpm/elixir:1.17.1-erlang-27.0-alpine-3.20.1 as builder ENV MIX_HOME=/opt/mix \ HEX_HOME=/opt/hex \ @@ -71,7 +71,7 @@ RUN mix do deps.get, deps.compile, assets.deploy, sentry.package_source_code, re # Stage: runtime ######################################################################## -FROM alpine:3.20.0 as runtime +FROM alpine:3.20.1 as runtime ENV APP_HOME=/opt/app WORKDIR $APP_HOME