grenade/roles/prepare-grenade-logs
Andrea Frittoli 514ddc8eaa Setup native grenade Zuul v3 jobs
Setup a native Zuul v3 grenade-base job that defines base folders and
base devstack settings. The grenade play checks out repositories
in two locations, old and new, and sets up devstack config
in old and new as well.

Define a grenade job that sets up devstack services.
This job runs:
- devstack from grenade_from_branch (without tempest)
- grenade from grenade_to_branch
- projects in old from grenade_from_branch
and then tries to run grenade and then tempest.
The configure-grenade-branches role sets the base/target
branch variables (grenade_{from,to}_branch) and must be
updated when cutting a new branch.

Also, define the native versions of the grenade-postgresql
and grenade-multinode jobs, replacing non-native jobs
(like neutron-grenade and neutron-grenade-multinode) when possible.
Even though Python 3 is now the default, define grenade-py3
for compatibility reasons.

Finally, define a basic grenade-forward job which should
be used for forward upgrade testing. Forward testing
requires the user to set the destination branch,
and it is relevant for stable branches only, so disable it
from master.

At least for legacy grenade jobs, Zuul seems to be taking care
of Depends-On on the stable branch.

It is worth noting that tls-proxy is set to False as
it happens with the current legacy jobs. It does not
work by just flipping it to true.

Co-Authored-By: Luigi Toscano <ltoscano@redhat.com>
Depends-On: https://review.opendev.org/637523
Depends-On: https://review.opendev.org/649275
Change-Id: Iefe8d1d7d13bb56cbc9e80fb009d19218f8b1a64
2020-04-26 10:59:04 +02:00
..
defaults Setup native grenade Zuul v3 jobs 2020-04-26 10:59:04 +02:00
tasks Setup native grenade Zuul v3 jobs 2020-04-26 10:59:04 +02:00
README.rst Setup native grenade Zuul v3 jobs 2020-04-26 10:59:04 +02:00

README.rst

Move the logs and other data files which are relevant for the starting and destination branches, which are generated by devstack, grenade and tempest. This role is needed because stage-output does not support duplicated file names, even if they come from different directories.

Role Variables

The grenade base shared directory.

The grenade base directory of the deployment.

The final name of the directory which should store the content of the save/ directory generated by grenade.