Skip to content

Commit 5e6b4e1

Browse files
authored
[DX-3490] Remove Cleanup Jobs (#21620)
* Remove cleanup jobs * Use new reusable workflows * Fix errors * Update commit * Delete deprecated workflows
1 parent 420be2f commit 5e6b4e1

16 files changed

Lines changed: 101 additions & 271 deletions

.github/workflows/ccip-chaos-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ concurrency:
2121
jobs:
2222
run-e2e-tests-workflow:
2323
name: Run E2E Tests
24-
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@1b27374964a8d7dfea94a91c4b1eeae84fea66d6
24+
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@fed09778ce127da5d37f902d8bee01387856550a
2525
with:
2626
test_path: .github/e2e-tests.yml
2727
chainlink_version: ${{ github.sha }}
2828
require_chainlink_image_versions_in_qa_ecr: ${{ github.sha }}
2929
test_trigger: E2E CCIP Chaos Tests
3030
test_log_level: debug
3131
slack_notification_after_tests: on_failure
32-
slack_notification_after_tests_channel_id: '#ccip-testing'
32+
slack_notification_after_tests_channel_id: "#ccip-testing"
3333
slack_notification_after_tests_name: CCIP Chaos E2E Tests
3434
team: ${{ inputs.team }}
3535
secrets:

.github/workflows/ccip-load-tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# CCIP rarely runs these anymore. Leaving for now, but can likely be removed in the future.
22
name: CCIP Load Test
33
on:
4-
# push:
5-
# paths:
6-
# - '**/*ccip*'
7-
# - '**/*ccip*/**'
8-
# branches:
9-
# - develop
10-
# tags:
11-
# - '*'
4+
# push:
5+
# paths:
6+
# - '**/*ccip*'
7+
# - '**/*ccip*/**'
8+
# branches:
9+
# - develop
10+
# tags:
11+
# - '*'
1212
workflow_dispatch:
1313
inputs:
1414
test_config_override_path:
1515
description: Path to a test config file used to override the default test config
1616
required: false
1717
type: string
1818
test_secrets_override_key:
19-
description: 'Key to run tests with custom test secrets'
19+
description: "Key to run tests with custom test secrets"
2020
required: false
2121
type: string
2222
chainlink_version:
@@ -37,14 +37,14 @@ concurrency:
3737
jobs:
3838
run-e2e-tests-workflow:
3939
name: Run E2E Tests
40-
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@608298f511acfbcfd1099e5907ba1b1b0dda8b14
40+
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@fed09778ce127da5d37f902d8bee01387856550a
4141
with:
4242
test_path: .github/e2e-tests.yml
4343
test_trigger: E2E CCIP Load Tests
4444
test_config_override_path: ${{ inputs.test_config_override_path }}
4545
chainlink_version: ${{ inputs.chainlink_version || github.sha }}
4646
slack_notification_after_tests: always
47-
slack_notification_after_tests_channel_id: '#ccip-testing'
47+
slack_notification_after_tests_channel_id: "#ccip-testing"
4848
slack_notification_after_tests_name: CCIP E2E Load Tests
4949
test_image_suites: ccip-tests/load
5050
team: ${{ inputs.team || 'ccip' }}

.github/workflows/client-compatibility-tests.yml

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,10 @@ jobs:
286286
check-ecr-images-exist:
287287
name: Check images used as test dependencies exist in ECR
288288
if: always() && needs.should-run.outputs.should_run == 'true' && (needs.select-versions.outputs.evm_implementations != '' || github.event.inputs.base64TestList != '')
289-
environment: integration
289+
environment:
290+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
291+
name: integration
292+
deployment: false
290293
permissions:
291294
id-token: write
292295
contents: read
@@ -329,7 +332,10 @@ jobs:
329332
needs.select-versions.outputs.evm_implementations != '' ||
330333
github.event.inputs.base64TestList != ''
331334
)
332-
environment: integration
335+
environment:
336+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
337+
name: integration
338+
deployment: false
333339
permissions:
334340
id-token: write
335341
contents: read
@@ -348,7 +354,7 @@ jobs:
348354
image-tag: ${{ inputs.chainlinkVersion || needs.select-versions.outputs.chainlink_image_version || github.sha }}
349355
dockerfile: core/chainlink.Dockerfile
350356
docker-registry-url: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com
351-
docker-repository-name: 'chainlink'
357+
docker-repository-name: "chainlink"
352358
aws-account-number: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
353359
aws-region: ${{ secrets.QA_AWS_REGION }}
354360
aws-role-arn: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
@@ -357,11 +363,13 @@ jobs:
357363
# for tagged releases Docker image version is different from the Chainlink version (v2.13.0 -> 2.13.0)
358364
# for all other cases (PRs, commits, etc.) Docker image version is the same as the Chainlink version
359365

360-
361366
get-latest-available-images:
362367
name: Get Latest EVM Implementation's Images
363368
if: always() && needs.should-run.outputs.should_run == 'true' && needs.select-versions.outputs.evm_implementations != '' && github.event.inputs.base64TestList == ''
364-
environment: integration
369+
environment:
370+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
371+
name: integration
372+
deployment: false
365373
runs-on: ubuntu-latest
366374
needs: [check-ecr-images-exist, should-run, select-versions]
367375
permissions:
@@ -440,7 +448,10 @@ jobs:
440448
prepare-compatibility-matrix:
441449
name: Prepare Compatibility Matrix
442450
if: always() && needs.should-run.outputs.should_run == 'true' && (needs.select-versions.outputs.evm_implementations != '' || github.event.inputs.base64TestList != '')
443-
environment: integration
451+
environment:
452+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
453+
name: integration
454+
deployment: false
444455
permissions:
445456
checks: write
446457
pull-requests: write
@@ -542,7 +553,10 @@ jobs:
542553
run-client-compatibility-matrix:
543554
name: ${{ matrix.evm_node.product }} compatibility with ${{ matrix.evm_node.docker_image }}
544555
if: always() && needs.should-run.outputs.should_run == 'true' && (needs.build-chainlink.result == 'success' || needs.build-chainlink.result == 'skipped') && needs.prepare-compatibility-matrix.outputs.matrix != ''
545-
environment: integration
556+
environment:
557+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
558+
name: integration
559+
deployment: false
546560
permissions:
547561
checks: write
548562
pull-requests: write
@@ -655,7 +669,10 @@ jobs:
655669
start-slack-thread:
656670
name: Start Slack Thread
657671
if: always() && needs.*.result != 'skipped' && needs.*.result != 'cancelled' && needs.should-run.outputs.should_run == 'true' && (needs.select-versions.outputs.evm_implementations != '' || github.event.inputs.base64TestList != '')
658-
environment: integration
672+
environment:
673+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
674+
name: integration
675+
deployment: false
659676
outputs:
660677
thread_ts: ${{ steps.slack.outputs.thread_ts }}
661678
permissions:
@@ -721,7 +738,10 @@ jobs:
721738
parse-test-results:
722739
name: Parse Test Results
723740
if: always() && needs.*.result != 'skipped' && needs.*.result != 'cancelled' && needs.should-run.outputs.should_run == 'true' && (needs.select-versions.outputs.evm_implementations != '' || github.event.inputs.base64TestList != '')
724-
environment: integration
741+
environment:
742+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
743+
name: integration
744+
deployment: false
725745
permissions:
726746
checks: write
727747
pull-requests: write
@@ -761,7 +781,10 @@ jobs:
761781
display-test-results:
762782
name: Aggregated test results
763783
if: always() && needs.*.result != 'skipped' && needs.*.result != 'cancelled' && needs.should-run.outputs.should_run == 'true' && needs.parse-test-results.result == 'success'
764-
environment: integration
784+
environment:
785+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
786+
name: integration
787+
deployment: false
765788
permissions:
766789
checks: write
767790
pull-requests: write
@@ -807,7 +830,10 @@ jobs:
807830
post-test-results-to-slack:
808831
name: Post Test Results for ${{matrix.product}}
809832
if: always() && needs.*.result != 'skipped' && needs.*.result != 'cancelled' && needs.should-run.outputs.should_run == 'true' && needs.parse-test-results.result == 'success'
810-
environment: integration
833+
environment:
834+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
835+
name: integration
836+
deployment: false
811837
permissions:
812838
checks: write
813839
pull-requests: write

.github/workflows/cre-local-env-tests.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ on:
2929
jobs:
3030
changes:
3131
runs-on: runs-on=${{ github.run_id }}/cpu=16/ram=64/family=m6i/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
32-
environment: "integration"
32+
environment:
33+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
34+
name: integration
35+
deployment: false
3336
permissions:
3437
contents: read
3538
outputs:
@@ -57,7 +60,10 @@ jobs:
5760
5861
test-cli:
5962
runs-on: runs-on=${{ github.run_id }}/cpu=16/ram=64/family=m6i/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
60-
environment: "integration"
63+
environment:
64+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
65+
name: integration
66+
deployment: false
6167
timeout-minutes: 15
6268
permissions:
6369
contents: read

.github/workflows/cre-regression-system-tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ jobs:
9595
# we need a `test_id` and `run_attempt` here to stop runner stealing
9696
# see: https://runs-on.com/guides/troubleshoot/#runner-stealing-and-matrix-jobs
9797
runs-on: runs-on=${{ github.run_id }}-${{ matrix.tests.test_id }}-${{ github.run_attempt }}/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
98-
environment: "integration"
98+
environment:
99+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
100+
name: integration
101+
deployment: false
99102
timeout-minutes: 60
100103
env:
101104
ENABLE_AUTO_QUARANTINE: "true"

.github/workflows/cre-soak-memory-leak.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ on:
2525
jobs:
2626
soak:
2727
name: CRE PoR Memory Leak Soak
28+
environment:
29+
name: integration
30+
deployment: false
2831
runs-on: runs-on=${{ github.run_id }}/cpu=8+16/ram=32+64/family=c6id+m6id+m6idn/spot=false/image=ubuntu24-full-x64/extras=s3-cache
29-
environment: "integration"
3032
timeout-minutes: 270 # 4h30m — test timeout is 4h20m
3133
permissions:
3234
contents: read

.github/workflows/cre-system-tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ jobs:
142142
# we need a `test_id` and `run_attempt` here to stop runner stealing
143143
# see: https://runs-on.com/guides/troubleshoot/#runner-stealing-and-matrix-jobs
144144
runs-on: runs-on=${{ github.run_id }}-${{ matrix.tests.test_id }}-${{ github.run_attempt }}/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
145-
environment: "integration"
145+
environment:
146+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
147+
name: integration
148+
deployment: false
146149
timeout-minutes: 60
147150
env:
148151
ENABLE_AUTO_QUARANTINE: "true"

.github/workflows/cre-workflow-don-benchmark.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ on:
2929
jobs:
3030
workflow-don-benchmark:
3131
runs-on: ubuntu-latest
32-
environment: "integration"
32+
environment:
33+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
34+
name: integration
35+
deployment: false
3336
timeout-minutes: 30
3437
permissions:
3538
contents: read

.github/workflows/delete-deployments.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/devenv-compat.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ jobs:
7474
contents: read
7575
pull-requests: write
7676
runs-on: ubuntu24.04-16cores-64GB # ghv-ignore!
77-
environment: "integration"
77+
environment:
78+
# http://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments
79+
name: integration
80+
deployment: false
7881
env:
7982
STRIP_IMAGE_SUFFIX: ${{ inputs.strip-image-suffix }}
8083
PRODUCT: ${{ inputs.product }}

0 commit comments

Comments
 (0)