feat(integration-tests): add ATP Storage S3 integration#84
Open
elbe0116 wants to merge 1 commit intoNetcracker:feat/atp_robot_pluginfrom
Open
feat(integration-tests): add ATP Storage S3 integration#84elbe0116 wants to merge 1 commit intoNetcracker:feat/atp_robot_pluginfrom
elbe0116 wants to merge 1 commit intoNetcracker:feat/atp_robot_pluginfrom
Conversation
22dd67c to
86e607d
Compare
86e607d to
a481fce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description: ATP Storage (S3) for RabbitMQ integration tests
What type of PR is this? (check all applicable)
Description
This PR adds ATP Storage (S3-compatible) integration for the RabbitMQ operator integration tests: Helm values and deployment env vars align with the Consul/Kafka pattern so test results can be uploaded to AWS S3 or other S3-compatible storage from CI or AWS installs.
The integration test image is based on
ghcr.io/netcracker/qubership-docker-integration-tests:main(same approach as Kafka). Dockerfile updates keep EKS/S3 compatibility (root for install, non-root runtime, permissions for the S3 adapter scripts).Key changes
1. Helm values (
operator/charts/helm/rabbitmq/values.yaml)tests.atpStorage(provider, serverUrl, serverUiUrl, bucket, region, username, password).tests.atpReportViewUiUrl,tests.environmentName(optional reporting / environment label).2. Integration test deployment (
templates/integration_tests/deployment.yaml)tests.atpStorage.provideris set, injects:ATP_STORAGE_PROVIDER,ATP_STORAGE_SERVER_URL,ATP_STORAGE_SERVER_UI_URL,ATP_STORAGE_BUCKET,ATP_STORAGE_REGION,ATP_STORAGE_USERNAME,ATP_STORAGE_PASSWORD.ATP_REPORT_VIEW_UI_URL,ENVIRONMENT_NAME(fromtests.atpReportViewUiUrl,tests.environmentName).3. Operator robot image (
operator/operator-robot-image/)USER rootfor install/EKS compatibility;USER 1000:0at runtime; ownership/permissions onROBOT_HOMEfor S3 scripts.rabbitmq_pod_checker.py,NCRabbitMQLibrary.py,requirements.txtas needed for the updated test stack.4. README
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Prerequisites
tests.runTests: true).Testing steps
tests.atpStoragein values (or workflow inputs): provider, server URL, bucket, region, credentials; optional UI URLs andenvironmentName.robot-output/{environment}/{timestamp}/depending on base image conventions).tests.atpReportViewUiUrlis set, confirm report links behave as expected.Breaking Change checklist
tests.*parameters; deployments without filling ATP storage can keep prior behavior (empty bucket / no upload per base image rules).Added/updated tests?