~/talk

Migrating to Python 3 using Docker for your CI/CD pipeline (even if you can't use it in production)

Talkat PyConZA 2019 · 2019-10-09..10-11· [devops-and-delivery, python]
slides:none on file

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

  1. 0:00Start
  2. 2:37Global Infrastructure Map
  3. 15:58Upgrading to Version 3
  4. 17:38Prep Install Flask
  5. 18:05Update Our Requirements File
  6. 23:50Create a Container
  7. 26:59Build Commands
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.