mirror of
https://github.com/netdata/netdata.git
synced 2025-03-18 06:43:02 +00:00
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
This commit is contained in:
parent
54d461b179
commit
86e5f734d0
1 changed files with 20 additions and 5 deletions
25
.github/workflows/cloud_regression.yml
vendored
25
.github/workflows/cloud_regression.yml
vendored
|
@ -33,12 +33,12 @@ jobs:
|
|||
NETDATA_CUSTOM_PR_NUMBER=""
|
||||
NETDATA_CUSTOM_COMMIT_HASH="${{ github.sha }}"
|
||||
fi
|
||||
echo "::set-output name=netdata_repo::${NETDATA_CUSTOM_REPO}"
|
||||
echo "::set-output name=netdata_branch::${NETDATA_CUSTOM_BRANCH}"
|
||||
echo "::set-output name=netdata_pr_number::${NETDATA_CUSTOM_PR_NUMBER}"
|
||||
echo "::set-output name=netdata_commit_hash::${NETDATA_CUSTOM_COMMIT_HASH}"
|
||||
echo "netdata_repo=${NETDATA_CUSTOM_REPO}" >> $GITHUB_OUTPUT
|
||||
echo "netdata_branch=${NETDATA_CUSTOM_BRANCH}" >> $GITHUB_OUTPUT
|
||||
echo "netdata_pr_number=${NETDATA_CUSTOM_PR_NUMBER}" >> $GITHUB_OUTPUT
|
||||
echo "netdata_commit_hash=${NETDATA_CUSTOM_COMMIT_HASH}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Trigger Cloud Regression
|
||||
- name: Trigger Full Cloud Regression
|
||||
uses: aurelien-baudet/workflow-dispatch@v2
|
||||
with:
|
||||
repo: netdata/test-automation
|
||||
|
@ -52,3 +52,18 @@ jobs:
|
|||
"custom_netdata_image": "true"
|
||||
}'
|
||||
wait-for-completion: false
|
||||
|
||||
- name: Trigger Agent Parent/Child with Cloud Integration tests
|
||||
uses: aurelien-baudet/workflow-dispatch@v2
|
||||
with:
|
||||
repo: netdata/test-automation
|
||||
ref: refs/heads/master
|
||||
workflow: agent_smoke_tests.yml
|
||||
token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
|
||||
inputs: '{ "netdata_branch": "${{ steps.output-workflow-dispatch-params.outputs.netdata_branch }}",
|
||||
"netdata_repo": "${{ steps.output-workflow-dispatch-params.outputs.netdata_repo }}",
|
||||
"netdata_pr_number": "${{ steps.output-workflow-dispatch-params.outputs.netdata_pr_number }}",
|
||||
"netdata_branch_commit_hash": "${{ steps.output-workflow-dispatch-params.outputs.netdata_commit_hash }}",
|
||||
"custom_netdata_image": "true"
|
||||
}'
|
||||
wait-for-completion: true
|
||||
|
|
Loading…
Reference in a new issue