Skip to content

Commit 40c5ac5

Browse files
committed
ci: prewrite kubeconfig
1 parent f30d4a3 commit 40c5ac5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,21 @@ jobs:
103103
tag: ${{ github.sha }}
104104
pvc-access-mode: ReadWriteOnce
105105

106+
- name: Output kubeconfig on filesystem
107+
run: |
108+
mkdir -p /tmp/romeo
109+
cat >/tmp/romeo/kubeconfig <<EOF
110+
${{ steps.install.outputs.kubeconfig }}
111+
EOF
112+
106113
- name: Run Integration Tests
107114
run: |
108115
go test -v ./environment/deploy/integration/ -run=^Test_I_ -coverprofile=integration.out -timeout=10m
109116
env:
110117
NAMESPACE: ${{ steps.install.outputs.namespace }}
111118
TAG: ${{ github.sha }}
112119
REGISTRY: localhost:5000
113-
KUBECONFIG: ${{ steps.install.outputs.kubeconfig }}
120+
KUBECONFIG: /tmp/romeo/kubeconfig
114121
CLAIM_NAME: ${{ steps.env.outputs.claim-name }}
115122
SERVER: ${{ steps.server.outputs.server }}
116123

0 commit comments

Comments
 (0)