|
56 | 56 | jobs:
|
57 | 57 | end_to_end_tests_on_demand:
|
58 | 58 | name: End-to-End (branch=${{ github.ref_name }}, cluster=${{ matrix.test.cluster-name }}, version=${{ matrix.version-files.label }} )
|
59 |
| - #if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-kubernetes-end-to-end && inputs.branch == 'workflow_initiating_branch' }} |
| 59 | + if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-kubernetes-end-to-end && inputs.branch == 'workflow_initiating_branch' }} |
60 | 60 | runs-on: ubuntu-22.04
|
61 | 61 | timeout-minutes: 180
|
62 | 62 | strategy:
|
@@ -242,7 +242,7 @@ jobs:
|
242 | 242 |
|
243 | 243 | regression_tests_on_demand:
|
244 | 244 | name: on demand regression tests
|
245 |
| - #if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-regression && inputs.branch == 'workflow_initiating_branch' }} |
| 245 | + if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-regression && inputs.branch == 'workflow_initiating_branch' }} |
246 | 246 | runs-on: ubuntu-22.04
|
247 | 247 | timeout-minutes: 60
|
248 | 248 | strategy:
|
@@ -342,7 +342,7 @@ jobs:
|
342 | 342 |
|
343 | 343 | performance_tests_on_demand:
|
344 | 344 | name: on demand performance tests
|
345 |
| - #if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'workflow_initiating_branch' }} |
| 345 | + if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'workflow_initiating_branch' }} |
346 | 346 | runs-on: ubuntu-22.04
|
347 | 347 | timeout-minutes: 60
|
348 | 348 | steps:
|
@@ -436,65 +436,65 @@ jobs:
|
436 | 436 | ref: v1.17.x
|
437 | 437 | - uses: ./.github/workflows/composite-actions/kube-gateway-api-conformance-tests
|
438 | 438 |
|
439 |
| - # publish_results: |
440 |
| - # runs-on: ubuntu-22.04 |
441 |
| - # timeout-minutes: 5 |
442 |
| - # if: ${{ always() }} |
443 |
| - # needs: |
444 |
| - # - end_to_end_tests_main |
445 |
| - # - end_to_end_tests_17 |
446 |
| - # - regression_tests_main |
447 |
| - # - regression_tests_17 |
448 |
| - # - regression_tests_16 |
449 |
| - # - regression_tests_15 |
450 |
| - # - performance_tests_main |
451 |
| - # - performance_tests_17 |
452 |
| - # - performance_tests_16 |
453 |
| - # - performance_tests_15 |
454 |
| - # - kube_gateway_api_conformance_tests_main |
455 |
| - # - kube_gateway_api_conformance_tests_17 |
456 |
| - # - end_to_end_tests_on_demand |
457 |
| - # - regression_tests_on_demand |
458 |
| - # - performance_tests_on_demand |
459 |
| - # steps: |
460 |
| - # - uses: actions/checkout@v4 |
461 |
| - # - name: compute-preamble |
462 |
| - # id: compute-preamble |
463 |
| - # shell: bash |
464 |
| - # run: | |
465 |
| - # echo "SLACK_CHANNEL=C04CJMXAH7A" >> $GITHUB_ENV #edge-nightly-results by default |
466 |
| - # if [[ ${{github.event_name == 'workflow_dispatch'}} = true ]]; then |
467 |
| - # trigger="Gloo OSS Manual run" |
468 |
| - # branch=${{ inputs.branch }} |
469 |
| - # echo "SLACK_CHANNEL=C0314KESVNV" >> $GITHUB_ENV #slack-integration-testing if manually run |
470 |
| - # elif [[ ${{github.event.schedule == '0 5 * * *'}} = true ]]; then |
471 |
| - # trigger="Gloo OSS nightlies" |
472 |
| - # branch="main" |
473 |
| - # elif [[ ${{github.event.schedule == '0 6 * * 1'}} = true ]]; then |
474 |
| - # trigger="Gloo OSS weeklies" |
475 |
| - # branch="v1.17.x" |
476 |
| - # elif [[ ${{github.event.schedule == '0 7 * * 1'}} = true ]]; then |
477 |
| - # trigger="Gloo OSS weeklies" |
478 |
| - # branch="v1.16.x" |
479 |
| - # elif [[ ${{github.event.schedule == '0 8 * * 1'}} = true ]]; then |
480 |
| - # trigger="Gloo OSS nightlies" |
481 |
| - # branch="v1.15.x" |
482 |
| - # fi |
483 |
| - # preamble="$trigger ($branch)" |
484 |
| - # echo "Setting PREAMBLE as $preamble" |
485 |
| - # echo "preamble=$preamble" >> $GITHUB_OUTPUT |
486 |
| - # - uses: actions/setup-go@v5 |
487 |
| - # with: |
488 |
| - # # Caching in setup-go is on by default |
489 |
| - # # In our prep-go-runner we use a more configurable cache https://github.com/actions/cache |
490 |
| - # # In this step, we don't need to store a new cache entry because it runs infrequently and |
491 |
| - # # will pollute the cache entries |
492 |
| - # cache: false |
493 |
| - # go-version-file: go.mod |
494 |
| - # - name: Send Slack Message |
495 |
| - # env: |
496 |
| - # PARENT_JOB_URL: https://github.com/solo-io/gloo/actions/runs/${{github.run_id}} # parent job hyperlink |
497 |
| - # PREAMBLE: ${{ steps.compute-preamble.outputs.preamble }} # text to hyperlink at start of slack message |
498 |
| - # SLACKBOT_BEARER: ${{ secrets.SLACKBOT_BEARER }} |
499 |
| - # run: | |
500 |
| - # go run .github/workflows/helpers/notify/slack.go '${{ toJSON(needs) }}' |
| 439 | + publish_results: |
| 440 | + runs-on: ubuntu-22.04 |
| 441 | + timeout-minutes: 5 |
| 442 | + if: ${{ always() }} |
| 443 | + needs: |
| 444 | + - end_to_end_tests_main |
| 445 | + - end_to_end_tests_17 |
| 446 | + - regression_tests_main |
| 447 | + - regression_tests_17 |
| 448 | + - regression_tests_16 |
| 449 | + - regression_tests_15 |
| 450 | + - performance_tests_main |
| 451 | + - performance_tests_17 |
| 452 | + - performance_tests_16 |
| 453 | + - performance_tests_15 |
| 454 | + - kube_gateway_api_conformance_tests_main |
| 455 | + - kube_gateway_api_conformance_tests_17 |
| 456 | + - end_to_end_tests_on_demand |
| 457 | + - regression_tests_on_demand |
| 458 | + - performance_tests_on_demand |
| 459 | + steps: |
| 460 | + - uses: actions/checkout@v4 |
| 461 | + - name: compute-preamble |
| 462 | + id: compute-preamble |
| 463 | + shell: bash |
| 464 | + run: | |
| 465 | + echo "SLACK_CHANNEL=C04CJMXAH7A" >> $GITHUB_ENV #edge-nightly-results by default |
| 466 | + if [[ ${{github.event_name == 'workflow_dispatch'}} = true ]]; then |
| 467 | + trigger="Gloo OSS Manual run" |
| 468 | + branch=${{ inputs.branch }} |
| 469 | + echo "SLACK_CHANNEL=C0314KESVNV" >> $GITHUB_ENV #slack-integration-testing if manually run |
| 470 | + elif [[ ${{github.event.schedule == '0 5 * * *'}} = true ]]; then |
| 471 | + trigger="Gloo OSS nightlies" |
| 472 | + branch="main" |
| 473 | + elif [[ ${{github.event.schedule == '0 6 * * 1'}} = true ]]; then |
| 474 | + trigger="Gloo OSS weeklies" |
| 475 | + branch="v1.17.x" |
| 476 | + elif [[ ${{github.event.schedule == '0 7 * * 1'}} = true ]]; then |
| 477 | + trigger="Gloo OSS weeklies" |
| 478 | + branch="v1.16.x" |
| 479 | + elif [[ ${{github.event.schedule == '0 8 * * 1'}} = true ]]; then |
| 480 | + trigger="Gloo OSS nightlies" |
| 481 | + branch="v1.15.x" |
| 482 | + fi |
| 483 | + preamble="$trigger ($branch)" |
| 484 | + echo "Setting PREAMBLE as $preamble" |
| 485 | + echo "preamble=$preamble" >> $GITHUB_OUTPUT |
| 486 | + - uses: actions/setup-go@v5 |
| 487 | + with: |
| 488 | + # Caching in setup-go is on by default |
| 489 | + # In our prep-go-runner we use a more configurable cache https://github.com/actions/cache |
| 490 | + # In this step, we don't need to store a new cache entry because it runs infrequently and |
| 491 | + # will pollute the cache entries |
| 492 | + cache: false |
| 493 | + go-version-file: go.mod |
| 494 | + - name: Send Slack Message |
| 495 | + env: |
| 496 | + PARENT_JOB_URL: https://github.com/solo-io/gloo/actions/runs/${{github.run_id}} # parent job hyperlink |
| 497 | + PREAMBLE: ${{ steps.compute-preamble.outputs.preamble }} # text to hyperlink at start of slack message |
| 498 | + SLACKBOT_BEARER: ${{ secrets.SLACKBOT_BEARER }} |
| 499 | + run: | |
| 500 | + go run .github/workflows/helpers/notify/slack.go '${{ toJSON(needs) }}' |
0 commit comments