Skip to content

Conversation

rachelekm
Copy link
Collaborator

@rachelekm rachelekm commented May 6, 2024

Overview

As part of building the AMI's for the 3.1.46 release, which included Django upgrade work #1380, the build for the app AMI errored with No matching distribution found for Django==4.2.11 on the Install pip packages for app task. The AMI was building using Ubuntu Server 18.04 LTS which would only have Python 3.6.8. This work should have been covered as part of the Python upgrade work in #1378, and was for the local dev environment in d909581, but not the deployment setup which uses an AWS Ubuntu AMI, independently set by querying for an AMI ID from the current release of a given image name. In order to bring production in line with our dev Ubuntu environment and unblock Django upgrades in production, we need to upgrade the server image name in the path to query as part of our packer deployment script.

Testing Instructions

  • Test AMI's were built using this updated path and used to launch test stack as part of release 3.1.46. Confirm test stack url has no regressions and maintains current functionality: green.production.web.gophillygo.org

Checklist

  • No gulp lint warnings
  • No python lint warnings
  • Python tests pass
  • All TODOs have an accompanying issue link

Copy link
Collaborator

@rajadain rajadain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 tested. Clicked around https://green.production.web.gophillygo.org/ and found it to work correctly. AMI builds also passed. Nice work.

@rajadain rajadain assigned rachelekm and unassigned rajadain May 6, 2024
@rachelekm rachelekm merged commit 29433ca into release/3.1.46 May 6, 2024
@rachelekm rachelekm deleted the hotfix/rm/update-prod-ubuntu-server-ami branch May 6, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants