From 142f990d72ea9a9921c8f7365513f101dbef4431 Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Wed, 21 Dec 2022 06:44:11 -0300 Subject: [PATCH] Standardize app configs Adjusted some build files to bring them as close to a standard as possible. - Added version tracking via GITREVCOUNT - Fixed mismatch in plugin name, set to python3-k8sapp- - Standardized plugin debian files (rules, *.install) Test Plan: PASS - Build-pkgs -a PASS - wheel versioning updated properly Story: 2010542 Task: 47182 Signed-off-by: Leonardo Fagundes Luz Serrano Change-Id: I07459c426c835b19df67d7ab4f86d402339d6ab3 --- .zuul.yaml | 16 ++++----- debian_pkg_dirs | 2 +- .../python3-k8sapp-openstack.install | 2 -- .../debian/deb_folder/rules | 26 --------------- python-k8sapp-openstack/debian/meta_data.yaml | 7 ---- .../centos/build_srpm.data | 0 .../centos/python-k8sapp-openstack.spec | 0 .../debian/deb_folder/changelog | 0 .../debian/deb_folder/control | 0 .../debian/deb_folder/copyright | 0 .../python3-k8sapp-openstack-wheels.install | 0 .../python3-k8sapp-openstack.install | 1 + .../debian/deb_folder/rules | 33 +++++++++++++++++++ .../debian/deb_folder/source/format | 0 .../debian/meta_data.yaml | 9 +++++ .../k8sapp_openstack/.gitignore | 0 .../k8sapp_openstack/.stestr.conf | 0 .../k8sapp_openstack/LICENSE | 0 .../k8sapp_openstack/README.rst | 0 .../k8sapp_openstack/__init__.py | 0 .../k8sapp_openstack/armada/__init__.py | 0 .../armada/manifest_openstack.py | 0 .../k8sapp_openstack/common/__init__.py | 0 .../k8sapp_openstack/common/constants.py | 0 .../k8sapp_openstack/helm/__init__.py | 0 .../k8sapp_openstack/helm/aodh.py | 0 .../k8sapp_openstack/helm/barbican.py | 0 .../k8sapp_openstack/helm/ceilometer.py | 0 .../k8sapp_openstack/helm/cinder.py | 0 .../k8sapp_openstack/helm/dcdbsync.py | 0 .../k8sapp_openstack/helm/fm_rest_api.py | 0 .../k8sapp_openstack/helm/garbd.py | 0 .../k8sapp_openstack/helm/glance.py | 0 .../k8sapp_openstack/helm/gnocchi.py | 0 .../k8sapp_openstack/helm/heat.py | 0 .../k8sapp_openstack/helm/helm_toolkit.py | 0 .../k8sapp_openstack/helm/horizon.py | 0 .../k8sapp_openstack/helm/ingress.py | 0 .../k8sapp_openstack/helm/ironic.py | 0 .../k8sapp_openstack/helm/keystone.py | 0 .../helm/keystone_api_proxy.py | 0 .../k8sapp_openstack/helm/libvirt.py | 0 .../k8sapp_openstack/helm/magnum.py | 0 .../k8sapp_openstack/helm/mariadb.py | 0 .../k8sapp_openstack/helm/memcached.py | 0 .../k8sapp_openstack/helm/neutron.py | 0 .../helm/nginx_ports_control.py | 0 .../k8sapp_openstack/helm/nova.py | 0 .../k8sapp_openstack/helm/nova_api_proxy.py | 0 .../k8sapp_openstack/helm/openstack.py | 0 .../k8sapp_openstack/helm/openvswitch.py | 0 .../helm/pci_irq_affinity_agent.py | 0 .../k8sapp_openstack/helm/placement.py | 0 .../k8sapp_openstack/helm/psp_rolebinding.py | 0 .../k8sapp_openstack/helm/rabbitmq.py | 0 .../k8sapp_openstack/helm/swift.py | 0 .../k8sapp_openstack/kustomize/__init__.py | 0 .../kustomize/kustomize_openstack.py | 0 .../k8sapp_openstack/lifecycle/__init__.py | 0 .../lifecycle/lifecycle_openstack.py | 0 .../k8sapp_openstack/tests/__init__.py | 0 .../k8sapp_openstack/tests/helm/__init__.py | 0 .../k8sapp_openstack/tests/helm/test_aodh.py | 0 .../tests/helm/test_barbican.py | 0 .../tests/helm/test_ceilometer.py | 0 .../tests/helm/test_cinder.py | 0 .../tests/helm/test_fm_rest_api.py | 0 .../tests/helm/test_glance.py | 0 .../tests/helm/test_gnocchi.py | 0 .../k8sapp_openstack/tests/helm/test_heat.py | 0 .../tests/helm/test_horizon.py | 0 .../tests/helm/test_ironic.py | 0 .../tests/helm/test_keystone.py | 0 .../tests/helm/test_keystone_api_proxy.py | 0 .../tests/helm/test_neutron.py | 0 .../k8sapp_openstack/tests/helm/test_nova.py | 0 .../tests/helm/test_nova_api_proxy.py | 0 .../tests/helm/test_placement.py | 0 .../tests/lifecycle/__init__.py | 0 .../lifecycle/test_lifecycle_openstack.py | 0 .../tests/test_nova_api_proxy.py | 0 .../k8sapp_openstack/tests/test_plugins.py | 0 .../k8sapp_openstack/tests/utils/__init__.py | 0 .../tests/utils/test_utils.py | 0 .../k8sapp_openstack/utils.py | 0 .../k8sapp_openstack/pylint.rc | 0 .../k8sapp_openstack/requirements.txt | 0 .../k8sapp_openstack/setup.cfg | 2 +- .../k8sapp_openstack/setup.py | 0 .../k8sapp_openstack/test-requirements.txt | 0 .../k8sapp_openstack/tox.ini | 0 .../k8sapp_openstack/upper-constraints.txt | 0 .../debian/meta_data.yaml | 4 ++- stx-openstack-helm/debian/meta_data.yaml | 4 ++- 94 files changed, 59 insertions(+), 47 deletions(-) delete mode 100644 python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install delete mode 100755 python-k8sapp-openstack/debian/deb_folder/rules delete mode 100644 python-k8sapp-openstack/debian/meta_data.yaml rename {python-k8sapp-openstack => python3-k8sapp-openstack}/centos/build_srpm.data (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/centos/python-k8sapp-openstack.spec (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/debian/deb_folder/changelog (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/debian/deb_folder/control (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/debian/deb_folder/copyright (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/debian/deb_folder/python3-k8sapp-openstack-wheels.install (100%) create mode 100644 python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install create mode 100755 python3-k8sapp-openstack/debian/deb_folder/rules rename {python-k8sapp-openstack => python3-k8sapp-openstack}/debian/deb_folder/source/format (100%) create mode 100644 python3-k8sapp-openstack/debian/meta_data.yaml rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/.gitignore (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/.stestr.conf (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/LICENSE (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/README.rst (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/armada/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/armada/manifest_openstack.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/common/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/common/constants.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/aodh.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/barbican.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/ceilometer.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/cinder.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/dcdbsync.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/fm_rest_api.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/garbd.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/glance.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/gnocchi.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/heat.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/helm_toolkit.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/horizon.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/ingress.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/ironic.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/keystone.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/keystone_api_proxy.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/libvirt.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/magnum.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/mariadb.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/memcached.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/neutron.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/nginx_ports_control.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/nova.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/nova_api_proxy.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/openstack.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/openvswitch.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/pci_irq_affinity_agent.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/placement.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/psp_rolebinding.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/rabbitmq.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/helm/swift.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/kustomize/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/kustomize/kustomize_openstack.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/lifecycle/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/lifecycle/lifecycle_openstack.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_aodh.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_barbican.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ceilometer.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_cinder.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_fm_rest_api.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_glance.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_gnocchi.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_heat.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_horizon.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ironic.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone_api_proxy.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_neutron.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova_api_proxy.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/helm/test_placement.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/test_lifecycle_openstack.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/test_nova_api_proxy.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/test_plugins.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/utils/__init__.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/tests/utils/test_utils.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/k8sapp_openstack/utils.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/pylint.rc (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/requirements.txt (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/setup.cfg (99%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/setup.py (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/test-requirements.txt (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/tox.ini (100%) rename {python-k8sapp-openstack => python3-k8sapp-openstack}/k8sapp_openstack/upper-constraints.txt (100%) diff --git a/.zuul.yaml b/.zuul.yaml index 060b06c7..95466f3d 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -29,11 +29,11 @@ - starlingx/update - starlingx/utilities files: - - python-k8sapp-openstack/k8sapp_openstack/* + - python3-k8sapp-openstack/k8sapp_openstack/* vars: tox_envlist: py36 python_version: 3.6 - tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini + tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini - job: name: k8sapp-openstack-tox-py39 parent: tox-py39 @@ -46,11 +46,11 @@ - starlingx/update - starlingx/utilities files: - - python-k8sapp-openstack/k8sapp_openstack/* + - python3-k8sapp-openstack/k8sapp_openstack/* vars: tox_envlist: py39 python_version: 3.9 - tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini + tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini - job: name: stx-openstack-armada-app-upload-git-mirror parent: upload-git-mirror @@ -75,10 +75,10 @@ - starlingx/update - starlingx/utilities files: - - python-k8sapp-openstack/* + - python3-k8sapp-openstack/* vars: tox_envlist: pylint - tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini + tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini - job: name: k8sapp-openstack-tox-pep8 @@ -92,10 +92,10 @@ - starlingx/update - starlingx/utilities files: - - python-k8sapp-openstack/* + - python3-k8sapp-openstack/* vars: tox_envlist: pep8 - tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini + tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini - secret: name: stx-openstack-armada-app-github-secret diff --git a/debian_pkg_dirs b/debian_pkg_dirs index d1a9b0c4..24746786 100644 --- a/debian_pkg_dirs +++ b/debian_pkg_dirs @@ -1,5 +1,5 @@ openstack-helm openstack-helm-infra -python-k8sapp-openstack +python3-k8sapp-openstack stx-openstack-helm stx-openstack-helm-fluxcd diff --git a/python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install b/python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install deleted file mode 100644 index e8bdd3aa..00000000 --- a/python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/python3/dist-packages/k8sapp_openstack-1.0.0.egg-info/* -usr/lib/python3/dist-packages/k8sapp_openstack/* diff --git a/python-k8sapp-openstack/debian/deb_folder/rules b/python-k8sapp-openstack/debian/deb_folder/rules deleted file mode 100755 index 8b48dca9..00000000 --- a/python-k8sapp-openstack/debian/deb_folder/rules +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/make -f -# export DH_VERBOSE = 1 - -export APP_NAME=k8sapp-openstack -export PBR_VERSION=1.0.0 -export PYBUILD_NAME=k8sapp-openstack -export SKIP_PIP_INSTALL=1 -export ROOT=debian/tmp - -%: - dh $@ --with=python3 --buildsystem=pybuild - -override_dh_auto_install: - python3 setup.py install --install-layout=deb --root $(ROOT) - python3 setup.py bdist_wheel \ - --universal \ - -d $(ROOT)/plugins - -override_dh_python3: - dh_python3 --shebang=/usr/bin/python3 - -ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) -override_dh_auto_test: - # (tbogue) FIXME - PYTHONDIR=$(CURDIR) stestr run || true -endif diff --git a/python-k8sapp-openstack/debian/meta_data.yaml b/python-k8sapp-openstack/debian/meta_data.yaml deleted file mode 100644 index 6e8e8e51..00000000 --- a/python-k8sapp-openstack/debian/meta_data.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -debname: python3-k8sapp-openstack -debver: 1.0-1 -src_path: k8sapp_openstack -revision: - dist: $STX_DIST - PKG_GITREVCOUNT: true diff --git a/python-k8sapp-openstack/centos/build_srpm.data b/python3-k8sapp-openstack/centos/build_srpm.data similarity index 100% rename from python-k8sapp-openstack/centos/build_srpm.data rename to python3-k8sapp-openstack/centos/build_srpm.data diff --git a/python-k8sapp-openstack/centos/python-k8sapp-openstack.spec b/python3-k8sapp-openstack/centos/python-k8sapp-openstack.spec similarity index 100% rename from python-k8sapp-openstack/centos/python-k8sapp-openstack.spec rename to python3-k8sapp-openstack/centos/python-k8sapp-openstack.spec diff --git a/python-k8sapp-openstack/debian/deb_folder/changelog b/python3-k8sapp-openstack/debian/deb_folder/changelog similarity index 100% rename from python-k8sapp-openstack/debian/deb_folder/changelog rename to python3-k8sapp-openstack/debian/deb_folder/changelog diff --git a/python-k8sapp-openstack/debian/deb_folder/control b/python3-k8sapp-openstack/debian/deb_folder/control similarity index 100% rename from python-k8sapp-openstack/debian/deb_folder/control rename to python3-k8sapp-openstack/debian/deb_folder/control diff --git a/python-k8sapp-openstack/debian/deb_folder/copyright b/python3-k8sapp-openstack/debian/deb_folder/copyright similarity index 100% rename from python-k8sapp-openstack/debian/deb_folder/copyright rename to python3-k8sapp-openstack/debian/deb_folder/copyright diff --git a/python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack-wheels.install b/python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack-wheels.install similarity index 100% rename from python-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack-wheels.install rename to python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack-wheels.install diff --git a/python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install b/python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install new file mode 100644 index 00000000..91d1d9d1 --- /dev/null +++ b/python3-k8sapp-openstack/debian/deb_folder/python3-k8sapp-openstack.install @@ -0,0 +1 @@ +usr/lib/python3/dist-packages/k8sapp_* diff --git a/python3-k8sapp-openstack/debian/deb_folder/rules b/python3-k8sapp-openstack/debian/deb_folder/rules new file mode 100755 index 00000000..e0da7010 --- /dev/null +++ b/python3-k8sapp-openstack/debian/deb_folder/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# export DH_VERBOSE = 1 + +export APP_NAME = k8sapp-openstack +export PYBUILD_NAME = k8sapp-openstack + +export DEB_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') +export MAJOR = $(shell echo $(DEB_VERSION) | cut -f 1 -d '-') +export MINOR_PATCH = $(shell echo $(DEB_VERSION) | cut -f 4 -d '.') +export PBR_VERSION = $(MAJOR).$(MINOR_PATCH) + +export ROOT = $(CURDIR)/debian/tmp +export SKIP_PIP_INSTALL = 1 + +%: + dh $@ --with=python3 --buildsystem=pybuild + +override_dh_auto_install: + env | sort + + python3 setup.py install \ + --install-layout=deb \ + --root $(ROOT) + + python3 setup.py bdist_wheel \ + --universal \ + -d $(ROOT)/plugins + +override_dh_python3: + dh_python3 --shebang=/usr/bin/python3 + +override_dh_auto_test: + PYTHONDIR=$(CURDIR) stestr run diff --git a/python-k8sapp-openstack/debian/deb_folder/source/format b/python3-k8sapp-openstack/debian/deb_folder/source/format similarity index 100% rename from python-k8sapp-openstack/debian/deb_folder/source/format rename to python3-k8sapp-openstack/debian/deb_folder/source/format diff --git a/python3-k8sapp-openstack/debian/meta_data.yaml b/python3-k8sapp-openstack/debian/meta_data.yaml new file mode 100644 index 00000000..caa9b728 --- /dev/null +++ b/python3-k8sapp-openstack/debian/meta_data.yaml @@ -0,0 +1,9 @@ +--- +debname: python3-k8sapp-openstack +debver: 1.0-1 +src_path: k8sapp_openstack +revision: + dist: $STX_DIST + GITREVCOUNT: + SRC_DIR: ${MY_REPO}/stx/openstack-armada-app + BASE_SRCREV: 301e310b67f608c309a34c7431848f680e2ea827 diff --git a/python-k8sapp-openstack/k8sapp_openstack/.gitignore b/python3-k8sapp-openstack/k8sapp_openstack/.gitignore similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/.gitignore rename to python3-k8sapp-openstack/k8sapp_openstack/.gitignore diff --git a/python-k8sapp-openstack/k8sapp_openstack/.stestr.conf b/python3-k8sapp-openstack/k8sapp_openstack/.stestr.conf similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/.stestr.conf rename to python3-k8sapp-openstack/k8sapp_openstack/.stestr.conf diff --git a/python-k8sapp-openstack/k8sapp_openstack/LICENSE b/python3-k8sapp-openstack/k8sapp_openstack/LICENSE similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/LICENSE rename to python3-k8sapp-openstack/k8sapp_openstack/LICENSE diff --git a/python-k8sapp-openstack/k8sapp_openstack/README.rst b/python3-k8sapp-openstack/k8sapp_openstack/README.rst similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/README.rst rename to python3-k8sapp-openstack/k8sapp_openstack/README.rst diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/manifest_openstack.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/manifest_openstack.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/manifest_openstack.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/armada/manifest_openstack.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/constants.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/constants.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/constants.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/common/constants.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/aodh.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/aodh.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/aodh.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/aodh.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/barbican.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/barbican.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/barbican.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/barbican.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ceilometer.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ceilometer.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ceilometer.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ceilometer.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/cinder.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/cinder.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/cinder.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/cinder.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/dcdbsync.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/dcdbsync.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/dcdbsync.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/dcdbsync.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/fm_rest_api.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/fm_rest_api.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/fm_rest_api.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/fm_rest_api.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/garbd.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/garbd.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/garbd.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/garbd.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/glance.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/glance.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/glance.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/glance.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/gnocchi.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/gnocchi.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/gnocchi.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/gnocchi.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/heat.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/heat.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/heat.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/heat.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/helm_toolkit.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/helm_toolkit.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/helm_toolkit.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/helm_toolkit.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/horizon.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/horizon.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/horizon.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/horizon.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ingress.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ingress.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ingress.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ingress.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ironic.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ironic.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ironic.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/ironic.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone_api_proxy.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone_api_proxy.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone_api_proxy.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/keystone_api_proxy.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/libvirt.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/libvirt.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/libvirt.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/libvirt.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/magnum.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/magnum.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/magnum.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/magnum.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/mariadb.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/mariadb.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/mariadb.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/mariadb.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/memcached.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/memcached.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/memcached.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/memcached.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/neutron.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/neutron.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/neutron.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/neutron.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nginx_ports_control.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nginx_ports_control.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nginx_ports_control.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nginx_ports_control.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova_api_proxy.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova_api_proxy.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova_api_proxy.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova_api_proxy.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openstack.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openstack.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openstack.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openstack.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openvswitch.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openvswitch.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openvswitch.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/openvswitch.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/pci_irq_affinity_agent.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/pci_irq_affinity_agent.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/pci_irq_affinity_agent.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/pci_irq_affinity_agent.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/placement.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/placement.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/placement.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/placement.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/psp_rolebinding.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/psp_rolebinding.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/psp_rolebinding.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/psp_rolebinding.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/rabbitmq.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/rabbitmq.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/rabbitmq.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/rabbitmq.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/swift.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/swift.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/swift.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/swift.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/kustomize_openstack.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/kustomize_openstack.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/kustomize_openstack.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/kustomize/kustomize_openstack.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/lifecycle_openstack.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/lifecycle_openstack.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/lifecycle_openstack.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/lifecycle/lifecycle_openstack.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_aodh.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_aodh.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_aodh.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_aodh.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_barbican.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_barbican.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_barbican.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_barbican.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ceilometer.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ceilometer.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ceilometer.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ceilometer.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_cinder.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_cinder.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_cinder.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_cinder.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_fm_rest_api.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_fm_rest_api.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_fm_rest_api.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_fm_rest_api.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_glance.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_glance.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_glance.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_glance.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_gnocchi.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_gnocchi.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_gnocchi.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_gnocchi.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_heat.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_heat.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_heat.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_heat.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_horizon.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_horizon.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_horizon.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_horizon.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ironic.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ironic.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ironic.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_ironic.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone_api_proxy.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone_api_proxy.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone_api_proxy.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_keystone_api_proxy.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_neutron.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_neutron.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_neutron.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_neutron.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova_api_proxy.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova_api_proxy.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova_api_proxy.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_nova_api_proxy.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_placement.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_placement.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_placement.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/helm/test_placement.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/test_lifecycle_openstack.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/test_lifecycle_openstack.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/test_lifecycle_openstack.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/lifecycle/test_lifecycle_openstack.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_nova_api_proxy.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_nova_api_proxy.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_nova_api_proxy.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_nova_api_proxy.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_plugins.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_plugins.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_plugins.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/test_plugins.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/__init__.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/__init__.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/__init__.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/__init__.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/test_utils.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/test_utils.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/test_utils.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/tests/utils/test_utils.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/utils.py b/python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/utils.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/utils.py rename to python3-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/utils.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/pylint.rc b/python3-k8sapp-openstack/k8sapp_openstack/pylint.rc similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/pylint.rc rename to python3-k8sapp-openstack/k8sapp_openstack/pylint.rc diff --git a/python-k8sapp-openstack/k8sapp_openstack/requirements.txt b/python3-k8sapp-openstack/k8sapp_openstack/requirements.txt similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/requirements.txt rename to python3-k8sapp-openstack/k8sapp_openstack/requirements.txt diff --git a/python-k8sapp-openstack/k8sapp_openstack/setup.cfg b/python3-k8sapp-openstack/k8sapp_openstack/setup.cfg similarity index 99% rename from python-k8sapp-openstack/k8sapp_openstack/setup.cfg rename to python3-k8sapp-openstack/k8sapp_openstack/setup.cfg index 02db63ec..c22d9468 100644 --- a/python-k8sapp-openstack/k8sapp_openstack/setup.cfg +++ b/python3-k8sapp-openstack/k8sapp_openstack/setup.cfg @@ -72,5 +72,5 @@ systemconfig.armada.manifest_ops = systemconfig.app_lifecycle = openstack = k8sapp_openstack.lifecycle.lifecycle_openstack:OpenstackAppLifecycleOperator -[wheel] +[bdist_wheel] universal = 1 diff --git a/python-k8sapp-openstack/k8sapp_openstack/setup.py b/python3-k8sapp-openstack/k8sapp_openstack/setup.py similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/setup.py rename to python3-k8sapp-openstack/k8sapp_openstack/setup.py diff --git a/python-k8sapp-openstack/k8sapp_openstack/test-requirements.txt b/python3-k8sapp-openstack/k8sapp_openstack/test-requirements.txt similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/test-requirements.txt rename to python3-k8sapp-openstack/k8sapp_openstack/test-requirements.txt diff --git a/python-k8sapp-openstack/k8sapp_openstack/tox.ini b/python3-k8sapp-openstack/k8sapp_openstack/tox.ini similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/tox.ini rename to python3-k8sapp-openstack/k8sapp_openstack/tox.ini diff --git a/python-k8sapp-openstack/k8sapp_openstack/upper-constraints.txt b/python3-k8sapp-openstack/k8sapp_openstack/upper-constraints.txt similarity index 100% rename from python-k8sapp-openstack/k8sapp_openstack/upper-constraints.txt rename to python3-k8sapp-openstack/k8sapp_openstack/upper-constraints.txt diff --git a/stx-openstack-helm-fluxcd/debian/meta_data.yaml b/stx-openstack-helm-fluxcd/debian/meta_data.yaml index c42f75da..a047420b 100644 --- a/stx-openstack-helm-fluxcd/debian/meta_data.yaml +++ b/stx-openstack-helm-fluxcd/debian/meta_data.yaml @@ -7,4 +7,6 @@ src_files: - ${MY_REPO}/stx/helm-charts/fm-rest-api/fm-rest-api/helm-charts revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + SRC_DIR: ${MY_REPO}/stx/openstack-armada-app + BASE_SRCREV: 301e310b67f608c309a34c7431848f680e2ea827 diff --git a/stx-openstack-helm/debian/meta_data.yaml b/stx-openstack-helm/debian/meta_data.yaml index 5250d2ff..93227864 100644 --- a/stx-openstack-helm/debian/meta_data.yaml +++ b/stx-openstack-helm/debian/meta_data.yaml @@ -7,4 +7,6 @@ src_files: - ${MY_REPO}/stx/helm-charts/fm-rest-api/fm-rest-api/helm-charts revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + SRC_DIR: ${MY_REPO}/stx/openstack-armada-app + BASE_SRCREV: 301e310b67f608c309a34c7431848f680e2ea827