Skip to content

Commit 86e812a

Browse files
fix(ci): add constructive-server port-forward for SDK auth
rag-embedding e2e tests require SDK auth via constructive-server. Add port-forward for svc/constructive-server on port 3002. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6d4f0c1 commit 86e812a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test-k8s-deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,17 @@ jobs:
139139
kubectl wait --for=condition=complete job/constructive-db \
140140
-n constructive-functions --timeout=180s
141141
142-
- name: Port-forward postgres and run e2e tests
142+
- name: Port-forward services and run e2e tests
143143
env:
144144
PGHOST: localhost
145145
PGPORT: "5432"
146146
PGUSER: postgres
147147
PGPASSWORD: "***REMOVED***"
148148
PGDATABASE: constructive
149+
SERVER_PORT: "3002"
149150
run: |
150151
kubectl port-forward -n constructive-functions svc/postgres 5432:5432 &
152+
kubectl port-forward -n constructive-functions svc/constructive-server 3002:3000 &
151153
sleep 3
152154
pnpm jest tests/e2e/__tests__/job-queue.test.ts tests/e2e/__tests__/${{ matrix.name }}.e2e.test.ts
153155

0 commit comments

Comments
 (0)