Migrating to Python 3 using Docker for your CI/CD pipeline (even if you can't use it in production)
summary
Shows a concrete path to migrate a Python 2.7 app to Python 3.7 by building and testing inside containers, then using the container as a packaging artifact to copy files out of image and install on hosts that cannot run Docker. Uses AWS CodePipeline / CodeBuild / CodeDeploy, ECR and Terraform to create VPC, subnets, ALB and an ASG with two instances. Starts with one passing test, updates requirements, and ends with a green pipeline and successful deployment, demonstrating Docker for CI/CD only and CodePipeline + CodeDeploy.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:37Global Infrastructure Map
- 15:58Upgrading to Version 3
- 17:38Prep Install Flask
- 18:05Update Our Requirements File
- 23:50Create a Container
- 26:59Build Commands
related talks
34mModern development environments for Pythonistas
26mHow to containerize Python applications with Docker
27mWrite portable CI/CD pipelines using Python
48mHow to build solid CI-CD pipeline
02h 28mWorkshop: Learn How to Dockerize Your Python Application
45mRunning Django on Docker: a workflow and code
23mCleaning Up Your Python Environment Superfund Site
39mA Pythonic Approach to Continuous Delivery
