Skip to content

Commit

Permalink
Add migration for orchestrator on google for ci
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Ham <[email protected]>
  • Loading branch information
Dylan Ham authored and MrOrangeAndHam committed Dec 5, 2022
1 parent 1aad6ce commit 27f5888
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ jobs:
--platform managed \
--command=admin \
--port=8884 \
--set-env-vars ORCHESTRATOR_URL=${{ secrets.HEXA_DEMO_ORCHESTRATOR_URL }} \
--set-env-vars ORCHESTRATOR_URL=${{ secrets.HEXA_DEMO_GOOGLE_ORCHESTRATOR_URL }} \
--set-env-vars ORCHESTRATOR_KEY=${{ env.ORCHESTRATOR_KEY }}
google-deploy-hexa-orchestrator:
runs-on: ubuntu-latest
needs: [ google-container ]
needs: [ google-container, google-migrate-orchestrator-db ]
steps:
- uses: actions/checkout@v3
- name: 'authenticate to google cloud'
Expand All @@ -189,9 +189,9 @@ jobs:
--platform managed \
--command=orchestrator \
--port=8885 \
--set-env-vars ORCHESTRATOR_HOSTPORT=hexa-orchestrator:8885 \
--set-env-vars ORCHESTRATOR_HOSTPORT=${{secrets.HEXA_DEMO_GOOGLE_ORCHESTRATOR_HOSTPORT}} \
--set-env-vars ORCHESTRATOR_KEY=${{ env.ORCHESTRATOR_KEY }} \
--set-env-vars POSTGRESQL_URL=${{ secrets.HEXA_DEMO_ORCHESTRATOR_POSTGRESQL_URL }}
--set-env-vars POSTGRESQL_URL=${{ secrets.HEXA_DEMO_GOOGLE_ORCHESTRATOR_POSTGRESQL_URL }}
google-deploy-opa:
runs-on: ubuntu-latest
needs: [ google-container ]
Expand Down

0 comments on commit 27f5888

Please sign in to comment.