From 9250bdd80450b055a0be369f59ff2211a9e7dc94 Mon Sep 17 00:00:00 2001 From: Don Penney Date: Tue, 19 Mar 2019 14:23:01 -0400 Subject: [PATCH] Create the stable/dev wheel and image build files This update supports the migration to stable/dev build streams by setting up the stable/dev wheels.inc and image build files. Change-Id: If9d7edf51b0951dcf8313b2443193800babe3b2f Story: 2005248 Task: 30101 Depends-On: Ib5dc9a7c1d8c37368d073e28d83eeb883766ee3f Signed-off-by: Don Penney --- centos_dev_docker_images.inc | 15 ++++++++++ centos_stable_wheels.inc | 29 +++++++++++++++++++ .../centos/stx-aodh.dev_docker_image | 7 +++++ .../centos/stx-ironic.dev_docker_image | 7 +++++ .../centos/stx-magnum.dev_docker_image | 8 +++++ .../centos/stx-murano.dev_docker_image | 7 +++++ .../centos/stx-panko.dev_docker_image | 7 +++++ .../centos/stx-barbican.dev_docker_image | 6 ++++ .../centos/stx-ceilometer.dev_docker_image | 7 +++++ .../centos/stx-cinder.dev_docker_image | 7 +++++ .../centos/stx-glance.dev_docker_image | 8 +++++ .../centos/stx-gnocchi.dev_docker_image | 14 +++++++++ .../centos/stx-heat.dev_docker_image | 7 +++++ .../centos/stx-horizon.dev_docker_image | 14 +++++++++ .../centos/stx-keystone.dev_docker_image | 7 +++++ .../centos/stx-neutron.dev_docker_image | 13 +++++++++ .../centos/stx-nova.dev_docker_image | 9 ++++++ 17 files changed, 172 insertions(+) create mode 100644 centos_dev_docker_images.inc create mode 100644 centos_stable_wheels.inc create mode 100644 openstack/openstack-aodh/centos/stx-aodh.dev_docker_image create mode 100644 openstack/openstack-ironic/centos/stx-ironic.dev_docker_image create mode 100644 openstack/openstack-magnum/centos/stx-magnum.dev_docker_image create mode 100644 openstack/openstack-murano/centos/stx-murano.dev_docker_image create mode 100644 openstack/openstack-panko/centos/stx-panko.dev_docker_image create mode 100644 openstack/python-barbican/centos/stx-barbican.dev_docker_image create mode 100644 openstack/python-ceilometer/centos/stx-ceilometer.dev_docker_image create mode 100644 openstack/python-cinder/centos/stx-cinder.dev_docker_image create mode 100644 openstack/python-glance/centos/stx-glance.dev_docker_image create mode 100644 openstack/python-gnocchi/centos/stx-gnocchi.dev_docker_image create mode 100644 openstack/python-heat/openstack-heat/centos/stx-heat.dev_docker_image create mode 100644 openstack/python-horizon/centos/stx-horizon.dev_docker_image create mode 100644 openstack/python-keystone/centos/stx-keystone.dev_docker_image create mode 100644 openstack/python-neutron/centos/stx-neutron.dev_docker_image create mode 100644 openstack/python-nova/centos/stx-nova.dev_docker_image diff --git a/centos_dev_docker_images.inc b/centos_dev_docker_images.inc new file mode 100644 index 00000000..be65b132 --- /dev/null +++ b/centos_dev_docker_images.inc @@ -0,0 +1,15 @@ +openstack/openstack-aodh +openstack/openstack-ironic +openstack/openstack-magnum +openstack/openstack-murano +openstack/openstack-panko +openstack/python-barbican +openstack/python-ceilometer +openstack/python-cinder +openstack/python-glance +openstack/python-gnocchi +openstack/python-heat/openstack-heat +openstack/python-horizon +openstack/python-keystone +openstack/python-neutron +openstack/python-nova diff --git a/centos_stable_wheels.inc b/centos_stable_wheels.inc new file mode 100644 index 00000000..eb37c51f --- /dev/null +++ b/centos_stable_wheels.inc @@ -0,0 +1,29 @@ +distributedcloud-client-wheels +distributedcloud-wheels +gnocchi-wheels +openstack-ceilometer-wheels +openstack-cinder-wheels +openstack-glance-wheels +openstack-heat-wheels +openstack-ironic-wheels +openstack-keystone-wheels +openstack-magnum-ui-wheels +openstack-magnum-wheels +openstack-murano-wheels +openstack-neutron-wheels +openstack-nova-wheels +python-cinderclient-wheels +python-django-horizon-wheels +python-glanceclient-wheels +python-gnocchiclient-wheels +python-ironicclient-wheels +python-magnumclient-wheels +python-muranoclient-wheels +python-networking-bgpvpn-wheels +python-networking-odl-wheels +python-networking-sfc-wheels +python-neutronclient-wheels +python-neutron-dynamic-routing-wheels +python-neutron-lib-wheels +python-novaclient-wheels +python-openstacksdk-wheels diff --git a/openstack/openstack-aodh/centos/stx-aodh.dev_docker_image b/openstack/openstack-aodh/centos/stx-aodh.dev_docker_image new file mode 100644 index 00000000..a8969c43 --- /dev/null +++ b/openstack/openstack-aodh/centos/stx-aodh.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-aodh +PROJECT=aodh +PROJECT_REPO=https://github.com/openstack/aodh.git +PIP_PACKAGES="pylint SQLAlchemy gnocchiclient aodhclient" +PROFILES="apache" + diff --git a/openstack/openstack-ironic/centos/stx-ironic.dev_docker_image b/openstack/openstack-ironic/centos/stx-ironic.dev_docker_image new file mode 100644 index 00000000..6806f829 --- /dev/null +++ b/openstack/openstack-ironic/centos/stx-ironic.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-ironic +PROJECT=ironic +PROJECT_REPO=https://github.com/openstack/ironic.git +PIP_PACKAGES="pylint alembic pysnmp" +PROFILES="ironic apache" + diff --git a/openstack/openstack-magnum/centos/stx-magnum.dev_docker_image b/openstack/openstack-magnum/centos/stx-magnum.dev_docker_image new file mode 100644 index 00000000..4eb5a14c --- /dev/null +++ b/openstack/openstack-magnum/centos/stx-magnum.dev_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-magnum +PROJECT=magnum +PROJECT_REPO=https://github.com/openstack/magnum.git +PIP_PACKAGES="pylint" +DIST_PACKAGES="which vim" +PROFILES="magnum apache" + diff --git a/openstack/openstack-murano/centos/stx-murano.dev_docker_image b/openstack/openstack-murano/centos/stx-murano.dev_docker_image new file mode 100644 index 00000000..f9104119 --- /dev/null +++ b/openstack/openstack-murano/centos/stx-murano.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-murano +PROJECT=murano +PROJECT_REPO=https://github.com/openstack/murano.git +PIP_PACKAGES="pylint python-glanceclient murano-pkg-check" +PROFILES="murano apache" + diff --git a/openstack/openstack-panko/centos/stx-panko.dev_docker_image b/openstack/openstack-panko/centos/stx-panko.dev_docker_image new file mode 100644 index 00000000..dcbfbd4c --- /dev/null +++ b/openstack/openstack-panko/centos/stx-panko.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-panko +PROJECT=panko +PROJECT_REPO=https://github.com/openstack/panko.git +PIP_PACKAGES="pylint python-openstackclient pankoclient" +PROFILES="apache" + diff --git a/openstack/python-barbican/centos/stx-barbican.dev_docker_image b/openstack/python-barbican/centos/stx-barbican.dev_docker_image new file mode 100644 index 00000000..ebb5fbd1 --- /dev/null +++ b/openstack/python-barbican/centos/stx-barbican.dev_docker_image @@ -0,0 +1,6 @@ +BUILDER=loci +LABEL=stx-barbican +PROJECT=barbican +PROJECT_REPO=https://github.com/openstack/barbican.git +PIP_PACKAGES="pycrypto" +PROFILES="fluent" diff --git a/openstack/python-ceilometer/centos/stx-ceilometer.dev_docker_image b/openstack/python-ceilometer/centos/stx-ceilometer.dev_docker_image new file mode 100644 index 00000000..180eb82d --- /dev/null +++ b/openstack/python-ceilometer/centos/stx-ceilometer.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-ceilometer +PROJECT=ceilometer +PROJECT_REPO=https://github.com/openstack/ceilometer.git +PIP_PACKAGES="pylint libvirt-python panko==5.0.0 gnocchiclient" +DIST_PACKAGES="libvirt ipmitool" + diff --git a/openstack/python-cinder/centos/stx-cinder.dev_docker_image b/openstack/python-cinder/centos/stx-cinder.dev_docker_image new file mode 100644 index 00000000..5e12ad42 --- /dev/null +++ b/openstack/python-cinder/centos/stx-cinder.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-cinder +PROJECT=cinder +PROJECT_REPO=https://github.com/openstack/cinder.git +PIP_PACKAGES="pycrypto python-swiftclient pylint" +PROFILES="fluent cinder lvm ceph qemu" + diff --git a/openstack/python-glance/centos/stx-glance.dev_docker_image b/openstack/python-glance/centos/stx-glance.dev_docker_image new file mode 100644 index 00000000..06da18ab --- /dev/null +++ b/openstack/python-glance/centos/stx-glance.dev_docker_image @@ -0,0 +1,8 @@ +BUILDER=loci +LABEL=stx-glance +PROJECT=glance +PROJECT_REPO=https://github.com/openstack/glance.git +PIP_PACKAGES="pycrypto python-swiftclient psutil pylint" +DIST_PACKAGES="postgresql-libs" +PROFILES="fluent glance ceph" + diff --git a/openstack/python-gnocchi/centos/stx-gnocchi.dev_docker_image b/openstack/python-gnocchi/centos/stx-gnocchi.dev_docker_image new file mode 100644 index 00000000..2af1e991 --- /dev/null +++ b/openstack/python-gnocchi/centos/stx-gnocchi.dev_docker_image @@ -0,0 +1,14 @@ +BUILDER=loci +LABEL=stx-gnocchi +PROJECT=gnocchi +# Temporarily pointing to forked gnocchi repo +# This is necessary to revert a specific commit that does +# not support the older CEPH currently in starlingx. +# Once the CEPH upgrade is complete, we can go back +# to using the main repo +PROJECT_REPO=https://github.com/donpenney/gnocchi.git +PIP_PACKAGES="pylint SQLAlchemy SQLAlchemy-Utils oslo.db keystonemiddleware gnocchiclient pymemcache psycopg2" +# python-rados is provided by ceph, so specify an older version to install +DIST_PACKAGES="python-rados-10.2.5" +PROFILES="gnocchi apache" + diff --git a/openstack/python-heat/openstack-heat/centos/stx-heat.dev_docker_image b/openstack/python-heat/openstack-heat/centos/stx-heat.dev_docker_image new file mode 100644 index 00000000..b34528d8 --- /dev/null +++ b/openstack/python-heat/openstack-heat/centos/stx-heat.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-heat +PROJECT=heat +PROJECT_REPO=https://github.com/openstack/heat.git +PIP_PACKAGES="pycrypto pylint" +PROFILES="fluent heat apache" + diff --git a/openstack/python-horizon/centos/stx-horizon.dev_docker_image b/openstack/python-horizon/centos/stx-horizon.dev_docker_image new file mode 100644 index 00000000..e60f2072 --- /dev/null +++ b/openstack/python-horizon/centos/stx-horizon.dev_docker_image @@ -0,0 +1,14 @@ +BUILDER=loci +LABEL=stx-horizon +PROJECT=horizon +PROJECT_REPO=https://github.com/openstack/horizon.git +PIP_PACKAGES="pycrypto python-ceilometerclient \ + coverage pyudev \ + ldap starlingx-dashboard pylint" +PROFILES="fluent horizon apache" +CUSTOMIZATION="\ + ln -s /bin/true /usr/bin/a2enmod && \ + sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf && \ + ln -s /var/lib/openstack/lib/python2.7/site-packages/starlingx_dashboard/themes/starlingx /var/lib/openstack/lib/python2.7/site-packages/openstack_dashboard/themes/starlingx \ +" + diff --git a/openstack/python-keystone/centos/stx-keystone.dev_docker_image b/openstack/python-keystone/centos/stx-keystone.dev_docker_image new file mode 100644 index 00000000..a418b012 --- /dev/null +++ b/openstack/python-keystone/centos/stx-keystone.dev_docker_image @@ -0,0 +1,7 @@ +BUILDER=loci +LABEL=stx-keystone +PROJECT=keystone +PROJECT_REPO=https://github.com/openstack/keystone.git +PIP_PACKAGES="python-openstackclient ldap ldappool python-ldap pylint" +PROFILES="fluent apache" + diff --git a/openstack/python-neutron/centos/stx-neutron.dev_docker_image b/openstack/python-neutron/centos/stx-neutron.dev_docker_image new file mode 100644 index 00000000..7023e960 --- /dev/null +++ b/openstack/python-neutron/centos/stx-neutron.dev_docker_image @@ -0,0 +1,13 @@ +BUILDER=loci +LABEL=stx-neutron +PROJECT=neutron +# Temporarily pointing to forked neutron repo +# This is necessary to pull in specific commits +# that have not yet merged upstream. +# Once all required commits are merged, this can +# revert back to the upstream repo. +PROJECT_REPO=https://github.com/donpenney/neutron +PIP_PACKAGES="networking-sfc pycrypto pylint tinyrpc lxml" +DIST_PACKAGES="ethtool lshw" +PROFILES="fluent neutron linuxbridge openvswitch" + diff --git a/openstack/python-nova/centos/stx-nova.dev_docker_image b/openstack/python-nova/centos/stx-nova.dev_docker_image new file mode 100644 index 00000000..d73fcc0e --- /dev/null +++ b/openstack/python-nova/centos/stx-nova.dev_docker_image @@ -0,0 +1,9 @@ +BUILDER=loci +LABEL=stx-nova +PROJECT=nova +PROJECT_REPO=https://github.com/openstack/nova.git +PIP_PACKAGES="pycrypto httplib2 pylint" +DIST_PACKAGES="openssh-clients openssh-server libvirt e2fsprogs" +PROFILES="fluent nova ceph linuxbridge openvswitch configdrive qemu apache" +CUSTOMIZATION="yum install -y openssh-clients" +