Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Apr 6, 2024
1 parent 6580625 commit f50025a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches:
- master
pull_request:
merge_group:

permissions:
contents: read
Expand All @@ -21,9 +20,6 @@ jobs:
- name: Kubernetes KinD Cluster
uses: container-tools/kind-action@v1

- name: Check kubectl
run: 'kubectl get pods -A'

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
Expand Down Expand Up @@ -54,10 +50,7 @@ jobs:
- name: Wait for 30 seconds
run: 'sleep 30'

- name: Check kubectl
run: 'kubectl get pods -A'

- name: Check kubectl pod
- name: Check canary-checker pods
run: 'kubectl describe pods -n canary-checker'

- name: Apply exec fixture
Expand All @@ -68,4 +61,10 @@ jobs:

- name: Check status
run: |
kubectl get canaries.canaries.flanksource.com exec-pass -o yaml
status=$(kubectl get canaries.canaries.flanksource.com exec-pass -o yaml | yq .status.status)
echo $status
if [[ $status == "Passed"]]; then
exit 0
else
exit 1
fi

0 comments on commit f50025a

Please sign in to comment.