-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create workflow that has build with cache job #87
Labels
enhancement
New feature or request
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6690.
|
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6691.
|
DnPlas
added a commit
that referenced
this issue
Dec 17, 2024
…ith cache This new workflow uses the canonical/data-platform-workflows/.github/workflows/build_charm.yaml as the central piece for building charms in dedicated machines and uploading them as artefacts. This is beneficial because it will allow the CI of pull requests to use charm artefacts in different operations, such as testing and publishing, this change also helps reducing the build time as the build_charm.yaml workflow is set to use charmcarft cache. Fixes #87
DnPlas
added a commit
that referenced
this issue
Dec 17, 2024
…ith cache This new workflow uses the canonical/data-platform-workflows/.github/workflows/build_charm.yaml as the central piece for building charms in dedicated machines and uploading them as artefacts. This is beneficial because it will allow the CI of pull requests to use charm artefacts in different operations, such as testing and publishing, this change also helps reducing the build time as the build_charm.yaml workflow is set to use charmcarft cache. Fixes #87
DnPlas
added a commit
that referenced
this issue
Dec 17, 2024
…ith cache This new workflow uses the as the central piece for building charms in dedicated machines and uploading them as artefacts. This is beneficial because it will allow the CI of pull requests to use charm artefacts in different operations, such as testing and publishing, this change also helps reducing the build time as the workflow is set to use charmcarft cache. Fixes #87
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
The
canonical/data-platform-workflows/.github/workflows/build_charm.yaml
(docs here) workflow allows charms to be independently built with charmcraft cache which:.charm
as artefactsSome of the team's repositories are having trouble specially because of the above. To resolve the situation, the
build_charm
reusable workflow can be includedon_push
andon_pull
workflows.What needs to get done
Create a common workflow that includes the
build_charm.yaml
workflow. Thepublish
andtests
jobs will depend on it.The changes will look like this:
For repositories with multiple charms we can use the
get-charm-paths
action.Definition of Done
There is a common workflow that all repositories can use for building charms with cache, charm files are downloadable, and adapts to repositories with multiple charms.
The text was updated successfully, but these errors were encountered: