Skip to content

local_overlay support for charmcraft built charms #579

@freyes

Description

@freyes

Charms that define multiple bases can produce multiple output files with long names (e.g. octavia_ubuntu-20.04_ubuntu-22.04.charm), this makes more time consuming to have the testing bundles right, but also you have to keep them updated as bases get dropped and added to enable new ubuntu series.

It would be nice if the local_overlay flag could programmatically detect what's the right charm for a bundle, it would be necessary to read the series key in the bundle, at the top level and at the application level, e.g:

series: jammy
applications:
  keystone:
    charm: ch:keystone
    series: jammy

^ in this case the overlay generated should look something like this:

applications:
  keystone:
    charm: "../../keystone_ubuntu-22.04-amd64_ubuntu-22.10-amd64.charm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions