Skip to content

Commit ad196c7

Browse files
committed
(chore): Fix the release pipeline
Signed-off-by: Shubham Chaudhary <[email protected]>
1 parent 6328144 commit ad196c7

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

.github/workflows/push.yml

+1-43
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131

3232
image-build:
3333
runs-on: ubuntu-latest
34-
needs: tests
3534
steps:
3635
# Checkout to the latest commit
3736
# On specific directory/path
@@ -59,45 +58,4 @@ jobs:
5958
DOCKER_TAG: ci
6059
DNAME: ${{ secrets.DNAME }}
6160
DPASS: ${{ secrets.DPASS }}
62-
run: make push-chaos-operator
63-
64-
tests:
65-
needs: pre-checks
66-
runs-on: ubuntu-latest
67-
steps:
68-
# Checkout to the latest commit
69-
# On specific directory/path
70-
- name: Checkout
71-
uses: actions/checkout@v2
72-
73-
# Install golang
74-
- uses: actions/setup-go@v2
75-
with:
76-
go-version: 1.22
77-
78-
#Install and configure a kind cluster
79-
- name: Installing Prerequisites (K3S Cluster)
80-
env:
81-
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
82-
run: |
83-
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.14-rc1+k3s1 sh -s - --docker --write-kubeconfig-mode 664
84-
kubectl wait node --all --for condition=ready --timeout=90s
85-
mkdir -p $HOME/.kube
86-
cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
87-
kubectl get nodes
88-
89-
- name: Dependency checks
90-
run: |
91-
make deps
92-
93-
- name: Build Docker Image
94-
env:
95-
DOCKER_REPO: litmuschaos
96-
DOCKER_IMAGE: chaos-operator
97-
DOCKER_TAG: ci
98-
run: |
99-
make build-amd64
100-
101-
- name: Running Go BDD Test
102-
run: |
103-
make test
61+
run: make push-chaos-operator

.github/workflows/release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020

2121
image-build:
2222
runs-on: ubuntu-latest
23-
needs: tests
2423
steps:
2524
# Checkout to the latest commit
2625
# On specific directory/path

0 commit comments

Comments
 (0)