diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..42cf7fd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cinder-tempest-plugin (1.0.0-1) experimental; urgency=medium + + * Initial packaging (Closes: #958707). + + -- Thomas Goirand Wed, 22 Apr 2020 17:21:46 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7575f63 --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: cinder-tempest-plugin +Section: net +Priority: optional +Maintainer: Debian OpenStack +Uploaders: + Thomas Goirand , +Build-Depends: + debhelper-compat (= 11), + dh-python, + openstack-pkg-tools (>= 109~), + python3-all, + python3-pbr, + python3-setuptools, +Build-Depends-Indep: + python3-oslo.config, + python3-six, + python3-oslo.serialization, + tempest, +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/openstack-team/tempest/cinder-tempest-plugin +Vcs-Git: https://salsa.debian.org/openstack-team/tempest/cinder-tempest-plugin.git +Homepage: https://opendev.org/openstack/cinder-tempest-plugin + +Package: cinder-tempest-plugin +Architecture: all +Depends: + python3-pbr, + python3-oslo.config, + python3-six, + python3-oslo.serialization, + tempest, + ${misc:Depends}, + ${python3:Depends}, +Provides: + ${python3:Provides}, +Description: OpenStack Integration Test Suite - Cinder plugin + Tempest is a set of integration tests to be run against a live Openstack + cluster in order to make sure that all components are working as expected. + Tempest will start and stop virtual machine in order to check that your + cloud is working as expected. + . + This package contains the Cinder plugin. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..38b0e2c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cinder-tempest-plugin +Source: https://opendev.org/openstack/cinder-tempest-plugin + +Files: * +Copyright: (c) 2010-2020, OpenStack Foundation + (c) 2016, Mirantis Inc. + (c) 2016, Red Hat, Inc. + (C) 2015, EMC Corporation. + (C) 2016, Pure Storage, Inc. + (c) 2017, Huawei. + (c) 2017, NEC Corporation. +License: Apache-2 + +Files: debian/* +Copyright: (c) 2020, Thomas Goirand +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'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cc4a6dc --- /dev/null +++ b/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +UPSTREAM_GIT := https://opendev.org/openstack/cinder-tempest-plugin +include /usr/share/openstack-pkg-tools/pkgos.make + +%: + dh $@ --buildsystem=python_distutils --with python3 + +override_dh_auto_clean: + python3 setup.py clean + +override_dh_auto_test: + echo "Do nothing..." + +override_dh_auto_install: + echo "Do nothing..." + +override_dh_auto_build: + echo "Do nothing..." + +override_dh_install: + pkgos-dh_auto_install --no-py2 --in-tmp + +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) + echo "No test for now..." + #pkgos-dh_auto_test --no-py2 +endif + + dh_install + dh_missing --fail-missing + +override_dh_python3: + dh_python3 --shebang=/usr/bin/python3 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..9122245 --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" +extend-diff-ignore = "^[.]gitreview$" diff --git a/debian/telemetry-tempest-plugin.install b/debian/telemetry-tempest-plugin.install new file mode 100644 index 0000000..74e4e23 --- /dev/null +++ b/debian/telemetry-tempest-plugin.install @@ -0,0 +1 @@ +/usr diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d118990 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/\.(b|rc)/~$1/" \ +https://github.com/openstack/cinder-tempest-plugin/tags .*/(\d[\d\.]+)\.tar\.gz