Skip to content

Commit

Permalink
Added sleep before the database check
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Dec 23, 2019
1 parent f8a0078 commit ab6425e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,16 @@ jobs:
run: docker-compose build --pull --build-arg APP_ENV=$APP_ENV --build-arg APP_BUILD=$APP_BUILD
- name: Run the docker image
run: docker-compose up -d
- name: Taking some sleep
- name: Taking some sleep (for containers to come up)
run: sleep 200
- name: Check if all containers are running
run: docker ps
- name: Dumping the logs
run: docker-compose logs
- name: Database Update
run: docker-compose exec -T php bin/console doctrine:schema:update --force
- name: Taking some more sleep (for database to be updated)
run: sleep 20
- name: Database Check
run: docker-compose exec -T php bin/console doctrine:schema:validate
- name: Security Checks
Expand Down

0 comments on commit ab6425e

Please sign in to comment.