snap-openstackclients/snapcraft.yaml
James Page 36368ea91f Add octavia CLI
Change-Id: I59ff848007b64782ccb0bd8da9ff8ff34150c8bf
2018-12-04 10:35:47 +00:00

119 lines
2.9 KiB
YAML

name: openstackclients
version: rocky
summary: OpenStack Client tools
description: |
OpenStackClient (aka OSC) is a command-line client for OpenStack
that brings the command set for Compute, Identity, Image, Object
Store and Block Storage APIs together in a single shell with a
uniform command structure.
.
The primary goal is to provide a unified shell command structure
and a common language to describe operations in OpenStack.
.
This snap provides the openstack command-line client and other
project specific command-line clients.
confinement: classic
grade: stable
apps:
openstack:
command: bin/openstack
glance:
command: bin/glance
gnocchi:
command: bin/gnocchi
neutron:
command: bin/neutron
nova:
command: bin/nova
cinder:
command: bin/cinder
aodh:
command: bin/aodh
barbican:
command: bin/barbican
ceilometer:
command: bin/ceilometer
cloudkitty:
command: bin/cloudkitty
designate:
command: bin/designate
freezer:
command: bin/freezer
glance:
command: bin/glance
heat:
command: bin/heat
ironic:
command: bin/ironic
magnum:
command: bin/magnum
manila:
command: bin/manila
mistral:
command: bin/mistral
monasca:
command: bin/monasca
murano:
command: bin/murano
swift:
command: bin/swift
tacker:
command: bin/tacker
trove:
command: bin/trove
vitrage:
command: bin/vitrage
watcher:
command: bin/watcher
parts:
openstackclients:
plugin: python
python-version: python3
python-packages:
- aodhclient
- python-barbicanclient
- python-ceilometerclient
- python-cloudkittyclient
- python-congressclient
- python-designateclient
- python-freezerclient
- python-glanceclient
- python-heatclient
- python-ironicclient
- python-keystoneclient
- python-magnumclient
- python-manilaclient
- python-mistralclient
- python-monascaclient
- python-muranoclient
- python-saharaclient
- python-searchlightclient
- python-senlinclient
- python-swiftclient
- python-tackerclient
- python-troveclient
- python-vitrageclient
- python-watcherclient
- python-zaqarclient
- python-neutronclient
- python-openstackclient
- gnocchiclient
- python-octaviaclient
constraints: https://raw.githubusercontent.com/openstack/requirements/stable/rocky/upper-constraints.txt
build-packages:
- libffi-dev
- libssl-dev
- libxml2-dev
- libxslt1-dev
- pkg-config
- gcc
override-prime: |
snapcraftctl prime
# Now that everything is built, let's disable user site-packages
# as stated in PEP-0370
sed -i usr/lib/python3.5/site.py -e 's/^ENABLE_USER_SITE = None$/ENABLE_USER_SITE = False/'
# This is the last step, let's now compile all our pyc files.
./usr/bin/python3 -m compileall .