Skip to content

(wip) functional tests for sse KMS Migration #5793

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

Open
wants to merge 5 commits into
base: hotfix/7.70.21.outscale
Choose a base branch
from

Conversation

BourgoisMickael
Copy link
Contributor

WIP: run previous version in CI to setup tests and then run latest version.

I'll try to make tests cleaner

@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-tests branch from 1a9a476 to 7412709 Compare May 5, 2025 10:17
@BourgoisMickael BourgoisMickael requested a review from Copilot May 5, 2025 10:21
Copy link

@Copilot Copilot AI left a 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 functional tests to verify the SSE KMS migration, including bucket cleanup procedures and updated CI workflow steps to run tests before and after migration.

  • Added a cleanup script to remove test buckets post-migration tests.
  • Introduced a new matrix job in the CI workflow to execute tests under different configurations, with corresponding environment variable adjustments.
  • Updated the Docker Compose configuration to mount dynamic configuration files and local data directories required for the tests.

Reviewed Changes

Copilot reviewed 6 out of 10 changed files in this pull request and generated 2 comments.

File Description
tests/functional/kms-sse-migration/cleanup.js Adds a cleanup script for emptying and deleting test buckets.
.github/workflows/tests.yaml Introduces a new matrix job for SSE KMS migration tests and updates test steps accordingly.
.github/docker/docker-compose.yaml Adds volume mounts for dynamic config and local data required during testing.
Files not reviewed (4)
  • package.json: Language not supported
  • tests/functional/kms-sse-migration/config.before.json: Language not supported
  • tests/functional/kms-sse-migration/config.sseMigration.hideArn.json: Language not supported
  • tests/functional/kms-sse-migration/config.sseMigration.showArn.json: Language not supported

@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-tests branch 19 times, most recently from 42ae679 to 03020da Compare May 5, 2025 23:30
@BourgoisMickael BourgoisMickael changed the base branch from improvement/CLDSRV-636-kms-provider to improvement/CLDSRV-636-kms-provider-outscale-config May 6, 2025 14:22
@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-tests branch from 03020da to 14720c2 Compare May 6, 2025 16:31
@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-outscale-config branch from e7ed145 to 3ec9594 Compare May 8, 2025 22:14
@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-tests branch 4 times, most recently from 8ef4580 to 0f428f2 Compare May 8, 2025 23:45
@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-outscale-config branch from 3ec9594 to a3cb2d6 Compare May 13, 2025 17:46
@BourgoisMickael BourgoisMickael force-pushed the improvement/CLDSRV-636-kms-provider-tests branch from 81e04ff to 9e168fb Compare May 13, 2025 17:55
Base automatically changed from improvement/CLDSRV-636-kms-provider-outscale-config to hotfix/7.70.21.outscale May 14, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant