-
Notifications
You must be signed in to change notification settings - Fork 249
CLDSRV-717: Test S3C setup like in Integration #5914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLDSRV-717: Test S3C setup like in Integration #5914
Conversation
Hello bourgoismickael,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command:
Alternatively, the |
❌ 104 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds S3C (Scality Cloud) functional testing configuration to mirror the Integration environment setup. It introduces comprehensive test infrastructure for S3C compatibility testing by creating location configurations, credentials, and CI workflow integration.
Key changes include:
- S3C location configuration file with multiple data center definitions
- S3C credentials setup for test accounts (default, lisa, replication)
- New GitHub Actions workflow job for S3C functional tests with complete test suite execution
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
tests/locationConfig/locationConfigS3C.json | Defines S3C location configurations for multiple data centers and storage classes |
tests/functional/aws-node-sdk/lib/json/s3c_credentials.json | Provides test credentials for S3C accounts (default, lisa, replication) |
.github/workflows/tests.yaml | Adds new s3c-ft-tests job with comprehensive functional test execution |
.github/docker/setup-s3c.sh | Script to configure S3C environment and accounts matching Integration setup |
.github/docker/md-config-v0.json | Metadata configuration for S3C testing environment |
.github/docker/docker-compose.sse.yaml | Extends Docker Compose with metadata-standalone service and S3C location config |
.github/docker/config.s3c.json | Main S3C configuration file with endpoints, services, and feature settings |
.github/actions/setup-ci/action.yaml | Adds S3C-specific hostname mapping for website endpoints |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
To be reverted once all tests pass
59bcce7
to
788a356
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to deploy vault as well if we want to do it like integration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty awesome call into executing this testsuite here 👌
I have to state though that the setup is starting to look a bit similar to a workbench setup. I don't think workbench have all the necessary config capabilities/code to make it equal, but I think it's worth you having a quick look at it, and share some thoughts onto which direction we should go to eventually add those capabilities in.
echo "Copying s3c credentials to mem credentials" | ||
cp \ | ||
$SCRIPT_DIR/../../tests/functional/aws-node-sdk/lib/json/s3c_credentials.json \ | ||
$SCRIPT_DIR/../../tests/functional/aws-node-sdk/lib/json/mem_credentials.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file supposed to be added in the .gitignore
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is executed in the CI
--canonicalid 79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be | ||
$VAULTCLIENT --config $CONFIG generate-account-access-key \ | ||
--name Bart \ | ||
--accesskey ACC1AK00000000000000 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are specifying those credentials in s3c_credentials.json
should we read from it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily, I've hardcoded here so we can easily rerun manually and quickly troubleshoot without having to look for creds. Same for Integration, it will be hardcoded
@anurag4DSB Yes vault is deployed as well (the latest version with node 22) |
/create_integration_branches |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
The following options are set: create_integration_branches |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
The following options are set: create_integration_branches |
/approve |
Build failedThe build for commit did not succeed in branch w/9.1/improvement/CLDSRV-717-s3c-tests-setup The following options are set: approve, create_integration_branches |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve, create_integration_branches |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-717. Goodbye bourgoismickael. |
To catch errors faster than waiting to run Integration
Note: the commit 788a356 will be reverted once all tests are fixed for S3C