ci: 运行 PostgreSQL adapter 集成测试 #5

Merged
panxiao81 merged 2 commits from ci/postgresql-integration into main 2026-09-10 17:22:09 +00:00
Owner

概要

这是 PR #4 的 stacked CI PR,只包含将 PostgreSQL adapter integration test 接入 self-hosted Gitea Actions 的改动。

  • Tests job 在常规 unit/envtest 后运行 make test-integration
  • 使用一次性 Docker Compose PostgreSQL/OpenBao fixture
  • if: always() 清理 Compose volumes 和容器
  • 更新 CONTRIBUTING 与 development 文档,说明执行位置和禁止指向真实 homelab database 的安全边界

验证

  • make lint:通过
  • git diff --check:通过
  • 实际 integration test 交由本 PR 的 self-hosted CI 执行

合并顺序

  1. 先 review/merge PR #4
  2. 将本 PR base 改为 main 或在 #4 合并后确认 diff
  3. 再合并本 PR

Refs #1
Depends on #4

## 概要 这是 PR #4 的 stacked CI PR,只包含将 PostgreSQL adapter integration test 接入 self-hosted Gitea Actions 的改动。 - Tests job 在常规 unit/envtest 后运行 `make test-integration` - 使用一次性 Docker Compose PostgreSQL/OpenBao fixture - `if: always()` 清理 Compose volumes 和容器 - 更新 CONTRIBUTING 与 development 文档,说明执行位置和禁止指向真实 homelab database 的安全边界 ## 验证 - `make lint`:通过 - `git diff --check`:通过 - 实际 integration test 交由本 PR 的 self-hosted CI 执行 ## 合并顺序 1. 先 review/merge PR #4 2. 将本 PR base 改为 `main` 或在 #4 合并后确认 diff 3. 再合并本 PR Refs #1 Depends on #4
panxiao81 changed target branch from feature/postgresql-registry to main 2026-09-10 10:59:12 +00:00
panxiao81 added 2 commits 2026-09-10 16:50:46 +00:00
fix: connect integration tests to Compose network
E2E Tests / Run on Ubuntu (pull_request) Failing after 50s
Tests / Run on Ubuntu (pull_request) Successful in 3m58s
Lint / Run on Ubuntu (pull_request) Successful in 4m22s
5ff3cf7282
panxiao81 force-pushed ci/postgresql-integration from c5746130bf to 5ff3cf7282 2026-09-10 16:50:46 +00:00 Compare
panxiao81 merged commit 9be3f3bc14 into main 2026-09-10 17:22:09 +00:00
panxiao81 deleted branch ci/postgresql-integration 2026-09-10 17:22:09 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/postgresql-tenant-operator#5