Skip to content

Commit

Permalink
feat:Add tenant Id and deployment for prod (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmendrak authored May 20, 2021
1 parent 5d919ab commit 28a1715
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/import-bpmn-diagram.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ do
-H "ServiceAuthorization: Bearer ${serviceToken}" \
-F "deployment-name=$(basename ${file})" \
-F "deploy-changed-only=true" \
-F "tenant-id=civil" \
-F "file=@${filepath}/$(basename ${file})")

upload_http_code=$(echo "$uploadResponse" | tail -n1)
Expand Down
9 changes: 9 additions & 0 deletions bin/variables/load-prod-environment-variables.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -eu

echo 'export ENVIRONMENT=prod'

# urls
echo "export SERVICE_AUTH_PROVIDER_API_BASE_URL=http://rpe-service-auth-provider-prod.service.core-compute-prod.internal"
echo "export CAMUNDA_BASE_URL=http://camunda-api-prod.service.core-compute-prod.internal"

0 comments on commit 28a1715

Please sign in to comment.