Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Dec 8, 2023
1 parent c920876 commit 1115c35
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
uses: ./
with:
consumerapi-version: v4.1.3

- run: curl localhost:5000/health

test-custom-port:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ COPY appsettings.override.json /appsettings.override.json
COPY docker-compose.yml /docker-compose.yml

RUN chmod +x /start.sh

ENTRYPOINT ["/start.sh"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
- ./setup-postgres.sql:/app/setup-db/setup-postgres.sql
environment:
- PGPASSWORD=Passw0rd
command: psql -h postgres -U postgres -d enmeshed -f /app/setup-db/setup-postgres.sql
command: sh -c "apt update && apt install -y wget && wget https://raw.githubusercontent.com/nmshd/backbone/capi/${TAG}/setup-db/setup-postgres.sql && psql -h postgres -U postgres -d enmeshed -f ./setup-postgres.sql"
depends_on:
database:
condition: service_healthy
Expand Down
3 changes: 1 addition & 2 deletions start.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
export TAG=$1
export PORT=$2

wget https://raw.githubusercontent.com/nmshd/backbone/capi/${TAG}/setup-db/setup-postgres.sql
docker compose up -d
docker compose up

0 comments on commit 1115c35

Please sign in to comment.