We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b25749 commit c378defCopy full SHA for c378def
.github/workflows/tests.yml
@@ -32,6 +32,30 @@ jobs:
32
kubectl version
33
kubectl get nodes
34
35
+ - name: Create dummy kubeconfig for CI
36
+ run: |
37
+ # Create a dummy kubeconfig so backend can start without real k8s connection
38
+ cat > backend/kubeconfig.yaml <<EOF
39
+ apiVersion: v1
40
+ kind: Config
41
+ clusters:
42
+ - name: ci-cluster
43
+ cluster:
44
+ server: https://host.docker.internal:6443
45
+ insecure-skip-tls-verify: true
46
+ users:
47
+ - name: ci-user
48
+ user:
49
+ token: "ci-token"
50
+ contexts:
51
+ - name: ci
52
+ context:
53
+ cluster: ci-cluster
54
+ user: ci-user
55
+ current-context: ci
56
+ EOF
57
+ echo "Created dummy kubeconfig for CI"
58
+
59
- name: Modify Docker Compose for CI
60
run: |
61
cp docker-compose.yaml docker-compose.ci.yaml
0 commit comments