Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update circle config #4648

Merged
merged 3 commits into from
Oct 1, 2020
Merged

update circle config #4648

merged 3 commits into from
Oct 1, 2020

Conversation

pkfec
Copy link
Contributor

@pkfec pkfec commented Sep 30, 2020

Summary (required)

  1. Update python docker image version to match the python version given in the runtime.txt file
  2. Update Postgres docker image version to match the DB version in our govcloud environment
  3. Set POSTGRES_HOST_AUTH_METHOD: "trust" environment variable. Builds fail without this env variable.

Include a summary of proposed changes.

  • Update docker images in circleci/config.yml file :
  1. Python from 3.7.4-buster to 3.7.8-buster
  2. Postgres from 9.6 to 10.11

Screenshots

  • Before upgrade:

Screen Shot 2020-09-30 at 5 48 42 PM

Screen Shot 2020-09-29 at 5 21 29 PM

  • After upgrade:

Screen Shot 2020-09-30 at 4 59 56 PM

Screen Shot 2020-09-30 at 5 01 09 PM

How to test the changes locally

  • Rebuild or Rerun feature/4425-update-circle-config branch on circleci and notice Spin up environment and Container circleci tasks downloading the upgraded python and postgres docker images.

Copy link
Contributor

@jason-upchurch jason-upchurch left a comment

Choose a reason for hiding this comment

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

Thank you @pkfec! I ran pytest independently and deployed this PR to dev space and tested some endpoints. All appears to be working. And thanks for adding the bit about PG. It appears to be a known issue docker/docs#10529

@lbeaufort lbeaufort merged commit e577751 into develop Oct 1, 2020
@lbeaufort lbeaufort deleted the feature/4425-update-circle-config branch October 1, 2020 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Python and PG in /.circleci/config.yml to be consistent with runtime version
3 participants