Skip to content

Commit

Permalink
provide debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 19, 2024
1 parent ca6fbc5 commit 148703d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/reset-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ jobs:
openshift_server_url: ${{ env.OPENSHIFT_SERVER }}
openshift_token: ${{ env.OPENSHIFT_TOKEN }}
namespace: ${{ env.OPENSHIFT_NAMESPACE }}

- name: set pod replicas to 0 and trigger auto restart
run: |
echo "test"
oc projects
oc project
echo "${{ env.OPENSHIFT_NAMESPACE }}"
echo "${{ env.POD_NAME }}"
oc project ${{ env.OPENSHIFT_NAMESPACE }}
oc scale deployment ${{ env.POD_NAME }} --replicas 0
oc project
oc scale deployment demo-okr-application --replicas 0

0 comments on commit 148703d

Please sign in to comment.