Skip to content

Commit 1234695

Browse files
committed
cypress issuers
1 parent c4100e9 commit 1234695

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/cypress-testing.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ jobs:
171171
SERVICE_ENDPOINTS: 'http://127.0.0.1:3000/healthz http://127.0.0.1:3001 http://127.0.0.1:3002 http://127.0.0.1:3003 http://127.0.0.1:3010'
172172
TIMEOUT_SECONDS: '300'
173173
CHECK_INTERVAL: '5'
174+
JWT_ISSUER_AUTH: http://127.0.0.1:3010
175+
JWT_ISSUER_API: http://127.0.0.1:3000
176+
JWT_ISSUER_PWA: http://127.0.0.1:3002
174177

175178
- name: Cypress run parallel with cypress-split
176179
uses: cypress-io/github-action@v6
@@ -193,8 +196,6 @@ jobs:
193196
SPLIT: ${{ strategy.job-total }}
194197
SPLIT_INDEX: ${{ strategy.job-index }}
195198
SPLIT_FILE: timings.json
196-
JWT_ISSUER_AUTH: http://127.0.0.1:3010
197-
JWT_ISSUER_API: http://127.0.0.1:3000
198199

199200
- if: always()
200201
uses: actions/upload-artifact@v4
@@ -347,6 +348,9 @@ jobs:
347348
SERVICE_ENDPOINTS: 'http://127.0.0.1:3000/healthz http://127.0.0.1:3001 http://127.0.0.1:3002 http://127.0.0.1:3003 http://127.0.0.1:3010'
348349
TIMEOUT_SECONDS: '300'
349350
CHECK_INTERVAL: '5'
351+
JWT_ISSUER_AUTH: http://127.0.0.1:3010
352+
JWT_ISSUER_API: http://127.0.0.1:3000
353+
JWT_ISSUER_PWA: http://127.0.0.1:3002
350354

351355
- name: Upload service logs
352356
if: always()
@@ -379,8 +383,6 @@ jobs:
379383
HATCHET_API_URL: http://127.0.0.1:8888
380384
HATCHET_TENANT_ID: 707d0855-80ab-4e1f-a156-f1c4546cbf52
381385
HATCHET_HOST_PORT: 7077
382-
JWT_ISSUER_AUTH: http://127.0.0.1:3010
383-
JWT_ISSUER_API: http://127.0.0.1:3000
384386

385387
- if: always()
386388
uses: actions/upload-artifact@v4

apps/backend-docker/.env.cypress

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ APP_MANAGE_SUBDOMAIN="127.0.0.1:3002"
1111
APP_CONTROL_SUBDOMAIN="127.0.0.1:3003"
1212
HATCHET_CLIENT_TOKEN=__HATCHET_CLIENT_TOKEN__
1313
HATCHET_CLIENT_TLS_STRATEGY=none
14+
JWT_ISSUER_AUTH="http://127.0.0.1:3010"
15+
JWT_ISSUER_API="http://127.0.0.1:3000"
16+
JWT_ISSUER_PWA="http://127.0.0.1:3002"

0 commit comments

Comments
 (0)