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-edge
|
||||||
- emqx
|
- emqx
|
||||||
- emqx-enterprise
|
- emqx-enterprise
|
||||||
runs-on: ubuntu-20.04
|
runs-on: aws-amd64
|
||||||
container: "ghcr.io/iequ1/emqx-schema-validate:0.3.1"
|
container: "ghcr.io/iequ1/emqx-schema-validate:0.3.1"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
|
@ -234,8 +234,8 @@ jobs:
|
||||||
bash start.sh > /dev/null &
|
bash start.sh > /dev/null &
|
||||||
./emqx_schema_validate /tmp/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
./emqx_schema_validate /tmp/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
||||||
|
|
||||||
packaging_allgood:
|
allgood_packaging:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
if: always()
|
if: always()
|
||||||
needs:
|
needs:
|
||||||
- linux
|
- linux
|
||||||
|
|
|
@ -60,3 +60,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
path: apps/emqx/_build/test/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
|
- name: docker compose up
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
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 }}
|
PGSQL_TAG: ${{ matrix.pgsql_tag }}
|
||||||
run: |
|
run: |
|
||||||
docker-compose \
|
docker-compose \
|
||||||
|
@ -257,7 +257,7 @@ jobs:
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
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 }}
|
PGSQL_TAG: ${{ matrix.mysql_tag }}
|
||||||
run: |
|
run: |
|
||||||
docker-compose \
|
docker-compose \
|
||||||
|
@ -354,7 +354,7 @@ jobs:
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
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: |
|
run: |
|
||||||
docker-compose \
|
docker-compose \
|
||||||
-f .ci/docker-compose-file/docker-compose-emqx-cluster.yaml \
|
-f .ci/docker-compose-file/docker-compose-emqx-cluster.yaml \
|
||||||
|
@ -520,7 +520,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: emqx.tar
|
name: emqx.tar
|
||||||
|
|
||||||
integration_tests_allgood:
|
allgood_integration_tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [advanced_feat,pgsql_authn_authz,JWT_authn,mysql_authn_authz,built_in_database_authn_authz]
|
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" \
|
--header "Content-Type: application/json" \
|
||||||
--data "{\"repo_name\":\"$GITHUB_REPOSITORY\",\"repo_token\":\"$GITHUB_TOKEN\",\"payload\":{\"build_num\":$GITHUB_RUN_ID,\"status\":\"done\"}}" || true
|
--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
|
runs-on: ubuntu-20.04
|
||||||
if: always()
|
if: always()
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in New Issue