Build fuel-agent for Ubuntu and Debian
Necessary for making an Ubuntu/Debian bootstrap node. blueprint fuel-bootstrap-on-ubuntu Change-Id: Ifc799a77eb2b32e5582e13a5aa4ff1d6bfbd8f77
This commit is contained in:
parent
080e612218
commit
fd16b972dd
11
debian/changelog
vendored
Normal file
11
debian/changelog
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fuel-agent (7.0+git20150720-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Catch up the upstream.
|
||||||
|
|
||||||
|
-- Alexei Sheplyakov <asheplyakov@mirantis.com> Mon, 20 Jul 2015 10:56:41 +0300
|
||||||
|
|
||||||
|
fuel-agent (5.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release. (Closes: #XXXXXX)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Fri, 07 Nov 2014 00:57:55 +0800
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
67
debian/control
vendored
Normal file
67
debian/control
vendored
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
Source: fuel-agent
|
||||||
|
Section: net
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
dh-systemd,
|
||||||
|
openstack-pkg-tools (>= 8~),
|
||||||
|
python-all (>= 2.6.6-3),
|
||||||
|
python-pbr (>= 0.7.0),
|
||||||
|
python-setuptools
|
||||||
|
Build-Depends-Indep: python-babel (>= 1.3),
|
||||||
|
python-eventlet (>= 0.13.0),
|
||||||
|
python-iso8601 (>= 0.1.9),
|
||||||
|
python-jinja2,
|
||||||
|
python-jsonschema (>= 2.3.0),
|
||||||
|
python-mock (>= 1.0),
|
||||||
|
python-oslo.config (>= 1:1.2.0),
|
||||||
|
python-oslo.serialization,
|
||||||
|
python-oslotest (>= 1.0),
|
||||||
|
python-pbr (>= 0.7.0),
|
||||||
|
python-requests (>= 1.2.3),
|
||||||
|
python-six (>= 1.5.2),
|
||||||
|
python-stevedore (>= 0.15),
|
||||||
|
python-testtools (>= 0.9.34),
|
||||||
|
python-urllib3,
|
||||||
|
python-yaml,
|
||||||
|
subunit,
|
||||||
|
testrepository (>= 0.0.18)
|
||||||
|
X-Python-Version: 2.7, << 2.8
|
||||||
|
Standards-Version: 3.9.2
|
||||||
|
|
||||||
|
Package: fuel-agent
|
||||||
|
Architecture: all
|
||||||
|
Section: python
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: bzip2,
|
||||||
|
cloud-utils,
|
||||||
|
debootstrap,
|
||||||
|
dmidecode,
|
||||||
|
ethtool,
|
||||||
|
gdisk,
|
||||||
|
genisoimage,
|
||||||
|
lvm2,
|
||||||
|
mdadm,
|
||||||
|
openssh-client,
|
||||||
|
parted,
|
||||||
|
pciutils,
|
||||||
|
python-babel (>= 1.3),
|
||||||
|
python-eventlet (>= 0.13.0),
|
||||||
|
python-iso8601 (>= 0.1.9),
|
||||||
|
python-jinja2,
|
||||||
|
python-jsonschema (>= 2.3.0),
|
||||||
|
python-oslo.config (>= 1:1.2.0),
|
||||||
|
python-oslo.serialization,
|
||||||
|
python-pbr (>= 0.7.0),
|
||||||
|
python-requests (>= 1.2.3),
|
||||||
|
python-six (>= 1.5.2),
|
||||||
|
python-stevedore (>= 0.15),
|
||||||
|
python-urllib3,
|
||||||
|
python-yaml,
|
||||||
|
xfsprogs,
|
||||||
|
xz-utils,
|
||||||
|
${misc:Depends},
|
||||||
|
${python:Depends}
|
||||||
|
Description: fuel image based provisioning agent
|
||||||
|
Fuel agent executes provisioning tasks on the discovery nodes
|
||||||
|
.
|
28
debian/copyright
vendored
Normal file
28
debian/copyright
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: fuel-agent
|
||||||
|
Source: git://github.com/thomasgoirand/fuel-agent.git
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
Copyright: (c) 2014, Mirantis
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2014, Mirantis
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
License: Apache-2
|
||||||
|
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.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license can be
|
||||||
|
found in /usr/share/common-licenses/Apache-2.0.
|
43
debian/rules
vendored
Executable file
43
debian/rules
vendored
Executable file
@ -0,0 +1,43 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
|
UPSTREAM_GIT = git://github.com/thomasgoirand/fuel-agent.git
|
||||||
|
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||||
|
|
||||||
|
export OSLO_PACKAGE_VERSION=$(VERSION)
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --buildsystem=python_distutils --with python2,systemd
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
rm -rf build
|
||||||
|
dh_clean -O--buildsystem=python_distutils
|
||||||
|
|
||||||
|
|
||||||
|
# set -e && for i in $(PYTHONS) $(PYTHON3S) ; do \
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
|
echo "===> Running tests"
|
||||||
|
set -e ; for i in 2.7 ; do \
|
||||||
|
PYMAJOR=$${i%%.*}; \
|
||||||
|
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
|
||||||
|
rm -rf .testrepository ; \
|
||||||
|
testr init ; \
|
||||||
|
TEMP_REZ=`mktemp -t` ; \
|
||||||
|
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr run --subunit 'tests\.(?!.*OptsTestCase.test_entry_point.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||||
|
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
|
||||||
|
rm -f $$TEMP_REZ ; \
|
||||||
|
testr slowest ; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
|
||||||
|
override_dh_installcatalogs:
|
||||||
|
override_dh_installemacsen override_dh_installifupdown:
|
||||||
|
override_dh_installinfo override_dh_installmenu override_dh_installmime:
|
||||||
|
override_dh_installmodules override_dh_installlogcheck:
|
||||||
|
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
|
||||||
|
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
|
||||||
|
override_dh_installgsettings:
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
1
debian/source/source
vendored
Normal file
1
debian/source/source
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user