test: refactor pull secret helper functions and update go-doc - #6188
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test e2e-parallel |
Martin Bukatovic (mbukatov)
left a comment
There was a problem hiding this comment.
This looks nice, thanks for the refactoring!
|
/lgtm thank you for the fix |
|
/test e2e-parallel |
|
/assign Patrik Suba (@patriksuba) |
|
/test e2e-parallel |
|
/approve |
|
/test e2e-parallel |
3 similar comments
|
/test e2e-parallel |
|
/test e2e-parallel |
|
/test e2e-parallel |
|
/test e2e-parallel |
|
/hold Revision 0f8316c was retested 3 times: holding |
|
/test e2e-parallel |
|
/hold cancel |
|
/test e2e-parallel |
|
/test e2e-parallel |
refactor existing pull-secret related helpers for reusability. Update documentation with details and upstream references. Update existing E2E test to use the new helper functions. https://redhat.atlassian.net/browse/ARO-27529
0f8316c to
4c5b0b7
Compare
|
/test images |
Martin Bukatovic (mbukatov)
left a comment
There was a problem hiding this comment.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mbukatov, mgahagan73, mvacula02 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test images |
1 similar comment
|
/test images |
|
/test e2e-parallel |
1 similar comment
|
/test e2e-parallel |
ARO-27529
What
Why
Refactor the existing helper functions related to customer pull secret handling in the E2E test code base to ensure they are modular, reusable, and well-documented. Future test case ARO-27528 will build on this.
Updating documentation as the pull-secret management feature is complex and future readability will greatly benefit from the additional context provided for both the helpers and the verifier.
Testing
This PR modifies existing test framework helper functions and a single E2E test case. No behavioral changes.
Adding unit tests for CreateTestDockerConfigSecret, AddRegistryAuthToSecret (3 scenarios).
PR Checklist
If E2E tests are included:
demonstrate that the test is able to detect a defect/error and fail with
proper error message and logs which communicates nature of the problem.