File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -538,15 +538,17 @@ jobs:
538
538
LICENSE : " accept"
539
539
DBNAME : " doctrine"
540
540
541
- options : " --privileged=true"
541
+ options : >-
542
+ --privileged=true
543
+ --health-cmd "su - db2inst1 -c \"db2 -t CONNECT TO ${DBNAME};\""
544
+ --health-interval 20s
545
+ --health-timeout 10s
546
+ --health-retries 10
542
547
543
548
ports :
544
549
- " 50000:50000"
545
550
546
551
steps :
547
- - name : " Perform healthcheck from the outside"
548
- run : " docker logs -f ${{ job.services.ibm_db2.id }} | sed '/(*) Setup has completed./ q'"
549
-
550
552
- name : " Create temporary tablespace"
551
553
run : " docker exec ${{ job.services.ibm_db2.id }} su - db2inst1 -c 'db2 -t CONNECT TO doctrine; db2 -t CREATE USER TEMPORARY TABLESPACE doctrine_tbsp PAGESIZE 4 K;'"
552
554
You can’t perform that action at this time.
0 commit comments