Scheduling infrastructure for absolutely everyone.
perf: optimize postgres health check in all CI workflows (#26343)
Keith Williamsc47c6f290985
diff --git a/.github/workflows/api-v1-production-build.yml b/.github/workflows/api-v1-production-build.ymlindex d3a35bc8f43..8f59aa5480f 100644--- a/.github/workflows/api-v1-production-build.yml+++ b/.github/workflows/api-v1-production-build.yml@@ -56,10 +56,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432steps:diff --git a/.github/workflows/e2e-api-v2.yml b/.github/workflows/e2e-api-v2.ymlindex 1eb94959711..d080eb8e298 100644--- a/.github/workflows/e2e-api-v2.yml+++ b/.github/workflows/e2e-api-v2.yml@@ -43,10 +43,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432redis:diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.ymlindex 01952477b34..8a4ca30454f 100644--- a/.github/workflows/e2e-app-store.yml+++ b/.github/workflows/e2e-app-store.yml@@ -57,10 +57,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432mailhog:diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.ymlindex d82982fadb8..80112c3e4b4 100644--- a/.github/workflows/e2e-embed-react.yml+++ b/.github/workflows/e2e-embed-react.yml@@ -57,10 +57,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432strategy:diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.ymlindex 170270fb113..614b098d935 100644--- a/.github/workflows/e2e-embed.yml+++ b/.github/workflows/e2e-embed.yml@@ -57,10 +57,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432mailhog:diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 9498cd55153..a5132a89d11 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -57,10 +57,11 @@ jobs:POSTGRES_PASSWORD: postgresPOSTGRES_DB: calendsooptions: >-- --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 2sports:- 5432:5432mailhog: