diff --git a/.circleci/config.yml b/.circleci/config.yml index af57acf..bb0299d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,12 +7,12 @@ jobs: test: resource_class: medium docker: - - image: hexpm/elixir:1.14.1-erlang-25.3.2-alpine-3.17.3 + - image: hexpm/elixir:1.16.2-erlang-26.2.5-alpine-3.19.1 environment: MIX_ENV: test DB_USER: postgres DATABASE_URL: postgres://postgres@localhost/auctionet_test - - image: postgres:14.7-alpine + - image: postgres:15.5-alpine environment: POSTGRES_USER: postgres POSTGRES_HOST_AUTH_METHOD: trust diff --git a/config/prod.exs b/config/prod.exs index ed0c622..2ba4701 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -27,4 +27,5 @@ config :ex_gridhook, ExGridhook.Repo, url: System.get_env("DATABASE_CONNECTION_POOL_URL") || System.get_env("DATABASE_URL"), pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"), ssl: true, + ssl_opts: [verify: :verify_none], prepare: :unnamed diff --git a/dev.yml b/dev.yml index 2ada506..aaede92 100644 --- a/dev.yml +++ b/dev.yml @@ -2,6 +2,6 @@ docker_services: postgres: - image: "postgres:14.7-alpine" # keep in sync with .circleci/config.yml - version: "14.7" + image: "postgres:15.5-alpine" # keep in sync with .circleci/config.yml + version: "15.5" options: "-e POSTGRES_PASSWORD=dev --publish 5432 -v $DATABASE_ROOT/ex_gridhook/postgres:/var/lib/postgresql/data" diff --git a/elixir_buildpack.config b/elixir_buildpack.config index 9708c63..281504b 100644 --- a/elixir_buildpack.config +++ b/elixir_buildpack.config @@ -1,13 +1,13 @@ # Keep in sync with .circleci/config.yml # https://github.com/erlang/otp/tags -erlang_version=25.1.2 +erlang_version=26.2.5 # https://github.com/elixir-lang/elixir/tags -elixir_version=1.14.1 +elixir_version=1.16.2 # https://hub.docker.com/r/hexpm/elixir/tags: find a version supporting the combination above -alpine_version=3.17.0 +alpine_version=3.19.1 always_build_deps=false config_vars_to_export=(SECRET_KEY_BASE AUTH_KEY) diff --git a/test/ex_gridhook_web/controllers/event_controller_test.exs b/test/ex_gridhook_web/controllers/event_controller_test.exs index 94c9453..0234928 100644 --- a/test/ex_gridhook_web/controllers/event_controller_test.exs +++ b/test/ex_gridhook_web/controllers/event_controller_test.exs @@ -34,7 +34,7 @@ defmodule ExGridhookWeb.EventControllerTest do "sg_message_id" => "sendgrid_internal_message_id", "event" => "processed", "category" => "category", - "associated_records" => '["Item:123", "Item:456"]' + "associated_records" => ~c'["Item:123", "Item:456"]' }, %{ "email" => "john.doe@sendgrid.com",