@@ -373,19 +373,6 @@ jobs:
373
373
- upload-baseline-image-to-ecr
374
374
- upload-comparison-image-to-ecr
375
375
steps :
376
- - name : Check status, in-progress
377
- env :
378
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
379
- run : |
380
- gh api \
381
- --method POST \
382
- -H "Accept: application/vnd.github+json" \
383
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
384
- -f state='pending' \
385
- -f description='Experiments submitted to the Regression Detection cluster.' \
386
- -f context='Regression Detection Suite / submission' \
387
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
388
-
389
376
- uses : actions/checkout@v4
390
377
with :
391
378
ref : ${{ needs.resolve-inputs.outputs.comparison-sha }}
@@ -447,47 +434,6 @@ jobs:
447
434
${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job cancel \
448
435
--submission-metadata ${{ runner.temp }}/submission-metadata
449
436
450
- - name : Check status, cancelled
451
- if : ${{ cancelled() }}
452
- env :
453
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
454
- run : |
455
- gh api \
456
- --method POST \
457
- -H "Accept: application/vnd.github+json" \
458
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
459
- -f state='failure' \
460
- -f description='Experiments submitted to the Regression Detection cluster cancelled.' \
461
- -f context='Regression Detection Suite / submission' \
462
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
463
-
464
- - name : Check status, success
465
- env :
466
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
467
- run : |
468
- gh api \
469
- --method POST \
470
- -H "Accept: application/vnd.github+json" \
471
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
472
- -f state='success' \
473
- -f description='Experiments submitted to the Regression Detection cluster successfully.' \
474
- -f context='Regression Detection Suite / submission' \
475
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
476
-
477
- - name : Check status, failure
478
- if : ${{ failure() }}
479
- env :
480
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
481
- run : |
482
- gh api \
483
- --method POST \
484
- -H "Accept: application/vnd.github+json" \
485
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
486
- -f state='success' \
487
- -f description='Experiments submitted to the Regression Detection Suite failed.' \
488
- -f context='Regression Detection Suite / submission' \
489
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
490
-
491
437
# #
492
438
# # ANALYZE
493
439
# #
@@ -529,47 +475,6 @@ jobs:
529
475
${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job result \
530
476
--submission-metadata ${{ runner.temp }}/submission-metadata
531
477
532
- - name : Check status, cancelled
533
- if : ${{ cancelled() }}
534
- env :
535
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
536
- run : |
537
- gh api \
538
- --method POST \
539
- -H "Accept: application/vnd.github+json" \
540
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
541
- -f state='failure' \
542
- -f description='Analyze experimental results from Regression Detection Suite cancelled.' \
543
- -f context='Regression Detection Suite / detect-regression' \
544
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
545
-
546
- - name : Check status, success
547
- env :
548
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
549
- run : |
550
- gh api \
551
- --method POST \
552
- -H "Accept: application/vnd.github+json" \
553
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
554
- -f state='success' \
555
- -f description='Analyze experimental results from Regression Detection Suite succeeded.' \
556
- -f context='Regression Detection Suite / detect-regression' \
557
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
558
-
559
- - name : Check status, failure
560
- if : ${{ failure() }}
561
- env :
562
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
563
- run : |
564
- gh api \
565
- --method POST \
566
- -H "Accept: application/vnd.github+json" \
567
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
568
- -f state='failure' \
569
- -f description='Analyze experimental results from Regression Detection Suite failed.' \
570
- -f context='Regression Detection Suite / detect-regression' \
571
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
572
-
573
478
analyze-experiment :
574
479
name : Download regression analysis & upload report
575
480
runs-on : ubuntu-22.04
@@ -579,19 +484,6 @@ jobs:
579
484
- submit-job
580
485
- resolve-inputs
581
486
steps :
582
- - name : Check status, in-progress
583
- env :
584
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
585
- run : |
586
- gh api \
587
- --method POST \
588
- -H "Accept: application/vnd.github+json" \
589
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
590
- -f state='pending' \
591
- -f description='Analyze experimental results from Regression Detection Suite.' \
592
- -f context='Regression Detection Suite / analyze-experiment' \
593
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
594
-
595
487
- uses : actions/checkout@v4
596
488
with :
597
489
ref : ${{ needs.resolve-inputs.outputs.comparison-sha }}
@@ -635,47 +527,6 @@ jobs:
635
527
name : capture-artifacts
636
528
path : ${{ runner.temp }}/outputs/*
637
529
638
- - name : Check status, cancelled
639
- if : ${{ cancelled() }}
640
- env :
641
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
642
- run : |
643
- gh api \
644
- --method POST \
645
- -H "Accept: application/vnd.github+json" \
646
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
647
- -f state='failure' \
648
- -f description='Analyze experimental results from Regression Detection Suite cancelled.' \
649
- -f context='Regression Detection Suite / analyze-experiment' \
650
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
651
-
652
- - name : Check status, success
653
- env :
654
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
655
- run : |
656
- gh api \
657
- --method POST \
658
- -H "Accept: application/vnd.github+json" \
659
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
660
- -f state='success' \
661
- -f description='Analyze experimental results from Regression Detection Suite succeeded.' \
662
- -f context='Regression Detection Suite / analyze-experiment' \
663
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
664
-
665
- - name : Check status, failure
666
- if : ${{ failure() }}
667
- env :
668
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
669
- run : |
670
- gh api \
671
- --method POST \
672
- -H "Accept: application/vnd.github+json" \
673
- /repos/${{ github.repository }}/statuses/${{ needs.resolve-inputs.outputs.comparison-sha }} \
674
- -f state='failure' \
675
- -f description='Analyze experimental results from Regression Detection Suite failed.' \
676
- -f context='Regression Detection Suite / analyze-experiment' \
677
- -f target_url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
678
-
679
530
regression-detection-suite :
680
531
name : Set final result
681
532
runs-on : ubuntu-latest
0 commit comments