Skip to content

Commit

Permalink
Removed command to test Terraform in AWS, modified values in sealed s…
Browse files Browse the repository at this point in the history
…ecret to reflect new database connection settings, removed deployment of Postgres in pod
  • Loading branch information
giulio-giunta committed Jan 1, 2024
1 parent 294fc2a commit 492f5e3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
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

0 comments on commit 492f5e3

Please sign in to comment.