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

chore: merge hotfix/2.7 into main #1742

Merged
merged 12 commits into from
Jul 19, 2024
Merged

chore: merge hotfix/2.7 into main #1742

merged 12 commits into from
Jul 19, 2024

Conversation

lengau
Copy link
Collaborator

@lengau lengau commented Jul 18, 2024

Brings 2.7.0 and 2.7.1 into main.

Most notably, brings #1740 to main.

lengau and others added 11 commits January 30, 2024 14:52
The `config.options` section of `charmcraft.yaml` supports, from Juju
3.1, a type `secret` (this is currently missing from the documentation,
but the Juju team are addressing that now).

This adds support for that, so that Charmcraft 2.5 can be used to pack
charms that make use of this functionality.
This bumps only craft-providers and craft-store to match the minor
versions used by snapcraft 7.x
Allows Charmcraft 2.7+ to use skopeo urls directly when uploading an
oci-image resource.

Example:

```
$ charmcraft upload-resource lengau-test-charm example-image --image docker://ghcr.io/canonical/charmed-mysql:8.0.36-22.04_edge
Image not found locally. Passing path directly to skopeo.                                         
Revision 6 created of resource 'example-image' for charm 'lengau-test-charm'.      
$
```
This reduces the chances of having pip install binary packages as
indirect dependencies.

Partial fix for #1473
@lengau lengau added the merge label Jul 18, 2024
@lengau lengau force-pushed the hotfix-merge/2.7 branch 2 times, most recently from dd9d9cf to ba0248c Compare July 18, 2024 21:21
@lengau lengau requested a review from a team July 18, 2024 21:22
@lengau lengau force-pushed the hotfix-merge/2.7 branch from ba0248c to 0c43e2c Compare July 18, 2024 21:24
@dariuszd21 dariuszd21 requested a review from a team July 18, 2024 22:59
@lengau lengau merged commit 1f6730c into main Jul 19, 2024
15 of 17 checks passed
@lengau lengau deleted the hotfix-merge/2.7 branch July 19, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants