ci: more fixes
This commit is contained in:
parent
de7838357f
commit
38809ffd4b
|
@ -154,6 +154,7 @@ jobs:
|
||||||
uses: ./.github/workflows/run_docker_tests.yaml
|
uses: ./.github/workflows/run_docker_tests.yaml
|
||||||
with:
|
with:
|
||||||
version-emqx: ${{ needs.sanity-checks.outputs.version-emqx }}
|
version-emqx: ${{ needs.sanity-checks.outputs.version-emqx }}
|
||||||
|
version-emqx-enterprise: ${{ needs.sanity-checks.outputs.version-emqx-enterprise }}
|
||||||
|
|
||||||
run_helm_tests:
|
run_helm_tests:
|
||||||
needs:
|
needs:
|
||||||
|
@ -162,3 +163,4 @@ jobs:
|
||||||
uses: ./.github/workflows/run_helm_tests.yaml
|
uses: ./.github/workflows/run_helm_tests.yaml
|
||||||
with:
|
with:
|
||||||
version-emqx: ${{ needs.sanity-checks.outputs.version-emqx }}
|
version-emqx: ${{ needs.sanity-checks.outputs.version-emqx }}
|
||||||
|
version-emqx-enterprise: ${{ needs.sanity-checks.outputs.version-emqx-enterprise }}
|
||||||
|
|
|
@ -10,6 +10,9 @@ on:
|
||||||
version-emqx:
|
version-emqx:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
version-emqx-enterprise:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
# on:
|
# on:
|
||||||
# push:
|
# push:
|
||||||
|
@ -21,12 +24,8 @@ on:
|
||||||
# pull_request:
|
# pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
basic-tests:
|
||||||
runs-on: ${{ github.repository_owner == 'emqx' && 'aws-amd64' || 'ubuntu-22.04' }}
|
runs-on: ${{ github.repository_owner == 'emqx' && 'aws-amd64' || 'ubuntu-22.04' }}
|
||||||
env:
|
|
||||||
EMQX_NAME: ${{ matrix.profile[0] }}
|
|
||||||
PKG_VSN: ${{ matrix.profile[0] == 'emqx-enterprise' && inputs.version-emqx-enterprise || inputs.version-emqx }}
|
|
||||||
EMQX_IMAGE_OLD_VERSION_TAG: emqx/${{ matrix.profile[0] }}:${{ matrix.profile[1] }}
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -36,8 +35,12 @@ jobs:
|
||||||
- ["emqx-elixir", "5.0.16"]
|
- ["emqx-elixir", "5.0.16"]
|
||||||
- ["emqx-enterprise", "5.0.1"]
|
- ["emqx-enterprise", "5.0.1"]
|
||||||
|
|
||||||
|
env:
|
||||||
|
EMQX_NAME: ${{ matrix.profile[0] }}
|
||||||
|
PKG_VSN: ${{ matrix.profile[0] == 'emqx-enterprise' && inputs.version-emqx-enterprise || inputs.version-emqx }}
|
||||||
|
EMQX_IMAGE_OLD_VERSION_TAG: emqx/${{ matrix.profile[0] }}:${{ matrix.profile[1] }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: AutoModality/action-clean@v1
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -10,6 +10,9 @@ on:
|
||||||
version-emqx:
|
version-emqx:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
version-emqx-enterprise:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
# on:
|
# on:
|
||||||
# push:
|
# push:
|
||||||
|
|
Loading…
Reference in New Issue