Skip to content

Commit

Permalink
Merge pull request #57 from los-verdes/remotesql-partdeux
Browse files Browse the repository at this point in the history
remote sql same as prod for GHA purposes...?
  • Loading branch information
jeffwecan authored Feb 17, 2024
2 parents a980bbb + 49cb99d commit 57c1710
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flask_command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
tool: just

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Utilize pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-pip-${{ hashFiles('requirements.txt') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
tool: just

- name: Utilize .terraform cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: terraform/.terraform
key: ${{ hashFiles('terraform/.terraform.lock.hcl') }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
tool: just

- name: Utilize .terraform cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: terraform/.terraform
key: ${{ hashFiles('terraform/.terraform.lock.hcl') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
tool: just

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Utilize pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-pip-${{ hashFiles('requirements-test.txt') }}
Expand Down
5 changes: 0 additions & 5 deletions member_card/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,6 @@ class TestSettings(Settings):


class RemoteSqlProductionSettings(ProductionSettings):
# SQLALCHEMY_DATABASE_URI: str = "postgresql://website%40lv-digital-membership.iam@127.0.0.1:5434/lv-digital-membership"

def use_gcp_sql_connector(self):
pass

def __init__(self) -> None:
super().__init__()

Expand Down

0 comments on commit 57c1710

Please sign in to comment.