-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Adds fixes for pipeline issues (#493)
* Vulnerability: Fix vulnerabilities --------- Signed-off-by: Udit Gaurav <[email protected]>
- Loading branch information
1 parent
dc17ee1
commit 2b2646e
Showing
4 changed files
with
9 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,12 +61,14 @@ jobs: | |
- name: Installing Prerequisites (KinD Cluster) | ||
uses: engineerd/[email protected] | ||
with: | ||
version: "v0.7.0" | ||
version: "v0.22.0" | ||
|
||
- name: Configuring and testing kind Installation | ||
run: | | ||
kubectl cluster-info --context kind-kind | ||
kind get kubeconfig --internal >$HOME/.kube/config | ||
kubectl cluster-info | ||
kubectl get pods -n kube-system | ||
echo "current-context:" $(kubectl config current-context) | ||
echo "environment-kubeconfig:" ${KUBECONFIG} | ||
kubectl get nodes | ||
- name: Load image on the nodes of the cluster | ||
|
@@ -76,7 +78,7 @@ jobs: | |
- name: Getting litmus-e2e repository | ||
run: | | ||
cd ${GOPATH}/src/github.com/litmuschaos/ | ||
git clone https://github.com/litmuschaos/litmus-e2e.git -b generic | ||
git clone https://github.com/litmuschaos/litmus-e2e.git -b master | ||
- name: Install LitmusChaos | ||
run: | | ||
|
@@ -93,7 +95,7 @@ jobs: | |
run: | | ||
export PATH=$PATH:$(go env GOPATH)/bin | ||
cd ${GOPATH}/src/github.com/litmuschaos/litmus-e2e | ||
go test operator/admin-mode_test.go -v -count=1 | ||
go test components/operator/admin-mode_test.go -v -count=1 | ||
env: | ||
KUBECONFIG: /home/runner/.kube/config | ||
|
||
|
@@ -102,7 +104,7 @@ jobs: | |
run: | | ||
export PATH=$PATH:$(go env GOPATH)/bin | ||
cd ${GOPATH}/src/github.com/litmuschaos/litmus-e2e | ||
go test operator/reconcile-resiliency_test.go -v -count=1 | ||
go test components/operator/reconcile-resiliency_test.go -v -count=1 | ||
env: | ||
KUBECONFIG: /home/runner/.kube/config | ||
|
||
|
@@ -150,7 +152,7 @@ jobs: | |
with: | ||
comment-id: "${{ github.event.comment.id }}" | ||
body: | | ||
**Test Result:** No test found | ||
**Test Result:** No test found try /run-e2e-all | ||
**Logs:** [${{ env.RUN_ID }}](https://github.com/litmuschaos/chaos-operator/actions/runs/${{ env.RUN_ID }}) | ||
reactions: eyes | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters