From 0e85028f6866879c4cc071a747d08051237a42c0 Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Tue, 15 Oct 2024 23:40:33 +0530 Subject: [PATCH] (chore): Fix the release pipeline (#506) Signed-off-by: Shubham Chaudhary --- .github/workflows/push.yml | 44 +---------------------------------- .github/workflows/release.yml | 1 - 2 files changed, 1 insertion(+), 44 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 8aba7197..acd9a3f9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -31,7 +31,6 @@ jobs: image-build: runs-on: ubuntu-latest - needs: tests steps: # Checkout to the latest commit # On specific directory/path @@ -59,45 +58,4 @@ jobs: DOCKER_TAG: ci DNAME: ${{ secrets.DNAME }} DPASS: ${{ secrets.DPASS }} - run: make push-chaos-operator - - tests: - needs: pre-checks - runs-on: ubuntu-latest - steps: - # Checkout to the latest commit - # On specific directory/path - - name: Checkout - uses: actions/checkout@v2 - - # Install golang - - uses: actions/setup-go@v2 - with: - go-version: 1.22 - - #Install and configure a kind cluster - - name: Installing Prerequisites (K3S Cluster) - env: - KUBECONFIG: /etc/rancher/k3s/k3s.yaml - run: | - curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.14-rc1+k3s1 sh -s - --docker --write-kubeconfig-mode 664 - kubectl wait node --all --for condition=ready --timeout=90s - mkdir -p $HOME/.kube - cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config - kubectl get nodes - - - name: Dependency checks - run: | - make deps - - - name: Build Docker Image - env: - DOCKER_REPO: litmuschaos - DOCKER_IMAGE: chaos-operator - DOCKER_TAG: ci - run: | - make build-amd64 - - - name: Running Go BDD Test - run: | - make test + run: make push-chaos-operator \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2681a68e..4878bf56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,6 @@ jobs: image-build: runs-on: ubuntu-latest - needs: tests steps: # Checkout to the latest commit # On specific directory/path