Merge pull request #11124 from id/0622-amazonlinux-2023-packages
ci: release Amazon Linux 2023 packages
This commit is contained in:
commit
90455c2548
|
@ -25,7 +25,7 @@ jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
# prepare source with any OTP version, no need for a matrix
|
# prepare source with any OTP version, no need for a matrix
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
PROFILE: ${{ steps.get_profile.outputs.PROFILE }}
|
PROFILE: ${{ steps.get_profile.outputs.PROFILE }}
|
||||||
|
@ -120,7 +120,7 @@ jobs:
|
||||||
# NOTE: 'otp' and 'elixir' are to configure emqx-builder image
|
# NOTE: 'otp' and 'elixir' are to configure emqx-builder image
|
||||||
# only support latest otp and elixir, not a matrix
|
# only support latest otp and elixir, not a matrix
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0 # update to latest
|
- 5.1-1 # update to latest
|
||||||
otp:
|
otp:
|
||||||
- 25.3.2-1
|
- 25.3.2-1
|
||||||
elixir:
|
elixir:
|
||||||
|
|
|
@ -21,7 +21,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04
|
||||||
outputs:
|
outputs:
|
||||||
BUILD_PROFILE: ${{ steps.get_profile.outputs.BUILD_PROFILE }}
|
BUILD_PROFILE: ${{ steps.get_profile.outputs.BUILD_PROFILE }}
|
||||||
IS_EXACT_TAG: ${{ steps.get_profile.outputs.IS_EXACT_TAG }}
|
IS_EXACT_TAG: ${{ steps.get_profile.outputs.IS_EXACT_TAG }}
|
||||||
|
@ -187,11 +187,12 @@ jobs:
|
||||||
- el8
|
- el8
|
||||||
- el7
|
- el7
|
||||||
- amzn2
|
- amzn2
|
||||||
|
- amzn2023
|
||||||
build_machine:
|
build_machine:
|
||||||
- aws-arm64
|
- aws-arm64
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
elixir:
|
elixir:
|
||||||
- 1.14.5
|
- 1.14.5
|
||||||
with_elixir:
|
with_elixir:
|
||||||
|
@ -207,7 +208,7 @@ jobs:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: ubuntu22.04
|
os: ubuntu22.04
|
||||||
build_machine: ubuntu-22.04
|
build_machine: ubuntu-22.04
|
||||||
builder: 5.1-0
|
builder: 5.1-1
|
||||||
elixir: 1.14.5
|
elixir: 1.14.5
|
||||||
with_elixir: 'yes'
|
with_elixir: 'yes'
|
||||||
- profile: emqx
|
- profile: emqx
|
||||||
|
@ -215,7 +216,7 @@ jobs:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: amzn2
|
os: amzn2
|
||||||
build_machine: ubuntu-22.04
|
build_machine: ubuntu-22.04
|
||||||
builder: 5.1-0
|
builder: 5.1-1
|
||||||
elixir: 1.14.5
|
elixir: 1.14.5
|
||||||
with_elixir: 'yes'
|
with_elixir: 'yes'
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@ jobs:
|
||||||
- amd64
|
- amd64
|
||||||
os:
|
os:
|
||||||
- debian10
|
- debian10
|
||||||
- amzn2
|
- amzn2023
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
elixir:
|
elixir:
|
||||||
- 1.14.5
|
- 1.14.5
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,10 @@ jobs:
|
||||||
profile:
|
profile:
|
||||||
- ["emqx", "25.3.2-1", "el7", "erlang"]
|
- ["emqx", "25.3.2-1", "el7", "erlang"]
|
||||||
- ["emqx", "25.3.2-1", "ubuntu22.04", "elixir"]
|
- ["emqx", "25.3.2-1", "ubuntu22.04", "elixir"]
|
||||||
- ["emqx-enterprise", "25.3.2-1", "amzn2", "erlang"]
|
- ["emqx-enterprise", "25.3.2-1", "amzn2023", "erlang"]
|
||||||
- ["emqx-enterprise", "25.3.2-1", "ubuntu20.04", "erlang"]
|
- ["emqx-enterprise", "25.3.2-1", "ubuntu20.04", "erlang"]
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
elixir:
|
elixir:
|
||||||
- '1.14.5'
|
- '1.14.5'
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check_deps_integrity:
|
check_deps_integrity:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -5,7 +5,7 @@ on: [pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
code_style_check:
|
code_style_check:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
elixir_apps_check:
|
elixir_apps_check:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
# just use the latest builder
|
# just use the latest builder
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
elixir_deps_check:
|
elixir_deps_check:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
profile:
|
profile:
|
||||||
- emqx
|
- emqx
|
||||||
- emqx-enterprise
|
- emqx-enterprise
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'emqx'
|
if: github.repository_owner == 'emqx'
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu20.04
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu20.04
|
||||||
outputs:
|
outputs:
|
||||||
BENCH_ID: ${{ steps.prepare.outputs.BENCH_ID }}
|
BENCH_ID: ${{ steps.prepare.outputs.BENCH_ID }}
|
||||||
PACKAGE_FILE: ${{ steps.package_file.outputs.PACKAGE_FILE }}
|
PACKAGE_FILE: ${{ steps.package_file.outputs.PACKAGE_FILE }}
|
||||||
|
|
|
@ -93,14 +93,16 @@ jobs:
|
||||||
push "ubuntu/focal" "packages/$PROFILE-$VERSION-ubuntu20.04-arm64.deb"
|
push "ubuntu/focal" "packages/$PROFILE-$VERSION-ubuntu20.04-arm64.deb"
|
||||||
push "ubuntu/jammy" "packages/$PROFILE-$VERSION-ubuntu22.04-amd64.deb"
|
push "ubuntu/jammy" "packages/$PROFILE-$VERSION-ubuntu22.04-amd64.deb"
|
||||||
push "ubuntu/jammy" "packages/$PROFILE-$VERSION-ubuntu22.04-arm64.deb"
|
push "ubuntu/jammy" "packages/$PROFILE-$VERSION-ubuntu22.04-arm64.deb"
|
||||||
push "el/6" "packages/$PROFILE-$VERSION-amzn2-amd64.rpm"
|
|
||||||
push "el/6" "packages/$PROFILE-$VERSION-amzn2-arm64.rpm"
|
|
||||||
push "el/7" "packages/$PROFILE-$VERSION-el7-amd64.rpm"
|
push "el/7" "packages/$PROFILE-$VERSION-el7-amd64.rpm"
|
||||||
push "el/7" "packages/$PROFILE-$VERSION-el7-arm64.rpm"
|
push "el/7" "packages/$PROFILE-$VERSION-el7-arm64.rpm"
|
||||||
push "el/8" "packages/$PROFILE-$VERSION-el8-amd64.rpm"
|
push "el/8" "packages/$PROFILE-$VERSION-el8-amd64.rpm"
|
||||||
push "el/8" "packages/$PROFILE-$VERSION-el8-arm64.rpm"
|
push "el/8" "packages/$PROFILE-$VERSION-el8-arm64.rpm"
|
||||||
push "el/9" "packages/$PROFILE-$VERSION-el9-amd64.rpm"
|
push "el/9" "packages/$PROFILE-$VERSION-el9-amd64.rpm"
|
||||||
push "el/9" "packages/$PROFILE-$VERSION-el9-arm64.rpm"
|
push "el/9" "packages/$PROFILE-$VERSION-el9-arm64.rpm"
|
||||||
|
push "amazon/2" "packages/$PROFILE-$VERSION-amzn2-amd64.rpm"
|
||||||
|
push "amazon/2" "packages/$PROFILE-$VERSION-amzn2-arm64.rpm"
|
||||||
|
push "amazon/2023" "packages/$PROFILE-$VERSION-amzn2023-amd64.rpm"
|
||||||
|
push "amazon/2023" "packages/$PROFILE-$VERSION-amzn2023-arm64.rpm"
|
||||||
|
|
||||||
rerun-apps-version-check:
|
rerun-apps-version-check:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
profile:
|
profile:
|
||||||
- emqx
|
- emqx
|
||||||
- emqx-enterprise
|
- emqx-enterprise
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
steps:
|
steps:
|
||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
otp:
|
otp:
|
||||||
- 25.3.2-1
|
- 25.3.2-1
|
||||||
# no need to use more than 1 version of Elixir, since tests
|
# no need to use more than 1 version of Elixir, since tests
|
||||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
# prepare source with any OTP version, no need for a matrix
|
# prepare source with any OTP version, no need for a matrix
|
||||||
container: ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-debian11
|
container: ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-debian11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
os:
|
os:
|
||||||
- ["debian11", "debian:11-slim"]
|
- ["debian11", "debian:11-slim"]
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
otp:
|
otp:
|
||||||
- 25.3.2-1
|
- 25.3.2-1
|
||||||
elixir:
|
elixir:
|
||||||
|
@ -123,7 +123,7 @@ jobs:
|
||||||
os:
|
os:
|
||||||
- ["debian11", "debian:11-slim"]
|
- ["debian11", "debian:11-slim"]
|
||||||
builder:
|
builder:
|
||||||
- 5.1-0
|
- 5.1-1
|
||||||
otp:
|
otp:
|
||||||
- 25.3.2-1
|
- 25.3.2-1
|
||||||
elixir:
|
elixir:
|
||||||
|
|
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
relup_test_plan:
|
relup_test_plan:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
outputs:
|
outputs:
|
||||||
CUR_EE_VSN: ${{ steps.find-versions.outputs.CUR_EE_VSN }}
|
CUR_EE_VSN: ${{ steps.find-versions.outputs.CUR_EE_VSN }}
|
||||||
OLD_VERSIONS: ${{ steps.find-versions.outputs.OLD_VERSIONS }}
|
OLD_VERSIONS: ${{ steps.find-versions.outputs.OLD_VERSIONS }}
|
||||||
|
|
|
@ -34,12 +34,12 @@ jobs:
|
||||||
MATRIX="$(echo "${APPS}" | jq -c '
|
MATRIX="$(echo "${APPS}" | jq -c '
|
||||||
[
|
[
|
||||||
(.[] | select(.profile == "emqx") | . + {
|
(.[] | select(.profile == "emqx") | . + {
|
||||||
builder: "5.1-0",
|
builder: "5.1-1",
|
||||||
otp: "25.3.2-1",
|
otp: "25.3.2-1",
|
||||||
elixir: "1.14.5"
|
elixir: "1.14.5"
|
||||||
}),
|
}),
|
||||||
(.[] | select(.profile == "emqx-enterprise") | . + {
|
(.[] | select(.profile == "emqx-enterprise") | . + {
|
||||||
builder: "5.1-0",
|
builder: "5.1-1",
|
||||||
otp: ["25.3.2-1"][],
|
otp: ["25.3.2-1"][],
|
||||||
elixir: "1.14.5"
|
elixir: "1.14.5"
|
||||||
})
|
})
|
||||||
|
@ -286,7 +286,7 @@ jobs:
|
||||||
- ct
|
- ct
|
||||||
- ct_docker
|
- ct_docker
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.1-0:1.14.5-25.3.2-1-ubuntu22.04"
|
container: "ghcr.io/emqx/emqx-builder/5.1-1:1.14.5-25.3.2-1-ubuntu22.04"
|
||||||
steps:
|
steps:
|
||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Release packages for Amazon Linux 2023
|
Loading…
Reference in New Issue