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

fix: add Cargo as a build dependency to charmcraft.yaml #81

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

manadart
Copy link
Member

@manadart manadart commented Nov 8, 2024

This adds Cargo as a dependency to charmcraft.yaml for building the charm.

It is required in order to build the binary wheel(s) required by the included COS libs.

In addition, we use the 2.x/stable version of charmcraft in workflows, so that we can include 24.04 in a list of run-on bases. Version 3 does not support this.

This required in order to build the binary wheel(s) required by the
included COS libs.
@manadart manadart force-pushed the 3.5-charmcraft-cargo branch 2 times, most recently from ec02c3b to a0f5f36 Compare November 8, 2024 15:06
Version 3 of charmcraft does not allow a run-on stanza that includes
24.04 with other versions, but 2 does. So we install this versions for
   our Github workflows.
@manadart manadart force-pushed the 3.5-charmcraft-cargo branch from a0f5f36 to 55fc19d Compare November 8, 2024 15:32
@manadart manadart merged commit a5274b6 into 3.5 Nov 8, 2024
7 of 8 checks passed
@manadart manadart deleted the 3.5-charmcraft-cargo branch November 8, 2024 15:57
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.

3 participants