This is the snap package to delivery the openstack-exporter.
You can build the snap locally by using the command:
snapcraft --use-lxd
If necessary to update the snap files from upstream, run the following command:
./sync_upstream.sh
If you want to build and publish directly to the edge
channel, you can manually trigger the
Publish snap
using the github action.
You can test the snap locally by using the command:
tox -e func
WARNING: The functional test uses some destructive shell operations (rm
and rmdir
) to clean up after the initial setup, which creates the config files for the exporter in the /etc/openstack
directory.
Charmed OpenStack Exporter is a free software, distributed under the Apache-2.0 license. Refer to the LICENSE file for details.