
Update snap for Train versions of the OpenStack Client and dependencies. Use core18 as the base for the snap. Drop misc commands that are no longer provided. Use python3 as the interpreter for snapcraft builds. Switch to microstack style LXD build with switch to core18 base. Change-Id: I2e3dc49c2ddb6889a3bf3738002d03cbc87fa644
117 lines
2.9 KiB
YAML
117 lines
2.9 KiB
YAML
name: openstackclients
|
|
version: train
|
|
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
|
|
base: core18
|
|
|
|
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
|
|
freezer:
|
|
command: bin/freezer
|
|
glance:
|
|
command: bin/glance
|
|
heat:
|
|
command: bin/heat
|
|
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/train/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.6/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 .
|