ci: clarify Postgres service hostname for Gitea act_runner vs VM runners
Some checks failed
CI / Lint and Type Check (push) Failing after 2m55s
CI / Test (push) Failing after 2m34s
CI / Build (push) Failing after 1m56s
CI / Security Scan (push) Successful in 1m10s
CI / Generate SBOM (push) Failing after 2m49s
Security Audit / Security Audit (push) Failing after 2m58s
Security Audit / Dependency Review (push) Has been skipped
Security Audit / CodeQL Analysis (push) Successful in 3m26s
CI / Build Docker Images (dataroom) (push) Has been skipped
CI / Build Docker Images (finance) (push) Has been skipped
CI / Build Docker Images (identity) (push) Has been skipped
CI / Build Docker Images (intake) (push) Has been skipped
Some checks failed
CI / Lint and Type Check (push) Failing after 2m55s
CI / Test (push) Failing after 2m34s
CI / Build (push) Failing after 1m56s
CI / Security Scan (push) Successful in 1m10s
CI / Generate SBOM (push) Failing after 2m49s
Security Audit / Security Audit (push) Failing after 2m58s
Security Audit / Dependency Review (push) Has been skipped
Security Audit / CodeQL Analysis (push) Successful in 3m26s
CI / Build Docker Images (dataroom) (push) Has been skipped
CI / Build Docker Images (finance) (push) Has been skipped
CI / Build Docker Images (identity) (push) Has been skipped
CI / Build Docker Images (intake) (push) Has been skipped
Merge duplicate comments from CI workflow conflict resolution. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -60,7 +60,8 @@ jobs:
|
||||
--health-retries 5
|
||||
ports:
|
||||
- 5432:5432
|
||||
# Hostname must match `services:` id. `localhost` breaks Gitea act_runner (Docker job).
|
||||
# Hostname must match `services:` id. `localhost` breaks Gitea act_runner (Docker job);
|
||||
# use the service name for Dockerized runners; VM runners may map host ports differently.
|
||||
env:
|
||||
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test
|
||||
TEST_DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test
|
||||
|
||||
Reference in New Issue
Block a user