@@ -2,6 +2,11 @@ name: Nightly
2
2
3
3
env :
4
4
GITHUB_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }} # necessary to pass upgrade tests
5
+ # https://github.com/solo-io/gloo/issues/10534
6
+ # Performance tests have been disabled. See the above issue for context around it
7
+ # To re-enable those tests (even temporarily) search for the usages of the env variable,
8
+ # and it will direct you to the code that needs to be changed
9
+ ENABLE_PERFORMANCE_TESTS : false
5
10
6
11
on :
7
12
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
@@ -377,7 +382,6 @@ jobs:
377
382
ref : v1.18.x
378
383
- uses : ./.github/workflows/composite-actions/regression-tests
379
384
380
-
381
385
regression_tests_17 :
382
386
name : v1.17.x regression tests
383
387
if : ${{ (github.event_name == 'workflow_dispatch' && inputs.run-regression && inputs.branch == 'v1.17.x') || github.event.schedule == '0 7 * * 1' }}
@@ -415,8 +419,11 @@ jobs:
415
419
416
420
performance_tests_on_demand :
417
421
name : on demand performance tests
422
+ # This job does not respect the environment value of ENABLE_PERFORMANCE_TESTS
423
+ # This way, if a developer wanted to run the job on-demand, they could
418
424
if : ${{ github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'workflow_initiating_branch' }}
419
- runs-on : ubuntu-22.04
425
+ # We use a larger runner to ensure the performance tests can complete, without running out of disk space
426
+ runs-on : ubuntu-20.04-8core
420
427
timeout-minutes : 60
421
428
steps :
422
429
- uses : actions/checkout@v4
@@ -427,7 +434,9 @@ jobs:
427
434
428
435
performance_tests_main :
429
436
name : main performance tests
430
- if : ${{ (github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'main') || github.event.schedule == '0 5 * * *' }}
437
+ # Instead of false, we would want to define: env.ENABLE_PERFORMANCE_TESTS == 'true'
438
+ # Due to https://github.com/actions/runner/issues/1189#issuecomment-880110759, we cannot use env variables in job.if
439
+ if : ${{ false && ((github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'main') || github.event.schedule == '0 5 * * *') }}
431
440
runs-on : ubuntu-22.04
432
441
timeout-minutes : 60
433
442
steps :
@@ -439,7 +448,9 @@ jobs:
439
448
440
449
performance_tests_18 :
441
450
name : v1.18.x performance tests
442
- if : ${{ (github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.18.x') || github.event.schedule == '0 6 * * 1' }}
451
+ # Instead of false, we would want to define: env.ENABLE_PERFORMANCE_TESTS == 'true'
452
+ # Due to https://github.com/actions/runner/issues/1189#issuecomment-880110759, we cannot use env variables in job.if
453
+ if : ${{ false && ((github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.18.x') || github.event.schedule == '0 6 * * 1') }}
443
454
runs-on : ubuntu-22.04
444
455
timeout-minutes : 60
445
456
steps :
@@ -451,7 +462,9 @@ jobs:
451
462
452
463
performance_tests_17 :
453
464
name : v1.17.x performance tests
454
- if : ${{ (github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.17.x') || github.event.schedule == '0 7 * * 1' }}
465
+ # Instead of false, we would want to define: env.ENABLE_PERFORMANCE_TESTS == 'true'
466
+ # Due to https://github.com/actions/runner/issues/1189#issuecomment-880110759, we cannot use env variables in job.if
467
+ if : ${{ false && ((github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.17.x') || github.event.schedule == '0 7 * * 1') }}
455
468
runs-on : ubuntu-22.04
456
469
timeout-minutes : 60
457
470
steps :
@@ -463,7 +476,9 @@ jobs:
463
476
464
477
performance_tests_16 :
465
478
name : v1.16.x performance tests
466
- if : ${{ (github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.16.x') || github.event.schedule == '0 8 * * 1' }}
479
+ # Instead of false, we would want to define: env.ENABLE_PERFORMANCE_TESTS == 'true'
480
+ # Due to https://github.com/actions/runner/issues/1189#issuecomment-880110759, we cannot use env variables in job.if
481
+ if : ${{ false && ((github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'v1.16.x') || github.event.schedule == '0 8 * * 1') }}
467
482
runs-on : ubuntu-22.04
468
483
timeout-minutes : 60
469
484
steps :
0 commit comments