Skip to content

Commit

Permalink
Update 01-deploy-control-plane.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeveen authored Mar 19, 2024
1 parent 5c1c0f4 commit cacd0e3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/01-deploy-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,15 @@ jobs:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
organization: ${{ github.repository_owner }}
- name: Azure Login
uses: Azure/Login@v2
with:
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
- name: Setup deployer
run: |
echo '${{ toJSON(github) }}' > /tmp/github_context.json
/source/deploy/automation/01-deploy-control-plane/01-setup-deployer.sh
cd ${SAP_AUTOMATION_REPO_PATH}
deploy/automation/01-deploy-control-plane/01-setup-deployer.sh
env:
APP_REGISTRATION_APP_ID: ${{ secrets.APP_REGISTRATION_APP_ID }}
APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
Expand Down Expand Up @@ -106,7 +111,8 @@ jobs:
- name: Deploy control plane
run: |
echo '${{ toJSON(github) }}' > /tmp/github_context.json
/source/deploy/automation/01-deploy-control-plane/02-deploy-control-plane.sh
cd ${SAP_AUTOMATION_REPO_PATH}
deploy/automation/01-deploy-control-plane/02-deploy-control-plane.sh
env:
APP_REGISTRATION_APP_ID: ${{ secrets.APP_REGISTRATION_APP_ID }}
APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
Expand Down

0 comments on commit cacd0e3

Please sign in to comment.