From 148703d9fee032bc6cc093b6c156e1c7a57a4f41 Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Tue, 19 Nov 2024 13:07:50 +0100 Subject: [PATCH] provide debug output --- .github/workflows/reset-demo.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reset-demo.yml b/.github/workflows/reset-demo.yml index 9b39b398c0..0bcee22593 100644 --- a/.github/workflows/reset-demo.yml +++ b/.github/workflows/reset-demo.yml @@ -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 \ No newline at end of file + oc project + oc scale deployment demo-okr-application --replicas 0 \ No newline at end of file