File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
content/actions/tutorials/use-containerized-services Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 6464 # Set health checks to wait until postgres has started
6565 options : >-
6666 --health-cmd pg_isready
67- --health-interval 10s
68- --health-timeout 5s
69- --health-retries 5
67+ --health-interval 1s
68+ --health-timeout 1s
69+ --health-retries 30
7070
7171 steps :
7272 # Downloads a copy of the code in your repository before running CI tests
@@ -117,9 +117,9 @@ jobs:
117117 # Set health checks to wait until postgres has started
118118 options : >-
119119 --health-cmd pg_isready
120- --health-interval 10s
121- --health-timeout 5s
122- --health-retries 5
120+ --health-interval 1s
121+ --health-timeout 1s
122+ --health-retries 30
123123` ` `
124124
125125### Configuring the steps for jobs in containers
@@ -182,9 +182,9 @@ jobs:
182182 # Set health checks to wait until postgres has started
183183 options : >-
184184 --health-cmd pg_isready
185- --health-interval 10s
186- --health-timeout 5s
187- --health-retries 5
185+ --health-interval 1s
186+ --health-timeout 1s
187+ --health-retries 30
188188 ports :
189189 # Maps tcp port 5432 on service container to the host
190190 - 5432:5432
@@ -239,9 +239,9 @@ jobs:
239239 # Set health checks to wait until postgres has started
240240 options : >-
241241 --health-cmd pg_isready
242- --health-interval 10s
243- --health-timeout 5s
244- --health-retries 5
242+ --health-interval 1s
243+ --health-timeout 1s
244+ --health-retries 30
245245 ports :
246246 # Maps tcp port 5432 on service container to the host
247247 - 5432:5432
You can’t perform that action at this time.
0 commit comments