mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-04 08:48:42 +03:00
Remove pip and rpm packaging support (#11760)
Those files haven't been touched in roughly 5 years, and pip install on Kubespray errors out. The 'Requires:' are outdated, which suggests that no one is using this.
This commit is contained in:
@@ -1,62 +0,0 @@
|
|||||||
%global srcname kubespray
|
|
||||||
|
|
||||||
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
||||||
|
|
||||||
Name: kubespray
|
|
||||||
Version: master
|
|
||||||
Release: %(git describe | sed -r 's/v(\S+-?)-(\S+)-(\S+)/\1.dev\2+\3/')
|
|
||||||
Summary: Ansible modules for installing Kubernetes
|
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: ASL 2.0
|
|
||||||
Url: https://github.com/kubernetes-sigs/kubespray
|
|
||||||
Source0: https://github.com/kubernetes-sigs/kubespray/archive/%{upstream_version}.tar.gz#/%{name}-%{release}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: python2
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
BuildRequires: python-d2to1
|
|
||||||
BuildRequires: python2-pbr
|
|
||||||
|
|
||||||
Requires: ansible >= 2.5.0
|
|
||||||
Requires: python-jinja2 >= 2.10
|
|
||||||
Requires: python-netaddr
|
|
||||||
Requires: python-pbr
|
|
||||||
|
|
||||||
%description
|
|
||||||
|
|
||||||
Ansible-kubespray is a set of Ansible modules and playbooks for
|
|
||||||
installing a Kubernetes cluster. If you have questions, join us
|
|
||||||
on the https://slack.k8s.io, channel '#kubespray'.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{name}-%{upstream_version} -S git
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
export PBR_VERSION=%{release}
|
|
||||||
%{__python2} setup.py build bdist_rpm
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PBR_VERSION=%{release}
|
|
||||||
export SKIP_PIP_INSTALL=1
|
|
||||||
%{__python2} setup.py install --skip-build --root %{buildroot} bdist_rpm
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc %{_docdir}/%{name}/README.md
|
|
||||||
%doc %{_docdir}/%{name}/inventory/sample/hosts.ini
|
|
||||||
%config %{_sysconfdir}/%{name}/ansible.cfg
|
|
||||||
%config %{_sysconfdir}/%{name}/inventory/sample/group_vars/all.yml
|
|
||||||
%config %{_sysconfdir}/%{name}/inventory/sample/group_vars/k8s_cluster.yml
|
|
||||||
%license %{_docdir}/%{name}/LICENSE
|
|
||||||
%{python2_sitelib}/%{srcname}-%{release}-py%{python2_version}.egg-info
|
|
||||||
%{_datarootdir}/%{name}/roles/
|
|
||||||
%{_datarootdir}/%{name}/playbooks/
|
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
62
setup.cfg
62
setup.cfg
@@ -1,62 +0,0 @@
|
|||||||
[metadata]
|
|
||||||
name = kubespray
|
|
||||||
summary = Ansible modules for installing Kubernetes
|
|
||||||
description-file =
|
|
||||||
README.md
|
|
||||||
author = Kubespray
|
|
||||||
author-email = smainklh@gmail.com
|
|
||||||
license = Apache License (2.0)
|
|
||||||
home-page = https://github.com/kubernetes-sigs/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/share/kubespray/playbooks/ =
|
|
||||||
cluster.yml
|
|
||||||
upgrade-cluster.yml
|
|
||||||
scale.yml
|
|
||||||
reset.yml
|
|
||||||
remove-node.yml
|
|
||||||
extra_playbooks/upgrade-only-k8s.yml
|
|
||||||
usr/share/kubespray/roles = roles/*
|
|
||||||
usr/share/kubespray/library = library/*
|
|
||||||
usr/share/doc/kubespray/ =
|
|
||||||
LICENSE
|
|
||||||
README.md
|
|
||||||
usr/share/doc/kubespray/inventory/ =
|
|
||||||
inventory/sample/inventory.ini
|
|
||||||
etc/kubespray/ =
|
|
||||||
ansible.cfg
|
|
||||||
etc/kubespray/inventory/sample/group_vars/ =
|
|
||||||
inventory/sample/group_vars/etcd.yml
|
|
||||||
etc/kubespray/inventory/sample/group_vars/all/ =
|
|
||||||
inventory/sample/group_vars/all/all.yml
|
|
||||||
inventory/sample/group_vars/all/azure.yml
|
|
||||||
inventory/sample/group_vars/all/coreos.yml
|
|
||||||
inventory/sample/group_vars/all/docker.yml
|
|
||||||
inventory/sample/group_vars/all/oci.yml
|
|
||||||
inventory/sample/group_vars/all/openstack.yml
|
|
||||||
|
|
||||||
[wheel]
|
|
||||||
universal = 1
|
|
||||||
|
|
||||||
[pbr]
|
|
||||||
skip_authors = True
|
|
||||||
skip_changelog = True
|
|
||||||
|
|
||||||
[bdist_rpm]
|
|
||||||
group = "System Environment/Libraries"
|
|
||||||
requires =
|
|
||||||
ansible
|
|
||||||
python-jinja2
|
|
||||||
python-netaddr
|
|
||||||
19
setup.py
19
setup.py
@@ -1,19 +0,0 @@
|
|||||||
# 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)
|
|
||||||
Reference in New Issue
Block a user