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

draft: PoC for refactor CI epic #47

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

orfeas-k
Copy link
Contributor

@orfeas-k orfeas-k commented Sep 16, 2024

PoC for refactor CI epic. This aims to implement the following:

  1. Build in separate GH runner and publish artifact
    1. Download and use in tests
    2. Download and use in publish job
  2. Use cache for building (on pull request only)
Results

Building time went from 15 minutes (using latest/edge didn't have the hotfix for charmcraftcache to work) to 2 minutes (using charmcraft 2.x/edge).

Implementation notes
  • Uses charmcraft 2.x/edge due to canonical/charmcraft##1456. Note that 3.x/edge didn't work but probably has to do with charmcraftcache or the absence of strict dependencies.
  • Removes charm-python-packages but need to use also charm-strict-dependencies.

Ref canonical/bundle-kubeflow#1070

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