Skip to content

Commit

Permalink
Update to use postgres alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Mar 17, 2024
1 parent 31e611d commit 3eb2b9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/scripts/setup-lab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ docker pull python:3.11-slim
echo Setting up cluster-registry...
sudo bash -c "echo '127.0.0.1 cluster-registry' >> /etc/hosts"

# Make git stop complaining about unsafe folders
git config --global --add safe.directory /app

echo "Setup complete"
4 changes: 2 additions & 2 deletions .github/workflows/bdd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

services:
postgres:
image: postgres
image: postgres:15-alpine
env:
POSTGRES_PASSWORD: pgs3cr3t
POSTGRES_DB: testdb
Expand All @@ -49,7 +49,7 @@ jobs:
run: |
echo "\n*** STARTING APPLICATION ***\n"
gunicorn --log-level=critical --bind=0.0.0.0:8080 wsgi:app &
sleep 5
sleep 10
curl -i http://localhost:8080/health
echo "\n*** SERVER IS RUNNING ***"
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tdd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

services:
postgres:
image: postgres
image: postgres:15-alpine
env:
POSTGRES_PASSWORD: pgs3cr3t
POSTGRES_DB: testdb
Expand Down

0 comments on commit 3eb2b9d

Please sign in to comment.