Skip to content
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

Parallelize charm builds in integration tests #627

Open
NohaIhab opened this issue Dec 3, 2024 · 1 comment
Open

Parallelize charm builds in integration tests #627

NohaIhab opened this issue Dec 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@NohaIhab
Copy link
Contributor

NohaIhab commented Dec 3, 2024

Context

In the CI of this repo, the integration tests are packing up to 8 charms in a single GH runner. This is problematic because it is very time consuming and causing pressure on disk space. It is often the cause of the tests failing in the CI.

To solve this, we can parallelize the building of the charms by having each charm build on a separate runner, then pass the built .charm files to the tests through GH artifacts.

A PoC has been implemented in #571, that PR can be used as a reference.

What needs to get done

  1. Refactor the CI to pack each charm in a GH runner
  2. Refactor the CI to pass the packed .charm files to the tests job
  3. Refactor the tests job to use the input .charm files to deploy instead of packing the charms in one runner.

Definition of Done

Charm builds are parallelized and reused across tests in the CI

@NohaIhab NohaIhab added the enhancement New feature or request label Dec 3, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6638.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant