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

Fix deployment workflow for staging site #457

Closed
1 task
MattPereira opened this issue Oct 18, 2023 · 2 comments · Fixed by #458, #460 or #465
Closed
1 task

Fix deployment workflow for staging site #457

MattPereira opened this issue Oct 18, 2023 · 2 comments · Fixed by #458, #460 or #465
Assignees
Labels
feature: GitHub Setup Pertains to GitHub settings milestone: missing PBV: dev all issues for engineering roles (devops, backend, frontend, db) role: devops Pertains to cd/ci tasks size: 2pt Can be done in 7-12 hours

Comments

@MattPereira
Copy link
Contributor

MattPereira commented Oct 18, 2023

Overview

We want to fix our Deploy to Amazon ECS stage environment workflow. Currently it is failing on the Build, tag, and push image to Amazon ECR with the following error:

See screenshots of action logs

image

image

Action Items

  • Figure out how to fix deployment of site to staging environment

Resources/Instructions

@MattPereira MattPereira added size: 2pt Can be done in 7-12 hours feature: GitHub Setup Pertains to GitHub settings role: devops Pertains to cd/ci tasks labels Oct 18, 2023
@MattPereira MattPereira changed the title Fix staging deployment workflow Fix deployment workflow for staging site Oct 18, 2023
@alexlaw528 alexlaw528 self-assigned this Oct 19, 2023
@blulady
Copy link
Member

blulady commented Oct 19, 2023

Error: pg_config executable not found.
#20 13.68
#20 13.68 pg_config is required to build psycopg2 from source. Please add the directory
#20 13.68 containing pg_config to the $PATH or specify the full executable path with the
#20 13.68 option:
#20 13.68
#20 13.68 python setup.py build_ext --pg-config /path/to/pg_config build ...
#20 13.68
#20 13.68 or with the pg_config option in 'setup.cfg'.
#20 13.68
#20 13.68 If you prefer to avoid building psycopg2 from source, please install the PyPI
#20 13.68 'psycopg2-binary' package instead.
#20 13.68
#20 13.68 For further information please check the 'doc/src/install.rst' file (also at
#20 13.68 https://www.psycopg.org/docs/install.html).

@alexlaw528
Copy link
Member

@MattPereira @bzzz-coding

This could be a potential intermittent issue caused by the latest version of poetry - described here

I created PR #458 to attempt to fix though I'm not sure if there's a better way to test the patch without merging my changes to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: GitHub Setup Pertains to GitHub settings milestone: missing PBV: dev all issues for engineering roles (devops, backend, frontend, db) role: devops Pertains to cd/ci tasks size: 2pt Can be done in 7-12 hours
Projects
Archived in project
4 participants