Skip to content

Commit 219d590

Browse files
committed
add build_starter-integration_test manual trigger logic
1 parent 8319e8a commit 219d590

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/integration_tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,33 @@ jobs:
7171
- id: set_outputs
7272
run: |
7373
if [[ "${{ github.event.inputs.test_pull_request }}" == *"label-quick-packaging" ]]; then
74-
# Triggered by packaging SDK workflow.
74+
# Triggered by build_starter SDK workflow.
7575
echo "::set-output name=trigger::label_trigger"
7676
echo "::set-output name=requested_tests::auto"
7777
echo "::set-output name=github_ref::${{github.sha}}"
7878
echo "::set-output name=pr_number::$(echo ${{ github.event.inputs.test_pull_request }} | cut -d: -f1)"
7979
elif [[ "${{ github.event.inputs.test_pull_request }}" == *"label-full-packaging" ]]; then
80-
# Triggered by packaging SDK workflow.
80+
# Triggered by build_starter SDK workflow.
8181
echo "::set-output name=trigger::label_trigger"
8282
echo "::set-output name=requested_tests::expanded"
8383
echo "::set-output name=github_ref::${{github.sha}}"
8484
echo "::set-output name=pr_number::$(echo ${{ github.event.inputs.test_pull_request }} | cut -d: -f1)"
8585
elif [[ "${{ github.event.inputs.test_pull_request }}" == *"pr-close-packaging" ]]; then
86-
# Triggered by packaging SDK workflow.
86+
# Triggered by build_starter SDK workflow.
8787
echo "::set-output name=trigger::postsubmit_trigger"
8888
echo "::set-output name=requested_tests::auto"
8989
echo "::set-output name=github_ref::${{github.sha}}"
9090
echo "::set-output name=pr_number::$(echo ${{ github.event.inputs.test_pull_request }} | cut -d: -f1)"
9191
elif [[ "${{ github.event.inputs.test_pull_request }}" == "nightly-packaging" ]]; then
92-
# Triggered by packaging SDK workflow.
92+
# Triggered by build_starter SDK workflow.
9393
echo "::set-output name=trigger::scheduled_trigger"
9494
echo "::set-output name=requested_tests::expanded"
9595
echo "::set-output name=github_ref::${{github.sha}}"
96+
elif [[ "${{ github.event.inputs.test_pull_request }}" == "1" ]]; then
97+
# Triggered by build_starter SDK workflow.
98+
echo "::set-output name=trigger::manual_trigger"
99+
echo "::set-output name=requested_tests::auto"
100+
echo "::set-output name=github_ref::${{github.sha}}"
96101
else
97102
# Triggered manually
98103
echo "::set-output name=trigger::manual_trigger"

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
runIntegrationTests:
88
description: 'run integration tests?'
9-
default: '0'
9+
default: '1'
1010
required: true
1111
type: string
1212
create_new_branch:

0 commit comments

Comments
 (0)