zaqar/.zuul.yaml
Luigi Toscano d8f02715c2 Native Zuul v3 version of the grenade jobs
The upgrade pre/post script have been removed, because they are empty.

This change includes a few fixes for the grenade plugin:
- make sure to install mongo-tools when running grenade tests,
  as they use mongodump which is part of that package.
- use sudo also when saving the redis dump file for the target
  logs, as it already happens when the dump for the base logs
  is copied.

The jobs have been ported separately from the tempest and rally
jobs because they can't be backported to all the older stable branches
like them (right now, only up to train).

Change-Id: I73c4c4dee994f13b7411a17f0c5d95ca9c84bd30
2020-08-23 20:06:05 +02:00

114 lines
3.1 KiB
YAML

- job:
name: zaqar-grenade-base
abstract: true
parent: grenade
description: |
Abstract base grenade job for zaqar tempest plugin
required-projects:
- opendev.org/openstack/python-zaqarclient
- opendev.org/openstack/zaqar
- opendev.org/openstack/zaqar-tempest-plugin
vars:
devstack_plugins:
zaqar: https://opendev.org/openstack/zaqar
devstack_services:
# probably other services can be disabled;
# the old legacy job only uses mysql, keystone, zaqar and tempest
s-account: false
s-container: false
s-object: false
s-proxy: false
c-bak: false
tempest_plugins:
- zaqar-tempest-plugin
tempest_test_regex: zaqar_tempest_plugin.tests
tox_envlist: all
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
- job:
name: zaqar-grenade-mongodb
parent: zaqar-grenade-base
voting: false
vars:
grenade_devstack_localrc:
shared:
ZAQAR_BACKEND: mongodb
- job:
name: zaqar-grenade-redis
parent: zaqar-grenade-base
voting: false
vars:
grenade_devstack_localrc:
shared:
ZAQAR_BACKEND: redis
- job:
name: zaqar-grenade-swift
parent: zaqar-grenade-base
voting: false
vars:
devstack_services:
s-account: true
s-container: true
s-object: true
s-proxy: true
grenade_devstack_localrc:
shared:
ZAQAR_BACKEND: swift
- job:
name: zaqar-tox-integration
parent: openstack-tox
description: |
Run Zaqar integration tests using tox with environment ``integration``.
vars:
tox_envlist: integration
- job:
name: zaqar-rally
parent: rally-task-zaqar
vars:
rally_task: rally-jobs/zaqar-zaqar.yaml
- project:
templates:
- check-requirements
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- zaqar-tox-integration
- zaqar-tempest-plugin-mongodb
- zaqar-tempest-plugin-redis
- zaqar-tempest-plugin-swift
- zaqar-tempest-plugin-swift-ipv6
- zaqar-grenade-mongodb
- zaqar-grenade-redis
- zaqar-grenade-swift
# TripleO jobs that deploy Zaqar.
# Note we don't use a project-template here, so it's easier
# to disable voting on one specific job if things go wrong.
# If you need any support to debug these jobs in case of
# failures, please reach us on #tripleo IRC channel.
- tripleo-ci-centos-7-scenario002-standalone
# Heat job that deploy Zaqar
- heat-functional-convg-mysql-lbaasv2
- zaqar-rally:
voting: false
gate:
queue: zaqar
jobs:
- zaqar-tox-integration
- zaqar-tempest-plugin-mongodb
- zaqar-tempest-plugin-redis
- zaqar-tempest-plugin-swift
- zaqar-tempest-plugin-swift-ipv6
- tripleo-ci-centos-7-scenario002-standalone
- heat-functional-convg-mysql-lbaasv2