-
Notifications
You must be signed in to change notification settings - Fork 12
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
ci: refactor on push and release workflows to use same cached build used in tests #657
ci: refactor on push and release workflows to use same cached build used in tests #657
Conversation
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.
Renamed from release.yaml for consistency with data repos
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.
Thanks @NohaIhab ! Some comments.
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.
Thanks @NohaIhab !
* ci, tests: pass charm artefacts to deploy and test charms This commit enables the "--charm-path" option to pass .charm artefacts to be deployed and tested at an individual level. This change enables the option to pass pre-built charms to the tests to avoid building them on the same test. It also ensures compatibility with the build_charm.py reusable workflow (from canonical/data-platform-workflows). Fixes: #639 Use single (cached) build for integration tests & release Fix hardcoded path for `platforms` syntax skip: remove duplicated download-charms remove workflow dispatch from release.yaml not needed add description for outputs rename get charm paths job and channel output skip: rename job in needs pin quality checks back to main due to merging canonical/charmed-kubeflow-workflows#95 Use stage instead of prime in charmcraft files part (#658)
e2459d8
to
11af2a7
Compare
3f1efc3
into
KF-6684-refactor-ci-with-build
Based on #655
Closes #650
Closes #656
Summary
This PR refactors the repo's CI to use the same cached builds for individual integration tests, release charm, and promote workflows.
The workflows are refactored to follow the same structure and conventions as in data platform teams. It includes the following changes:
integrate.yaml
and renames it toci.yaml
release.yaml
which reused data platform workflows'release_charm.yaml
on_pull_request.yaml
andon_push.yaml
workflows, instead they reuse theci.yaml
for tests andrelease.yaml
for releasing to charmhubrelease.yaml
topromote.yaml
Note to reviewers: