File tree 3 files changed +26
-8
lines changed
3 files changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -2245,7 +2245,7 @@ tasks:
2245
2245
vars :
2246
2246
TEST_NAME : auth_oidc
2247
2247
SUB_TEST_NAME : default
2248
- tags : [auth_oidc, pr ]
2248
+ tags : [auth_oidc]
2249
2249
- name : test-auth-oidc-azure
2250
2250
commands :
2251
2251
- func : run tests
Original file line number Diff line number Diff line change @@ -435,21 +435,29 @@ buildvariants:
435
435
# Oidc auth tests
436
436
- name : auth-oidc-ubuntu-22
437
437
tasks :
438
- - name : .auth_oidc
438
+ - name : .auth_oidc_remote
439
439
display_name : Auth OIDC Ubuntu-22
440
440
run_on :
441
441
- ubuntu2204-small
442
442
batchtime : 10080
443
+ - name : auth-oidc-local-ubuntu-22
444
+ tasks :
445
+ - name : .auth_oidc_remote
446
+ display_name : Auth OIDC Local Ubuntu-22
447
+ run_on :
448
+ - ubuntu2204-small
449
+ batchtime : 10080
450
+ tags : [pr]
443
451
- name : auth-oidc-macos
444
452
tasks :
445
- - name : .auth_oidc !.auth_oidc_remote !.pr
453
+ - name : " !.auth_oidc_remote"
446
454
display_name : Auth OIDC macOS
447
455
run_on :
448
456
- macos-14
449
457
batchtime : 10080
450
458
- name : auth-oidc-win64
451
459
tasks :
452
- - name : .auth_oidc !.auth_oidc_remote !.pr
460
+ - name : " !.auth_oidc_remote"
453
461
display_name : Auth OIDC Win64
454
462
run_on :
455
463
- windows-64-vsMulti-small
Original file line number Diff line number Diff line change @@ -373,9 +373,9 @@ def create_oidc_auth_variants():
373
373
variants = []
374
374
for host_name in ["ubuntu22" , "macos" , "win64" ]:
375
375
if host_name == "ubuntu22" :
376
- tasks = [".auth_oidc " ]
376
+ tasks = [".auth_oidc_remote " ]
377
377
else :
378
- tasks = [".auth_oidc !.auth_oidc_remote !.pr " ]
378
+ tasks = ["!.auth_oidc_remote" ]
379
379
host = HOSTS [host_name ]
380
380
variants .append (
381
381
create_variant (
@@ -385,6 +385,17 @@ def create_oidc_auth_variants():
385
385
batchtime = BATCHTIME_WEEK ,
386
386
)
387
387
)
388
+ # Add a specific local test to run on PRs.
389
+ if host_name == "ubuntu22" :
390
+ variants .append (
391
+ create_variant (
392
+ tasks ,
393
+ get_variant_name ("Auth OIDC Local" , host ),
394
+ tags = ["pr" ],
395
+ host = host ,
396
+ batchtime = BATCHTIME_WEEK ,
397
+ )
398
+ )
388
399
return variants
389
400
390
401
@@ -764,9 +775,8 @@ def create_oidc_tasks():
764
775
tags = ["auth_oidc" ]
765
776
if sub_test != "default" :
766
777
tags .append ("auth_oidc_remote" )
767
- else :
768
- tags .append ("pr" )
769
778
tasks .append (EvgTask (name = task_name , tags = tags , commands = [test_func ]))
779
+
770
780
return tasks
771
781
772
782
You can’t perform that action at this time.
0 commit comments