|
39 | 39 | required: false
|
40 | 40 | description: "branch for k8s manifests to run the tests on"
|
41 | 41 | type: string
|
42 |
| - default: "v3.4" |
| 42 | + default: "v3.3.2" |
43 | 43 | scripted-inputs-os-list:
|
44 | 44 | required: false
|
45 | 45 | description: "list of OS used for scripted input tests"
|
@@ -129,6 +129,7 @@ jobs:
|
129 | 129 | execute-scripted_inputs-labeled: ${{ steps.configure-tests-on-labels.outputs.execute_scripted_inputs_labeled }}
|
130 | 130 | execute-requirement-labeled: ${{ steps.configure-tests-on-labels.outputs.execute_requirement_test_labeled }}
|
131 | 131 | execute-upgrade-labeled: ${{ steps.configure-tests-on-labels.outputs.execute_upgrade_test_labeled }}
|
| 132 | + exit-first: ${{ steps.configure-tests-on-labels.outputs.exit-first }} |
132 | 133 | s3_bucket_k8s: ${{ steps.k8s-environment.outputs.s3_bucket }}
|
133 | 134 | argo_server_domain_k8s: ${{ steps.k8s-environment.outputs.argo_server_domain }}
|
134 | 135 | argo_token_secret_id_k8s: ${{ steps.k8s-environment.outputs.argo_token_secret_id }}
|
@@ -225,6 +226,13 @@ jobs:
|
225 | 226 | echo "$test_type""_labeled=${EXECUTE_LABELED["$test_type"]}" >> "$GITHUB_OUTPUT"
|
226 | 227 | echo "$test_type""_labeled: ${EXECUTE_LABELED["$test_type"]}"
|
227 | 228 | done
|
| 229 | + # exit first fail if label exit-first is present |
| 230 | + EXIT_FIRST="" |
| 231 | + if ${{ contains(github.event.pull_request.labels.*.name, 'exit-first') }}; then |
| 232 | + EXIT_FIRST="-x" |
| 233 | + fi |
| 234 | + echo "exit-first=${EXIT_FIRST}" >> "$GITHUB_OUTPUT" |
| 235 | + echo "exit-first: ${EXIT_FIRST}" |
228 | 236 |
|
229 | 237 | validate-pr-title:
|
230 | 238 | name: Validate PR title
|
@@ -1107,7 +1115,7 @@ jobs:
|
1107 | 1115 | with:
|
1108 | 1116 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
1109 | 1117 | test-type: ${{ env.TEST_TYPE }}
|
1110 |
| - test-args: "" |
| 1118 | + test-args: ${{ needs.setup-workflow.outputs.exit-first }} |
1111 | 1119 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
1112 | 1120 | labels: ${{ needs.setup.outputs.labels }}
|
1113 | 1121 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -1376,7 +1384,7 @@ jobs:
|
1376 | 1384 | with:
|
1377 | 1385 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
1378 | 1386 | test-type: ${{ env.TEST_TYPE }}
|
1379 |
| - test-args: "" |
| 1387 | + test-args: ${{ needs.setup-workflow.outputs.exit-first }} |
1380 | 1388 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
1381 | 1389 | labels: ${{ needs.setup.outputs.labels }}
|
1382 | 1390 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -1645,7 +1653,7 @@ jobs:
|
1645 | 1653 | with:
|
1646 | 1654 | splunk: ${{ matrix.splunk.version }}
|
1647 | 1655 | test-type: ${{ env.TEST_TYPE }}
|
1648 |
| - test-args: "" |
| 1656 | + test-args: ${{ needs.setup-workflow.outputs.exit-first }} |
1649 | 1657 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
1650 | 1658 | labels: ${{ needs.setup.outputs.labels }}
|
1651 | 1659 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -1849,7 +1857,7 @@ jobs:
|
1849 | 1857 | ARGO_NAMESPACE: ${{ needs.setup.outputs.argo-namespace }}
|
1850 | 1858 | SPLUNK_VERSION_BASE: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
1851 | 1859 | TEST_TYPE: "ui"
|
1852 |
| - TEST_ARGS: "--browser ${{ matrix.browser }}" |
| 1860 | + TEST_ARGS: "--browser ${{ matrix.browser }} ${{ needs.setup-workflow.outputs.exit-first }}" |
1853 | 1861 | TEST_BROWSER: ${{ matrix.browser }}
|
1854 | 1862 | permissions:
|
1855 | 1863 | actions: read
|
@@ -1916,7 +1924,7 @@ jobs:
|
1916 | 1924 | with:
|
1917 | 1925 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
1918 | 1926 | test-type: ${{ env.TEST_TYPE }}
|
1919 |
| - test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} |
| 1927 | + test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} ${{ needs.setup-workflow.outputs.exit-first }} |
1920 | 1928 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
1921 | 1929 | labels: ${{ needs.setup.outputs.labels }}
|
1922 | 1930 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -2193,7 +2201,7 @@ jobs:
|
2193 | 2201 | with:
|
2194 | 2202 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
2195 | 2203 | test-type: ${{ env.TEST_TYPE }}
|
2196 |
| - test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} |
| 2204 | + test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} ${{ needs.setup-workflow.outputs.exit-first }} |
2197 | 2205 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
2198 | 2206 | labels: ${{ needs.setup.outputs.labels }}
|
2199 | 2207 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -2468,7 +2476,7 @@ jobs:
|
2468 | 2476 | with:
|
2469 | 2477 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
2470 | 2478 | test-type: ${{ env.TEST_TYPE }}
|
2471 |
| - test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} |
| 2479 | + test-args: ${{ env.TEST_ARGS }} ${{ steps.create-test-arg.outputs.test-arg }} ${{ matrix.marker }} ${{ needs.setup-workflow.outputs.exit-first }} |
2472 | 2480 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
2473 | 2481 | labels: ${{ needs.setup.outputs.labels }}
|
2474 | 2482 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
@@ -3005,7 +3013,7 @@ jobs:
|
3005 | 3013 | with:
|
3006 | 3014 | splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
|
3007 | 3015 | test-type: ${{ env.TEST_TYPE }}
|
3008 |
| - test-args: "--hostname=spl --os-name=${{ steps.os-name-version.outputs.os-name }} --os-version=${{ steps.os-name-version.outputs.os-version }} -m script_input" |
| 3016 | + test-args: "--hostname=spl --os-name=${{ steps.os-name-version.outputs.os-name }} --os-version=${{ steps.os-name-version.outputs.os-version }} -m script_input ${{ needs.setup-workflow.outputs.exit-first }}" |
3009 | 3017 | job-name: ${{ steps.create-job-name.outputs.job-name }}
|
3010 | 3018 | labels: ${{ needs.setup.outputs.labels }}
|
3011 | 3019 | workflow-tmpl-name: ${{ needs.setup.outputs.argo-workflow-tmpl-name }}
|
|
0 commit comments