Skip to content

Commit 1489094

Browse files
committed
undo debug
1 parent 30e07d0 commit 1489094

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed

.github/workflows/nightly-tests.yaml

+65-65
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ on:
5656
jobs:
5757
end_to_end_tests_on_demand:
5858
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' }}
6060
runs-on: ubuntu-22.04
6161
timeout-minutes: 180
6262
strategy:
@@ -242,7 +242,7 @@ jobs:
242242

243243
regression_tests_on_demand:
244244
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' }}
246246
runs-on: ubuntu-22.04
247247
timeout-minutes: 60
248248
strategy:
@@ -342,7 +342,7 @@ jobs:
342342

343343
performance_tests_on_demand:
344344
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' }}
346346
runs-on: ubuntu-22.04
347347
timeout-minutes: 60
348348
steps:
@@ -436,65 +436,65 @@ jobs:
436436
ref: v1.17.x
437437
- uses: ./.github/workflows/composite-actions/kube-gateway-api-conformance-tests
438438

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

Comments
 (0)