Add pbr build configuration
Required for an RPM package builds with the contrib/ansible-kubespray.spec Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
parent
31d357284a
commit
8058cdbc0e
3 changed files with 61 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
pbr>=1.6
|
||||||
ansible>=2.3.0
|
ansible>=2.3.0
|
||||||
netaddr
|
netaddr
|
||||||
jinja2>=2.9.6
|
jinja2>=2.9.6
|
||||||
|
|
41
setup.cfg
Normal file
41
setup.cfg
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[metadata]
|
||||||
|
name = ansible-kubespray
|
||||||
|
summary = Ansible modules for installing Kubernetes
|
||||||
|
description-file =
|
||||||
|
README.md
|
||||||
|
author = Kubespray
|
||||||
|
author-email = smainklh@gmail.com
|
||||||
|
home-page = https://github.com/kubernetes-incubator/kubespray
|
||||||
|
classifier =
|
||||||
|
License :: OSI Approved :: Apache Software License
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
Intended Audience :: Developers
|
||||||
|
Intended Audience :: System Administrators
|
||||||
|
Intended Audience :: Information Technology
|
||||||
|
Topic :: Utilities
|
||||||
|
|
||||||
|
[global]
|
||||||
|
setup-hooks =
|
||||||
|
pbr.hooks.setup_hook
|
||||||
|
|
||||||
|
[files]
|
||||||
|
data_files =
|
||||||
|
/usr/local/share/kubespray/playbooks/ =
|
||||||
|
cluster.yml
|
||||||
|
upgrade-cluster.yml
|
||||||
|
scale.yml
|
||||||
|
reset.yml
|
||||||
|
extra_playbooks/upgrade-only-k8s.yml
|
||||||
|
/etc/kubespray/inventory/ =
|
||||||
|
inventory/group_vars/all.yml
|
||||||
|
inventory/group_vars/k8s-cluster.yml
|
||||||
|
/etc/kubespray/ =
|
||||||
|
ansible.cfg
|
||||||
|
/usr/local/share/kubespray/roles = roles/*
|
||||||
|
|
||||||
|
[wheel]
|
||||||
|
universal = 1
|
||||||
|
|
||||||
|
[pbr]
|
||||||
|
skip_authors = True
|
||||||
|
skip_changelog = True
|
19
setup.py
Normal file
19
setup.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright Red Hat, Inc. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['pbr'],
|
||||||
|
pbr=True)
|
Loading…
Reference in a new issue