Enable using PBR for package library

Updated promenade packaging scripts to use pbr.
This was done to make sure all required packages
for promenade package library are pulled, when another
moudle does git pull to use promenade package library.

Change-Id: I820ac6513c42456d52f92dab72dba2a34d8b437b
This commit is contained in:
Ahmad Mahmoudi 2018-10-22 10:30:36 -05:00
parent 20f27f6281
commit a6e8fdbe22
4 changed files with 34 additions and 17 deletions

View File

@ -31,6 +31,9 @@ WORKDIR /opt/promenade
ENV PORT 9000
EXPOSE $PORT
# Setting promenade version for BPR
ENV PBR_VERSION 0.8.0
ENTRYPOINT ["/opt/promenade/entrypoint.sh"]
RUN set -ex \

28
setup.cfg Normal file
View File

@ -0,0 +1,28 @@
[metadata]
name = promenade
summary = 'Promenade is a tool for bootstrapping a resilient '
'Kubernetes cluster and managing its life-cycle via '
'Helm charts.
description-file = README.md
author = The Airship Authors
home-page = https://github.com/openstack/airship-promenade
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
[files]
packages =
promenade
data_files =
schemas = schemas/*
templates = templates/*
[entry_points]
console_scripts =
promenade=promenade.cli:promenade

View File

@ -17,20 +17,6 @@
from setuptools import setup
setup(
setup_requires=['setuptools>=17.1'],
name='promenade',
version='0.8.0',
packages=['promenade'],
description=('Promenade is a tool for bootstrapping a resilient '
'Kubernetes cluster and managing its life-cycle via Helm charts.'),
url='https://github.com/openstack/airship-promenade',
author='The Airship Authors',
license='Apache 2.0',
package_data={
'schemas': 'schemas/*',
'templates': 'templates/*',
},
entry_points={
'console_scripts': 'promenade=promenade.cli:promenade',
},
setup_requires=['setuptools>=17.1', 'pbr>=2.0.0'],
pbr=True
)

View File

@ -1,5 +1,5 @@
pytest
flake8>=3.3.0
flake8==2.6.2
bandit>=1.5
yapf==0.24.0
sphinx>=1.6.2