feat(e2e): use unified Bitwarden secrets runner - #3565
Conversation
Assisted-by: OpenCode
Assisted-by: OpenCode
Replace workspace-specific Vault toggles with the shared rhdh-e2e-secrets command and update affected workspaces to e2e-test-utils 2.3.0. Assisted-by: OpenCode
|
Skipping CI for Draft Pull Request. |
|
|
🤖 Finished Review · ✅ Success · Started 12:41 PM UTC · Completed 12:48 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Cost: $1.39 |
Review — commentStatus: Draft PR · This PR introduces a unified Bitwarden-based secrets runner ( Findings1. 🟡 Missing yarn.lock integrity checksums (medium · correctness)Files: All 24 Every yarn.lock file drops the 2. 🟡 Pre-commit hook bypassed (medium · correctness)File: (commit metadata) The PR body states the commit was created with 3. 🟢 Function-to-env-var naming inconsistency (low · style)Files: Functions renamed from What looks good
Pre-merge checklist
|



What
e2e-secrets.profile.jsonfor resolving global and workspace-specific secret names into the existingVAULT_*environment contract.--secretssupport torun-e2e.sh.test:vaultcommands withtest:secretsusingrhdh-e2e-secrets.@red-hat-developer-hub/e2e-test-utils2.3.0.VAULT_*names so existing CI secret exports remain compatible.This is intended to provide one unified secret-management tool for E2E execution in both
rhdh-plugin-export-overlaysand therhdhrepository.Why the locally installed
bwCLIThe implementation invokes the locally installed Bitwarden
bwexecutable instead of adding the NPM@bitwarden/clipackage. The NPM CLI requires a specific Node.js version, which conflicts with the Node.js versions used by the E2E toolchain and CI. Using the external CLI keeps the Node dependency graph stable and allows both repositories to share the same secret-management flow without coupling it to the CLI package runtime.Validation
tech-radarloaded through the Bitwarden flow; the local run hit an existing customization-provider readiness race.quay.spec.ts: 3 tests timed out after 90 seconds; RHDH, Quay APIs, and the scaffolder action succeeded, so the remaining failure appears to be in UI waits.e2e-test-utils@2.3.0because it is not published yet; the commit was therefore created with--no-verify.Dependency
Requires the corresponding
@red-hat-developer-hub/e2e-test-utils2.3.0release before registry-based installs can run.