perf: optimize postgres health check in all CI workflows (#26343)
* perf: optimize postgres health check in e2e workflow Co-Authored-By: keith@cal.com <keithwillcode@gmail.com> * perf: optimize postgres health check in all e2e workflows Co-Authored-By: keith@cal.com <keithwillcode@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
38890de7f1
commit
c47c6f2909
6 files changed
+30
-24
No files matched your search
@@ -56,10 +56,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
steps:
|
||||
|
||||
@@ -43,10 +43,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
redis:
|
||||
|
||||
@@ -57,10 +57,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
mailhog:
|
||||
|
||||
@@ -57,10 +57,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
strategy:
|
||||
|
||||
@@ -57,10 +57,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
mailhog:
|
||||
|
||||
@@ -57,10 +57,11 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: calendso
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
--health-cmd "pg_isready -h 127.0.0.1 -U postgres"
|
||||
--health-interval 2s
|
||||
--health-timeout 3s
|
||||
--health-retries 15
|
||||
--health-start-period 2s
|
||||
ports:
|
||||
- 5432:5432
|
||||
mailhog:
|
||||
|
||||
Reference in new issue
Block a user