Skip to content

Commit

Permalink
Fix psycopg2 version and add to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Oct 30, 2024
1 parent c94e0b7 commit 2778291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/deploy_gcloud/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ runs:
pip install -t lib --upgrade "git+https://github.com/ocadotechnology/rapid-router@${RAPID_ROUTER_BRANCH}#egg=rapid-router"
fi
pip install -t lib django-anymail[amazon_ses]
pip install -t lib google-auth==1.*
pip install -t lib psycopg2
pip install -t lib psycopg2==2.9.10
# Install custom common package after everything else if deploying a specific portal branch to ensure the
# changes from common come through
Expand Down Expand Up @@ -155,9 +154,6 @@ runs:
# Check PSQL status
sudo systemctl status postgresql
# Check PSQL port
sudo netstat -nl | grep postgres
# Start Cloud SQL Proxy and migrate
/tmp/cloud_sql_proxy -dir=/cloudsql &
Expand Down
1 change: 1 addition & 0 deletions generate_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"django-redis==4.11.*",
"google-cloud-logging==1.*",
"google-auth==1.*",
"psycopg2==2.9.10"
]
)

Expand Down

0 comments on commit 2778291

Please sign in to comment.