Skip to content

Commit

Permalink
Don't use shorthand flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Dec 3, 2024
1 parent 360ba86 commit fb87dd7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-prod-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
cp docker/tess.docker-test.yml config/tess.yml
cp config/secrets.example.yml config/secrets.yml
- name: Build & run
run: docker compose -f docker-compose-prod.yml up --build --detach --wait --wait-timeout 60
- name: Docker ps
run: sleep 120 | docker ps -a
run: docker compose --file docker-compose-prod.yml up --build --detach --wait --wait-timeout 60
- name: Setup
run: docker compose -f docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1
run: docker compose --file docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1
- name: Test
run: docker compose logs -f app & curl -v http://localhost:3000/ | sleep 6
run: |
docker compose --file docker-compose-prod.yml logs --follow &
curl --fail http://localhost:3000/

0 comments on commit fb87dd7

Please sign in to comment.