Transcript & slides are below. Please unmute this demo video to hear it with sound. At full screen the video's resolution is better.
DEPP.434-55.DV7_default.mp4
transcript for slide 7.1 hello everyone thank you for watching this video that quickly demos using local terminal and git for app development and Google app engine for production. and finally a trigger linkage between them for CICD. we start with the basics: app, main, requirements, and make file.
Steve Depp MSDS 434 section 55
Setup Continuous Delivery on GCP Platform with Google App Engine and Cloud Build. (This implements via gcloud CLI the architecture demo'd via GCP console by Noah Gift here).
Development: Hello_world flask app with the usual suspects:.
- app.yaml
- main.py
- requirements.txt
- Makefile
transcript for slide 7.2 import dependencies.
Import dependencies —> make install
transcript for slide 7.3 test locally on a development server. here we call app create before calling main.py with python but this could have gone in any order since app create still is a local development environment command.
Test locally with development server locally
transcript for slide 7.4 we improve the code locally and re test. we can see logs change here in light blue as we hit the end point.
Improve code and test locally
transcript for slide 7.5 deploy to production and hit the production server at Google.
transcript for slide 7.6 future development changes would be pushed to a development branch and then merged with master. in this example any push from local terminal to GitHub master triggers a google app redeployment which is ...
Automating GitHub commits to GCP deploy
= automatic production deployment
transcript for slide 7.7 ... true cicd. this is an example of that occurring, but ...
Development environment stages in GitHub —> merges deploy to production end user automatically
transcript for slide 7.8 ... there was and still is a wrinkle with permissions. thank you for watching.
CICD permissioning needs ironing out.