@@ -18,12 +18,17 @@ concurrency:
1818 group : cdn-tests
1919 cancel-in-progress : false
2020
21+ permissions :
22+ contents : read
23+
2124jobs :
2225 notify-of-test-run-start :
2326 if : github.repository == 'mozilla/bedrock'
2427 runs-on : ubuntu-latest
2528 steps :
26- - uses : actions/checkout@v5
29+ - uses : actions/checkout@v6
30+ with :
31+ sparse-checkout : .github/actions/slack
2732 - name : Notify via Slack that tests are starting
2833 uses : ./.github/actions/slack
2934 with :
@@ -36,25 +41,25 @@ jobs:
3641 message : " CDN tests started"
3742
3843 cdn-tests :
44+ if : github.repository == 'mozilla/bedrock'
3945 runs-on : ubuntu-latest
40- needs : notify-of-test-run-start
4146 strategy :
4247 matrix :
4348 include :
44- - LABEL : " CDN and SSL tests "
45- SHARD_LABEL : " cdn"
46- MARK_EXPRESSION : " cdn and not cdnprod "
47- - LABEL : " SSL client simulation "
48- SHARD_LABEL : " sim "
49- MARK_EXPRESSION : cdnprod
49+ - LABEL : " CDN check "
50+ SHARD_LABEL : cdn
51+ MARK_EXPRESSION : " cdn and not cdnssl "
52+ - LABEL : " SSL scan "
53+ SHARD_LABEL : ssl
54+ MARK_EXPRESSION : " cdnssl "
5055 env :
5156 BASE_URL : ${{ github.event.inputs.mozorg_service_hostname || 'https://www.mozilla.org' }} # Mozorg base URL
5257 BROWSER_NAME : " "
5358 CI_JOB_ID : ${{ github.run_id }}
5459 DRIVER : " "
5560 LABEL : ${{ matrix.LABEL }}
5661 MARK_EXPRESSION : ${{ matrix.MARK_EXPRESSION }}
57- PYTEST_PROCESSES : auto
62+ PYTEST_PROCESSES : 1
5863 SAUCELABS_API_KEY : " "
5964 SAUCELABS_USERNAME : " "
6065 RERUNS_ALLOWED : 3
6671
6772 steps :
6873 - name : Fetch codebase
69- uses : actions/checkout@v5
74+ uses : actions/checkout@v6
7075
7176 - name : Run CDN tests
7277 run : ./bin/integration_tests/functional_tests.sh
@@ -79,18 +84,20 @@ jobs:
7984
8085 - name : Store artifacts
8186 if : always()
82- uses : actions/upload-artifact@v4
87+ uses : actions/upload-artifact@v6
8388 with :
8489 name : test-results-${{github.run_id}}-${{ matrix.SHARD_LABEL }}
8590 path : results-${{github.run_id}}
8691 if-no-files-found : ignore # this avoids a false "Warning" if there were no issues
8792
8893 notify-of-test-run-completion :
89- if : github.repository == 'mozilla/bedrock' && always()
94+ if : always()
95+ needs : cdn-tests
9096 runs-on : ubuntu-latest
91- needs : [notify-of-test-run-start, cdn-tests]
9297 steps :
93- - uses : actions/checkout@v5
98+ - uses : actions/checkout@v6
99+ with :
100+ sparse-checkout : .github/actions/slack
94101 - name : Notify via Slack of test-run outcome
95102 uses : ./.github/actions/slack
96103 with :
0 commit comments