Merge "Enable using PBR for package library"

This commit is contained in:
Zuul 2018-10-26 21:39:58 +00:00 committed by Gerrit Code Review
commit 43c85a3953
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