From 5bdc60c457adea4d8cf908fbe7bf027c761a070b Mon Sep 17 00:00:00 2001 From: Gustaw Lippa Date: Mon, 9 Dec 2024 13:11:14 +0100 Subject: [PATCH 1/4] Change variable name Since e1cddd24df85ca0614e4474352e884cde97680bc, test.sh expects the variable to be called pkg_OTP_VERSION. --- .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 ff08f2b2818..afd5a8bbca7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,7 +191,7 @@ jobs: pkg: [ubuntu_xenial] runs-on: ubuntu-22.04 env: - ESL_ERLANG_PKG_VER: "25.3.2" + pkg_OTP_VERSION: "27.0.1" pkg_PLATFORM: ${{matrix.pkg}} steps: - uses: actions/checkout@v3 From b4a631478434ff2ca4124bc47b21cde33847bd68 Mon Sep 17 00:00:00 2001 From: Gustaw Lippa Date: Mon, 9 Dec 2024 14:37:21 +0100 Subject: [PATCH 2/4] Use GH Secrets to sign package --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afd5a8bbca7..1d6d5a18780 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -193,6 +193,9 @@ jobs: env: pkg_OTP_VERSION: "27.0.1" pkg_PLATFORM: ${{matrix.pkg}} + GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASS: ${{ secrets.GPG_PASS }} steps: - uses: actions/checkout@v3 with: From 05a7331fac55d800d1f54d2abd9a96802f11bbe2 Mon Sep 17 00:00:00 2001 From: Gustaw Lippa Date: Mon, 9 Dec 2024 14:45:05 +0100 Subject: [PATCH 3/4] Correct and update Ubuntu version --- .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 1d6d5a18780..73540f95c0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,7 +188,7 @@ jobs: strategy: fail-fast: false matrix: - pkg: [ubuntu_xenial] + pkg: [ubuntu-jammy] runs-on: ubuntu-22.04 env: pkg_OTP_VERSION: "27.0.1" From e6dbd9b43ee679b89ccbdd51786a052b056d0d40 Mon Sep 17 00:00:00 2001 From: Gustaw Lippa Date: Mon, 9 Dec 2024 14:50:02 +0100 Subject: [PATCH 4/4] Update OTP 27.0.1 to OTP 27.1.2 To build packages we use https://hub.docker.com/r/erlangsolutions/erlang and OTP 27.0.1 is not available. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73540f95c0c..15a3b90c10e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: ## the full list of supported (prebuilt) OTP versions for ubuntu-22.04 runners ## can be found here: ## https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt - otp: [ '26.2.5.2', '27.0.1' ] + otp: [ '26.2.5.2', '27.1.2' ] runs-on: ubuntu-22.04 env: PRESET: 'small_tests' @@ -66,7 +66,7 @@ jobs: matrix: preset: [internal_mnesia, pgsql_mnesia, mysql_redis, odbc_mssql_mnesia, ldap_mnesia, elasticsearch_and_cassandra_mnesia] - otp: [ '27.0.1' ] + otp: [ '27.1.2' ] include: - test-spec: "default.spec" - preset: elasticsearch_and_cassandra_mnesia @@ -101,7 +101,7 @@ jobs: fail-fast: false matrix: preset: [pgsql_mnesia, mysql_redis, odbc_mssql_mnesia] - otp: [ '27.0.1' ] + otp: [ '27.1.2' ] test-spec: ["dynamic_domains.spec"] include: - preset: pgsql_mnesia @@ -191,7 +191,7 @@ jobs: pkg: [ubuntu-jammy] runs-on: ubuntu-22.04 env: - pkg_OTP_VERSION: "27.0.1" + pkg_OTP_VERSION: "27.1.2" pkg_PLATFORM: ${{matrix.pkg}} GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}