Skip to content

Commit

Permalink
Add deploy-app-init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lliillyy committed Dec 11, 2023
1 parent 03c2bc0 commit ce491cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app_deploy/deploy-app-init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Build and Push Docker Containers to GCR
ansible-playbook deploy-docker-images.yml -i inventory.yml
# Create and Deploy Cluster
ansible-playbook deploy-k8s-cluster.yml -i inventory.yml --extra-vars cluster_state=present
# Once the command runs go to http://<YOUR INGRESS IP>.sslip.io
2 changes: 2 additions & 0 deletions src/app_deploy/deploy-app.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# # Build and Push Docker Containers to GCR
ansible-playbook deploy-docker-images.yml -i inventory.yml
# Update Cluster
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml

0 comments on commit ce491cc

Please sign in to comment.