@cryptotaxi247 / netdata-1 / commits / 86e5f734d

Add workflow dispatch trigger for parent/child with cloud integration smoke tests (#14070)

* Add parent/child with cloud integration smoke tests - Update soon to be deprecated output variables to new format - Add an extra step to trigger agent smoke tests and wait for its completion before reporting workflow's status * Add new line at the end of file

Dimitris Koutsourelis committed Dec 1, 2022 at 17:15 UTC 86e5f734d03c94057167595bf656e2a7618026a1
1 file changed +20 -5
.github/workflows/cloud_regression.yml
+20 -5
@@ -33,12 +33,12 @@ jobs:
33 NETDATA_CUSTOM_PR_NUMBER=""
34 NETDATA_CUSTOM_COMMIT_HASH="${{ github.sha }}"
35 fi
36 - echo "::set-output name=netdata_repo::${NETDATA_CUSTOM_REPO}"
37 - echo "::set-output name=netdata_branch::${NETDATA_CUSTOM_BRANCH}"
38 - echo "::set-output name=netdata_pr_number::${NETDATA_CUSTOM_PR_NUMBER}"
39 - echo "::set-output name=netdata_commit_hash::${NETDATA_CUSTOM_COMMIT_HASH}"
36 + echo "netdata_repo=${NETDATA_CUSTOM_REPO}" >> $GITHUB_OUTPUT
37 + echo "netdata_branch=${NETDATA_CUSTOM_BRANCH}" >> $GITHUB_OUTPUT
38 + echo "netdata_pr_number=${NETDATA_CUSTOM_PR_NUMBER}" >> $GITHUB_OUTPUT
39 + echo "netdata_commit_hash=${NETDATA_CUSTOM_COMMIT_HASH}" >> $GITHUB_OUTPUT
40
41 - - name: Trigger Cloud Regression
41 + - name: Trigger Full Cloud Regression
42 uses: aurelien-baudet/workflow-dispatch@v2
43 with:
44 repo: netdata/test-automation
@@ -52,3 +52,18 @@ jobs:
52 "custom_netdata_image": "true"
53 }'
54 wait-for-completion: false
55 +
56 + - name: Trigger Agent Parent/Child with Cloud Integration tests
57 + uses: aurelien-baudet/workflow-dispatch@v2
58 + with:
59 + repo: netdata/test-automation
60 + ref: refs/heads/master
61 + workflow: agent_smoke_tests.yml
62 + token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
63 + inputs: '{ "netdata_branch": "${{ steps.output-workflow-dispatch-params.outputs.netdata_branch }}",
64 + "netdata_repo": "${{ steps.output-workflow-dispatch-params.outputs.netdata_repo }}",
65 + "netdata_pr_number": "${{ steps.output-workflow-dispatch-params.outputs.netdata_pr_number }}",
66 + "netdata_branch_commit_hash": "${{ steps.output-workflow-dispatch-params.outputs.netdata_commit_hash }}",
67 + "custom_netdata_image": "true"
68 + }'
69 + wait-for-completion: true