Draft: Add Secrets Manager E2E tests to CNG pipeline
Relates to issue #573410
Changes
This MR adds E2E tests for GitLab Secrets Manager to the e2e:test-on-cng pipeline.
New CI Job
- Added
cng-secrets-managerjob to.gitlab/ci/test-on-cng/main.gitlab-ci.ymlthat runs tests tagged with:secrets_managerand:orchestrated - Job uses
Test::Integration::SecretsManagerscenario and runs sequentially (not in parallel)
OpenBao Integration
- Modified orchestrator to enable OpenBao subchart during CNG deployment when
secrets_managertag is detected - Added automatic creation of Kubernetes secret (
gitlab-openbao-config) for OpenBao configuration during pre-deployment setup - OpenBao configuration is conditionally merged into Helm chart values based on
QA_RSPEC_TAGSenvironment variable
Pipeline Mapping
- Updated
qa/qa/scenario/test/integration/secrets_manager.rbto map the scenario to thecng-secrets-managerjob for dynamic pipeline generation
Documentation
- Updated
doc/development/testing_guide/end_to_end/test_pipelines.mdwith information about the newcng-secrets-managerjob
The implementation follows the same pattern as existing CNG integration test jobs (e.g., cng-oauth) to ensure consistency with the existing test infrastructure.
Edited by Fabien Catteau