Skip to content

Commit 07164c8

Browse files
authored
feat(e2e): add staging instance settings validation (#8094)
1 parent 33a7d70 commit 07164c8

File tree

6 files changed

+956
-1
lines changed

6 files changed

+956
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/e2e-staging.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@ concurrency:
3737
cancel-in-progress: true
3838

3939
jobs:
40+
validate-instances:
41+
name: Validate Staging Instances
42+
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
43+
steps:
44+
- name: Checkout Repo
45+
uses: actions/checkout@v4
46+
with:
47+
ref: ${{ github.event.inputs.ref || github.event.client_payload.ref || 'main' }}
48+
sparse-checkout: scripts/validate-staging-instances.mjs
49+
fetch-depth: 1
50+
51+
- name: Validate staging instance settings
52+
run: node scripts/validate-staging-instances.mjs
53+
env:
54+
INTEGRATION_INSTANCE_KEYS: ${{ secrets.INTEGRATION_INSTANCE_KEYS }}
55+
INTEGRATION_STAGING_INSTANCE_KEYS: ${{ secrets.INTEGRATION_STAGING_INSTANCE_KEYS }}
56+
4057
integration-tests:
4158
name: Integration Tests (${{ matrix.test-name }}, ${{ matrix.test-project }})
4259
runs-on: 'blacksmith-8vcpu-ubuntu-2204'

0 commit comments

Comments
 (0)