Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from Azure Postgres single server to flexible server #54

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ jobs:
- run:
name: Terraform cycle
command: |
cd aws/terraform-aws
terraform init
terraform plan
cd ../../azure/terraform-azure
cd azure/terraform-azure
terraform init
terraform plan
working_directory: ~/project
Expand Down
2 changes: 1 addition & 1 deletion azure/deploy-prod-in-azure
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kubectl apply -f rabbitmq/ingress-rabbitmq-mgmt.yaml
export CELERY_BROKER_URL=$(echo -n "amqp://$(kubectl -n rabbitmq-system get secret geek-zone-cluster-default-user -o jsonpath='{.data.username}' | base64 --decode):$(kubectl -n rabbitmq-system get secret geek-zone-cluster-default-user -o jsonpath='{.data.password}' | base64 --decode)@$(kubectl -n rabbitmq-system get service geek-zone-cluster -o jsonpath='{.spec.clusterIP}')")
envsubst < celery/celery-deploy.yaml | sponge celery/celery-deploy.yaml
kubectl apply -f celery/celery-deploy.yaml
kubectl apply -f postgres/postgres.yaml
# kubectl apply -f postgres/postgres.yaml # Uncomment if not using managed database
sleep 30
envsubst < prod-environment/deploy-gz-web.yaml | sponge prod-environment/deploy-gz-web.yaml
kubectl apply -f prod-environment/
Expand Down
Loading