File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
41
41
DOCKER_BUILDKIT : ' 1'
42
42
COMPOSE_DOCKER_CLI_BUILD : ' 1'
43
43
SERVICES_NAME : " app.php mysql80"
44
- run : docker-compose up -d $SERVICES_NAME
45
- timeout-minutes : 1
44
+ run : docker-compose up --force-recreate - d $SERVICES_NAME
45
+ timeout-minutes : 3
46
46
47
47
- name : Wait for all services to become healthy
48
48
run : for SVC in "app.php" "mysql80"; do while [ "\"healthy\"" != "$(docker inspect --format '{{json .State.Health.Status }}' ${SVC})" ];do docker-compose ps && sleep 5; done; done
49
- timeout-minutes : 2
49
+ timeout-minutes : 3
50
50
51
51
- name : Sleep
52
52
run : sleep 4
Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ jobs:
73
73
DOCKER_BUILDKIT : ' 1'
74
74
COMPOSE_DOCKER_CLI_BUILD : ' 1'
75
75
SERVICES_NAME : " app.php82 mysql80"
76
- run : docker-compose up -d $SERVICES_NAME
77
- timeout-minutes : 2
76
+ run : docker-compose up --force-recreate - d $SERVICES_NAME
77
+ timeout-minutes : 3
78
78
79
79
- name : Wait for all services to become healthy
80
80
run : for SVC in "app.php82" "mysql80"; do while [ "\"healthy\"" != "$(docker inspect --format '{{json .State.Health.Status }}' ${SVC})" ];do docker-compose ps && sleep 5; done; done
81
- timeout-minutes : 2
81
+ timeout-minutes : 3
82
82
83
83
- name : Sleep
84
84
run : sleep 4
You can’t perform that action at this time.
0 commit comments