ci: add 'allgood' summary jobs to a few builds
* build_slim_packages * run_emqx_app_tests * run_jmeter_tests * run_test_cases
This commit is contained in:
parent
0ad463ac84
commit
89d242c3a3
|
@ -220,7 +220,7 @@ jobs:
|
|||
- emqx-edge
|
||||
- emqx
|
||||
- emqx-enterprise
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: aws-amd64
|
||||
container: "ghcr.io/iequ1/emqx-schema-validate:0.3.1"
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
|
@ -234,8 +234,8 @@ jobs:
|
|||
bash start.sh > /dev/null &
|
||||
./emqx_schema_validate /tmp/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
||||
|
||||
packaging_allgood:
|
||||
runs-on: ubuntu-20.04
|
||||
allgood_packaging:
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
needs:
|
||||
- linux
|
||||
|
|
|
@ -60,3 +60,16 @@ jobs:
|
|||
with:
|
||||
name: logs
|
||||
path: apps/emqx/_build/test/logs
|
||||
|
||||
allgood_emqx_app_tests:
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
needs:
|
||||
- run_emqx_app_tests
|
||||
steps:
|
||||
- name: Check if all emqx app tests succeeded
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
#allowed-failures:
|
||||
#allowed-skips:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
|
|
|
@ -156,7 +156,7 @@ jobs:
|
|||
- name: docker compose up
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build.outputs.version }}
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build_emqx_for_jmeter_tests.outputs.version }}
|
||||
PGSQL_TAG: ${{ matrix.pgsql_tag }}
|
||||
run: |
|
||||
docker-compose \
|
||||
|
@ -257,7 +257,7 @@ jobs:
|
|||
- name: docker compose up
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build.outputs.version }}
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build_emqx_for_jmeter_tests.outputs.version }}
|
||||
PGSQL_TAG: ${{ matrix.mysql_tag }}
|
||||
run: |
|
||||
docker-compose \
|
||||
|
@ -354,7 +354,7 @@ jobs:
|
|||
- name: docker compose up
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build.outputs.version }}
|
||||
_EMQX_DOCKER_IMAGE_TAG: emqx/emqx:${{ needs.build_emqx_for_jmeter_tests.outputs.version }}
|
||||
run: |
|
||||
docker-compose \
|
||||
-f .ci/docker-compose-file/docker-compose-emqx-cluster.yaml \
|
||||
|
@ -520,7 +520,7 @@ jobs:
|
|||
with:
|
||||
name: emqx.tar
|
||||
|
||||
integration_tests_allgood:
|
||||
allgood_integration_tests:
|
||||
runs-on: ubuntu-20.04
|
||||
if: always()
|
||||
needs: [advanced_feat,pgsql_authn_authz,JWT_authn,mysql_authn_authz,built_in_database_authn_authz]
|
||||
|
|
|
@ -227,7 +227,7 @@ jobs:
|
|||
--header "Content-Type: application/json" \
|
||||
--data "{\"repo_name\":\"$GITHUB_REPOSITORY\",\"repo_token\":\"$GITHUB_TOKEN\",\"payload\":{\"build_num\":$GITHUB_RUN_ID,\"status\":\"done\"}}" || true
|
||||
|
||||
functional_tests_allgood:
|
||||
allgood_functional_tests:
|
||||
runs-on: ubuntu-20.04
|
||||
if: always()
|
||||
needs:
|
||||
|
|
Loading…
Reference in New Issue