Skip to content

Commit

Permalink
RHINENG-10424: More docker-compose pr_check shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
rexwhite committed Jun 28, 2024
1 parent a529935 commit 1e9fad4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build/docker-compose-unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ services:
context: ../
dockerfile: build/Dockerfile
target: test
command: sh -c "npm run test:ci && chmod -fR 777 artifacts"
volumes:
- ../artifacts:/opt/app-root/src/artifacts
command: sh -c "npm run test:ci"
depends_on:
db:
condition: service_healthy
Expand All @@ -29,8 +27,9 @@ services:
- POSTGRESQL_PASSWORD=remediations
- POSTGRESQL_DATABASE=remediations
healthcheck:
test: "psql -c 'SELECT datname FROM pg_database;'"
start_period: 3s
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
start_period: 15s
retries: 6

0 comments on commit 1e9fad4

Please sign in to comment.