@@ -61,12 +61,14 @@ jobs:
61
61
- name : Installing Prerequisites (KinD Cluster)
62
62
63
63
with :
64
- version : " v0.7 .0"
64
+ version : " v0.22 .0"
65
65
66
66
- name : Configuring and testing kind Installation
67
67
run : |
68
- kubectl cluster-info --context kind-kind
69
- kind get kubeconfig --internal >$HOME/.kube/config
68
+ kubectl cluster-info
69
+ kubectl get pods -n kube-system
70
+ echo "current-context:" $(kubectl config current-context)
71
+ echo "environment-kubeconfig:" ${KUBECONFIG}
70
72
kubectl get nodes
71
73
72
74
- name : Load image on the nodes of the cluster
76
78
- name : Getting litmus-e2e repository
77
79
run : |
78
80
cd ${GOPATH}/src/github.com/litmuschaos/
79
- git clone https://github.com/litmuschaos/litmus-e2e.git -b generic
81
+ git clone https://github.com/litmuschaos/litmus-e2e.git -b master
80
82
81
83
- name : Install LitmusChaos
82
84
run : |
93
95
run : |
94
96
export PATH=$PATH:$(go env GOPATH)/bin
95
97
cd ${GOPATH}/src/github.com/litmuschaos/litmus-e2e
96
- go test operator/admin-mode_test.go -v -count=1
98
+ go test components/ operator/admin-mode_test.go -v -count=1
97
99
env :
98
100
KUBECONFIG : /home/runner/.kube/config
99
101
@@ -102,7 +104,7 @@ jobs:
102
104
run : |
103
105
export PATH=$PATH:$(go env GOPATH)/bin
104
106
cd ${GOPATH}/src/github.com/litmuschaos/litmus-e2e
105
- go test operator/reconcile-resiliency_test.go -v -count=1
107
+ go test components/ operator/reconcile-resiliency_test.go -v -count=1
106
108
env :
107
109
KUBECONFIG : /home/runner/.kube/config
108
110
@@ -150,7 +152,7 @@ jobs:
150
152
with :
151
153
comment-id : " ${{ github.event.comment.id }}"
152
154
body : |
153
- **Test Result:** No test found
155
+ **Test Result:** No test found try /run-e2e-all
154
156
**Logs:** [${{ env.RUN_ID }}](https://github.com/litmuschaos/chaos-operator/actions/runs/${{ env.RUN_ID }})
155
157
reactions : eyes
156
158
env :
0 commit comments