Skip to content

Commit

Permalink
chore: log into cluster after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Oct 17, 2024
1 parent e37c441 commit 0166598
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy-staggered.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,26 @@ jobs:
- name: Checkout current branch
uses: actions/checkout@v4

- name: Login Openshift Gold & Golddr
uses: ./.github/actions/oc-login
with:
namespace: $NAMESPACE
oc-server-gold: ${{ secrets.OPENSHIFT_SERVER_GOLD }}
oc-token-gold: ${{ secrets.OPENSHIFT_TOKEN_GOLD }}
oc-server-golddr: ${{ secrets.OPENSHIFT_SERVER_GOLDDR }}
oc-token-golddr: ${{ secrets.OPENSHIFT_TOKEN_GOLDDR }}

- name: Confirm GoldDR Endpoint is passing
run: |
echo "Confirm the GoldDR Endpoint is passing"
echo "Running on the $NAMESPACE namespace"
chmod +x ./check-endpoint-health.sh
./check-endpoint-health.sh $NAMESPACE golddr
working-directory: transition-scripts

- name: Run transition script
run: |
echo "Running on the $NAMESPACE namespace"
echo "Redeploy the Keycloak app in gold cluster $NAMESPACE namespace."
chmod +x ./deploy-by-cluster.sh
./deploy-by-cluster.sh $NAMESPACE gold
working-directory: transition-scripts

0 comments on commit 0166598

Please sign in to comment.