Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Sep 29, 2023
1 parent 0199774 commit e9822fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/uninstall_install_sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Run Your Job
run: |
echo "This job runs every day at 2:00 AM PST"
echo "This job runs biweekly on 1st and 15th of every month at 2:00 AM PST"
- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
Expand All @@ -28,12 +28,12 @@ jobs:
namespace: ${{ secrets.OPENSHIFT_NAMESPACE }}

- name: Uninstall Traction via Helm
continue-on-error: true
continue-on-error: false
run: |
helm uninstall traction-sandbox -n ${{ secrets.OPENSHIFT_NAMESPACE }} --wait --timeout=20m
- name: Remove Traction Openshift Objects
continue-on-error: true
continue-on-error: false
run: |
oc delete -n ${{ secrets.OPENSHIFT_NAMESPACE }} all,secret,pod,networkpolicy,configmap,pvc --selector "app.kubernetes.io/instance"=traction-sandbox
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Run Your Job
run: |
echo "This job runs every day at 2:00 AM PST"
echo "This job runs biweekly on 1st and 15th of every month at 2:00 AM PST"
- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
Expand All @@ -58,7 +58,7 @@ jobs:
namespace: ${{ secrets.OPENSHIFT_NAMESPACE }}

- name: Install Traction via Helm
continue-on-error: true
continue-on-error: false
run: |
helm repo add traction https://bcgov.github.io/traction
helm upgrade --install traction-sandbox traction/traction \
Expand Down

0 comments on commit e9822fc

Please sign in to comment.