Skip to content

Commit 2b2646e

Browse files
authored
Fix: Adds fixes for pipeline issues (#493)
* Vulnerability: Fix vulnerabilities --------- Signed-off-by: Udit Gaurav <[email protected]>
1 parent dc17ee1 commit 2b2646e

File tree

4 files changed

+9
-27
lines changed

4 files changed

+9
-27
lines changed

.bettercodehub.yml

-10
This file was deleted.

.github/workflows/e2e.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ jobs:
6161
- name: Installing Prerequisites (KinD Cluster)
6262
uses: engineerd/[email protected]
6363
with:
64-
version: "v0.7.0"
64+
version: "v0.22.0"
6565

6666
- name: Configuring and testing kind Installation
6767
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}
7072
kubectl get nodes
7173
7274
- name: Load image on the nodes of the cluster
@@ -76,7 +78,7 @@ jobs:
7678
- name: Getting litmus-e2e repository
7779
run: |
7880
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
8082
8183
- name: Install LitmusChaos
8284
run: |
@@ -93,7 +95,7 @@ jobs:
9395
run: |
9496
export PATH=$PATH:$(go env GOPATH)/bin
9597
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
9799
env:
98100
KUBECONFIG: /home/runner/.kube/config
99101

@@ -102,7 +104,7 @@ jobs:
102104
run: |
103105
export PATH=$PATH:$(go env GOPATH)/bin
104106
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
106108
env:
107109
KUBECONFIG: /home/runner/.kube/config
108110

@@ -150,7 +152,7 @@ jobs:
150152
with:
151153
comment-id: "${{ github.event.comment.id }}"
152154
body: |
153-
**Test Result:** No test found
155+
**Test Result:** No test found try /run-e2e-all
154156
**Logs:** [${{ env.RUN_ID }}](https://github.com/litmuschaos/chaos-operator/actions/runs/${{ env.RUN_ID }})
155157
reactions: eyes
156158
env:

.github/workflows/security-scan.yml

-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
snyk:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: actions/checkout@master
11-
- name: Run Snyk to check for vulnerabilities
12-
uses: snyk/actions/golang@master
13-
env:
14-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
15-
167
trivy:
178
runs-on: ubuntu-latest
189
steps:

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2597079b1b5240d3866a6deb4112a2f2)](https://www.codacy.com/manual/litmuschaos/chaos-operator?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=litmuschaos/chaos-operator&amp;utm_campaign=Badge_Grade)
99
[![Go Report Card](https://goreportcard.com/badge/github.com/litmuschaos/chaos-operator)](https://goreportcard.com/report/github.com/litmuschaos/chaos-operator)
1010
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5290/badge)](https://bestpractices.coreinfrastructure.org/projects/5290)
11-
[![BCH compliance](https://bettercodehub.com/edge/badge/litmuschaos/chaos-operator?branch=master)](https://bettercodehub.com/)
1211
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flitmuschaos%2Fchaos-operator.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Flitmuschaos%2Fchaos-operator?ref=badge_shield)
1312
[![codecov](https://codecov.io/gh/litmuschaos/chaos-operator/branch/master/graph/badge.svg)](https://codecov.io/gh/litmuschaos/chaos-operator)
1413
[![YouTube Channel](https://img.shields.io/badge/YouTube-Subscribe-red)](https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw)

0 commit comments

Comments
 (0)