openstack-heat/devstack
Elod Illes 21ed95f9b6 [CI] Use compatible version of heat-tempest-plugin
This is a combination of five patch to fix the gate:

1. Use compatible version of heat-tempest-plugin

heat-tempest-plugin dropped py38 support, hence it cannot be installed
from recent master, so we need to override the checkout to the version
that still supports py38 and compatible to the actual branch.

This is needed both for the grenade job and the functional job, because
these are using the heat-tempest-plugin.

2. Try archive path to download Fedora image

This is a temporal workaround to allow downloading Fedora 37 image
which was moved to the archive path.

3. Remove reference to devstack-gate

devstack-gate was deprecated in xena and is being retired now[1].

4. [stable-only] Cap setuptools <71.0.0

py39 jobs (on ubuntu-focal) started to fail due to recent virtualenv
release (20.26.4) on Yoga (which bundles setuptools), because we have
'packaging==21.3' in this branch that is not compatible with newer
setuptools [2].

setuptools is bundled in virtualenv, so it has to be capped via the
virtualenv package. tox also needed to be capped (<4) as gate uses
tox 3.28.0, but with capping virtualenv we pull in latest tox as well,
which would cause other errors.

5. Set functional jobs as non-voting

heat-functional jobs try to install python-zaqarclient (via zaqar
project) from master branch, but on master the client dropped py38
support, hence the jobs fail. This patch sets it non-voting as a
quick workaround until a final fix arrives.

[1] https://review.opendev.org/c/openstack/governance/+/919629
[2] https://github.com/pypa/setuptools/issues/4483

Changes:
  .zuul.yaml

NOTE(elod.illes): change in .zuul.yaml is to adapt the patch to the
current branch ('<series>-last' needs to be used).

Change-Id: I9b1702749976a2cea42a24130e5fec2931b75ce1
(cherry picked from commit a806b400cf)
(cherry picked from commit ae6225890e)
(cherry picked from commit 4fd9953a55)
(cherry picked from commit 81a8b93254)
(cherry picked from commit 665ccfc262)
(cherry picked from commit c18b344591)
(cherry picked from commit dcf7403635)
2024-12-15 11:51:39 +01:00
..
lib [CI] Use compatible version of heat-tempest-plugin 2024-12-15 11:51:39 +01:00
upgrade Fix setting the tempest virtual env constraints env var 2023-04-03 12:56:23 +09:00
plugin.sh Migrate functional test jobs to zuul v3 2020-01-07 09:38:04 +08:00
README.rst Switch to use opendev.org 2019-04-22 09:36:50 +05:30
settings Drop creating extra endpoints in devstack 2019-08-19 10:33:49 +00:00

=========================
Enabling heat in DevStack
=========================

1. Download DevStack::

     git clone https://opendev.org/openstack-dev/devstack
     cd devstack

2. Add this repo as an external repository into your ``local.conf`` file::

     [[local|localrc]]
     enable_plugin heat https://opendev.org/openstack/heat

3. Run ``stack.sh``.