Skip to content

Commit e526c8d

Browse files
authored
Merge pull request #6859 from morozov/revert-db2-health-check
Revert IBM Db2 health check improvement
2 parents 738e014 + 33086c9 commit e526c8d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/continuous-integration.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -521,17 +521,15 @@ jobs:
521521
LICENSE: "accept"
522522
DBNAME: "doctrine"
523523

524-
options: >-
525-
--health-cmd "su - ${DB2INSTANCE} -c \"db2 -t CONNECT TO ${DBNAME};\""
526-
--health-interval 30s
527-
--health-timeout 10s
528-
--health-retries 5
529-
--privileged
524+
options: "--privileged"
530525

531526
ports:
532527
- "50000:50000"
533528

534529
steps:
530+
- name: "Perform healthcheck"
531+
run: "docker logs -f ${{ job.services.ibm_db2.id }} | sed '/(*) Setup has completed./ q'"
532+
535533
- name: "Create temporary tablespace"
536534
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;'"
537535

0 commit comments

Comments
 (0)