Skip to content

Commit f50fd8e

Browse files
committed
ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers
1 parent 364f9a7 commit f50fd8e

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

.github/workflows/cloud-runner-integrity.yml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ env:
2828
USE_IL2CPP: false
2929

3030
jobs:
31-
tests:
32-
name: Cloud Runner Tests
31+
localstack-and-k8s:
32+
name: Cloud Runner Tests (LocalStack + K8s)
3333
runs-on: ubuntu-latest
3434
strategy:
3535
fail-fast: false
@@ -76,3 +76,44 @@ jobs:
7676
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7777
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
7878
GITHUB_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
79+
aws:
80+
name: Cloud Runner Tests (AWS)
81+
runs-on: ubuntu-latest
82+
needs: [localstack-and-k8s]
83+
strategy:
84+
fail-fast: false
85+
matrix:
86+
test:
87+
- 'cloud-runner-end2end-caching'
88+
- 'cloud-runner-end2end-retaining'
89+
- 'cloud-runner-hooks'
90+
steps:
91+
- uses: actions/checkout@v4
92+
with:
93+
lfs: false
94+
- name: Configure AWS Credentials
95+
uses: aws-actions/configure-aws-credentials@v1
96+
with:
97+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
98+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
99+
aws-region: ${{ env.AWS_REGION }}
100+
- uses: actions/setup-node@v4
101+
with:
102+
node-version: 20
103+
cache: 'yarn'
104+
- run: yarn install --frozen-lockfile
105+
- run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand
106+
timeout-minutes: 60
107+
env:
108+
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
109+
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
110+
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
111+
PROJECT_PATH: test-project
112+
TARGET_PLATFORM: StandaloneWindows64
113+
cloudRunnerTests: true
114+
versioning: None
115+
PROVIDER_STRATEGY: aws
116+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
117+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
118+
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
119+
GITHUB_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}

0 commit comments

Comments
 (0)