~uosci/ubuntu-openstack-ci/trunk

Viewing all changes in revision 435.

  • Committer: Liam Young
  • Date: 2020-08-17 13:59:28 UTC
  • mfrom: (434.1.2 ubuntu-openstack-ci)
  • Revision ID: liam.young@canonical.com-20200817135928-s1a8rmgblz86e9ha
[gnuoy, r=aurelien-lourot] Support Operator framework charms

The build process for an Operator framework charm that uses the
charmcraft for building is a zip file containing the charm. During the build
phase a new variable BUILT_ASSET_FILE is used to track the location of this
file.

The mechanism for storing the built charm for consumption by later tests
is mostly the same as for other built charms accept the tar ball created to
store the built charm contains only the zip file. There is obviously not
much point in tar'ing up a zip file but in this case it does not do any
harm and minimises the number changes needed to support the new charms.

Once the previously stored charm is retrieved by a future step it is
untar'd and then the zip file is unzipped into a new 'unpacked' directory.
The zip file is then copied into that directory and the charm is then
ready for its functional tests to be run.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: