Skip to content

Commit

Permalink
Merge pull request #55 from los-verdes/remotesql_in_workflows_patchup
Browse files Browse the repository at this point in the history
Try applying migrations without SQLALCHEMY_DATABASE_URI set?
  • Loading branch information
jeffwecan authored Feb 17, 2024
2 parents d8ac738 + 85ec547 commit 6657a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image_build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ jobs:

- name: Login to GCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: gcr.io
username: oauth2accesstoken
password: ${{ steps.auth.outputs.access_token }}

- name: Generate Docker Tags
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Build and Push to GCR
id: publish
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion member_card/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class TestSettings(Settings):


class RemoteSqlProductionSettings(ProductionSettings):
SQLALCHEMY_DATABASE_URI: str = "postgresql://website%[email protected]:5434/lv-digital-membership"
# SQLALCHEMY_DATABASE_URI: str = "postgresql://website%[email protected]:5434/lv-digital-membership"

def use_gcp_sql_connector(self):
pass
Expand Down

0 comments on commit 6657a4b

Please sign in to comment.