feat: CI/CD integration testing with network access #23
@@ -84,6 +84,7 @@ jobs:
|
||||
--namespace=api \
|
||||
--restart=Never \
|
||||
--port=8080 \
|
||||
--labels="app=api-gateway,managed-by=argocd,role=test,test-run=${{ steps.sha.outputs.short_sha }}" \
|
||||
--overrides='{"spec":{"containers":[{"name":"gateway","securityContext":{"runAsNonRoot":true,"runAsUser":65532,"allowPrivilegeEscalation":false}}]}}'
|
||||
|
||||
echo "Waiting for test pod to be ready..."
|
||||
|
||||
@@ -5,6 +5,11 @@ metadata:
|
||||
namespace: api
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: api-gateway
|
||||
managed-by: test
|
||||
role: integration-test
|
||||
spec:
|
||||
serviceAccountName: api-gateway
|
||||
restartPolicy: Never
|
||||
|
||||
Reference in New Issue
Block a user