-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (46 loc) · 1.53 KB
/
test-load.yaml
File metadata and controls
52 lines (46 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CCV Load Test - PR
on:
merge_group:
pull_request:
defaults:
run:
working-directory: build/devenv
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e-load-pr:
permissions:
id-token: write
contents: read
pull-requests: write
runs-on: runs-on=${{ github.run_id }}/family=c6i/cpu=32+48/ram=64+96/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
strategy:
fail-fast: false
matrix:
test:
- subtest: clean
timeout: 4m
steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # setup-github-token@0.2.1
with:
aws-role-arn: ${{ secrets.GATI_AWS_ROLE_ARN_CHAINLINK_READ_ONLY }}
aws-lambda-url: ${{ secrets.GATI_LAMBDA_URL_RELENG }}
aws-region: ${{ secrets.GATI_AWS_REGION }}
set-git-config: true
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Run load test
uses: ./.github/actions/run-load-test
with:
subtest: ${{ matrix.test.subtest }}
timeout: ${{ matrix.test.timeout }}
ccv-iam-role: ${{ secrets.CCV_IAM_ROLE }}
jd-registry: ${{ secrets.JD_REGISTRY }}
jd-image: ${{ secrets.JD_IMAGE }}