Use Zuulv3 devstack jobs
This patch updates the gate jobs to stop using legacy jobs and use the new Zuul v3 jobs instead. The tempest tests will be re-enabled in a future patch. Depends-On: I5d2bda5e653ee5d7c17cb7697247802916bdc5f7 Change-Id: Id91f44e8053cf4f40224959021d43736d5525107
This commit is contained in:
parent
7b14d983e0
commit
b8266ef402
162
.zuul.yaml
162
.zuul.yaml
@ -1,33 +1,46 @@
|
|||||||
|
---
|
||||||
- job:
|
- job:
|
||||||
name: barbican-devstack-functional-base
|
name: barbican-tox-functional
|
||||||
parent: legacy-dsvm-base
|
parent: devstack-tox-functional
|
||||||
vars:
|
description: Functional testing
|
||||||
database: sql
|
|
||||||
services: tempest,rabbit,mysql,key
|
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/devstack-gate
|
- name: openstack/barbican
|
||||||
- openstack/barbican
|
- name: openstack/castellan
|
||||||
- openstack/barbican-tempest-plugin
|
- name: openstack/openstacksdk
|
||||||
- openstack/python-barbicanclient
|
vars:
|
||||||
run: playbooks/legacy/barbican-devstack-functional-base/run.yaml
|
devstack_localrc:
|
||||||
post-run: playbooks/legacy/barbican-devstack-functional-base/post.yaml
|
USE_PYTHON3: true
|
||||||
timeout: 4200
|
devstack_plugins:
|
||||||
|
barbican: https://opendev.org/openstack/barbican
|
||||||
|
tox_install_siblings: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: barbican-devstack-base
|
name: barbican-dogtag-tox-functional
|
||||||
parent: legacy-base
|
nodeset: devstack-single-node-fedora-latest
|
||||||
|
parent: barbican-tox-functional
|
||||||
|
description: |
|
||||||
|
Functional testing for DogTag backend
|
||||||
vars:
|
vars:
|
||||||
database: sql
|
devstack_services:
|
||||||
services: tempest,keystone
|
dogtag: true
|
||||||
required-projects:
|
|
||||||
- openstack/devstack
|
- job:
|
||||||
- openstack/devstack-gate
|
name: barbican-vault-tox-functional
|
||||||
- openstack/barbican
|
parent: barbican-tox-functional
|
||||||
- openstack/barbican-tempest-plugin
|
description: |
|
||||||
- openstack/python-barbicanclient
|
Functional testing for Hashicorp Vault backend
|
||||||
run: playbooks/legacy/barbican-devstack-base/run.yaml
|
vars:
|
||||||
post-run: playbooks/legacy/barbican-devstack-base/post.yaml
|
devstack_services:
|
||||||
timeout: 4200
|
vault: true
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: barbican-kmip-tox-functional
|
||||||
|
parent: devstack-tox-functional
|
||||||
|
description: |
|
||||||
|
Functional testing for KMIP backend using PyKMIP
|
||||||
|
vars:
|
||||||
|
devstack_services:
|
||||||
|
kmip: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: barbican-devstack-tempest-base
|
name: barbican-devstack-tempest-base
|
||||||
@ -48,67 +61,6 @@
|
|||||||
post-run: playbooks/legacy/barbican-devstack-tempest-base/post.yaml
|
post-run: playbooks/legacy/barbican-devstack-tempest-base/post.yaml
|
||||||
timeout: 4200
|
timeout: 4200
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-dogtag-devstack-functional-fedora-latest
|
|
||||||
nodeset: devstack-single-node-fedora-latest
|
|
||||||
parent: barbican-devstack-functional-base
|
|
||||||
# non-voting until https://pagure.io/dogtagpki/issue/3108 is fixed
|
|
||||||
voting: false
|
|
||||||
vars:
|
|
||||||
services: barbican-dogtag,tempest,rabbit,mysql,key
|
|
||||||
plugin: dogtag
|
|
||||||
post-run: playbooks/legacy/barbican-devstack-functional-base/dogtag-post.yaml
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-vault-devstack-functional
|
|
||||||
parent: barbican-devstack-functional-base
|
|
||||||
vars:
|
|
||||||
services: barbican-vault,tempest,rabbit,mysql,key
|
|
||||||
plugin: vault
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-kmip-devstack-functional
|
|
||||||
parent: barbican-devstack-functional-base
|
|
||||||
vars:
|
|
||||||
services: barbican-pykmip,pykmip-server,tempest,rabbit,mysql,key
|
|
||||||
plugin: kmip
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-simple-crypto-devstack-functional
|
|
||||||
parent: barbican-devstack-functional-base
|
|
||||||
vars:
|
|
||||||
plugin: simple-crypto
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-simple-crypto-devstack-functional-postgres
|
|
||||||
parent: barbican-devstack-functional-base
|
|
||||||
voting: false
|
|
||||||
vars:
|
|
||||||
database: postgres
|
|
||||||
plugin: simple-crypto
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-dogtag-devstack-fedora-latest
|
|
||||||
nodeset: devstack-single-node-fedora-latest
|
|
||||||
parent: barbican-devstack-base
|
|
||||||
vars:
|
|
||||||
services: barbican-dogtag,tempest,keystone
|
|
||||||
plugin: dogtag
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-simple-crypto-devstack
|
|
||||||
parent: barbican-devstack-base
|
|
||||||
vars:
|
|
||||||
plugin: simple-crypto
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: barbican-simple-crypto-devstack-postgres
|
|
||||||
parent: barbican-devstack-base
|
|
||||||
voting: false
|
|
||||||
vars:
|
|
||||||
plugin: simple-crypto
|
|
||||||
database: postgres
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: barbican-simple-crypto-devstack-tempest
|
name: barbican-simple-crypto-devstack-tempest
|
||||||
parent: barbican-devstack-tempest-base
|
parent: barbican-devstack-tempest-base
|
||||||
@ -131,20 +83,13 @@
|
|||||||
cursive: 1
|
cursive: 1
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: barbican-grenade-devstack
|
name: barbican-grenade
|
||||||
parent: legacy-dsvm-base
|
parent: grenade-py3
|
||||||
irrelevant-files:
|
|
||||||
- ^(test-|)requirements.txt$
|
|
||||||
- ^setup.cfg$
|
|
||||||
run: playbooks/legacy/grenade-devstack-barbican/run.yaml
|
|
||||||
post-run: playbooks/legacy/grenade-devstack-barbican/post.yaml
|
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/grenade
|
- openstack/grenade
|
||||||
- openstack/devstack-gate
|
|
||||||
- openstack/barbican
|
- openstack/barbican
|
||||||
- openstack/barbican-tempest-plugin
|
- openstack/barbican-tempest-plugin
|
||||||
- openstack/python-barbicanclient
|
- openstack/python-barbicanclient
|
||||||
timeout: 7800
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
@ -156,13 +101,15 @@
|
|||||||
- release-notes-jobs-python3
|
- release-notes-jobs-python3
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- barbican-simple-crypto-devstack-tempest
|
- barbican-tox-functional
|
||||||
- barbican-simple-crypto-devstack-functional
|
- barbican-dogtag-tox-functional:
|
||||||
- barbican-simple-crypto-devstack-functional-postgres
|
voting: false
|
||||||
- barbican-dogtag-devstack-functional-fedora-latest
|
- barbican-vault-tox-functional:
|
||||||
- barbican-vault-devstack-functional
|
voting: false
|
||||||
- barbican-grenade-devstack
|
- barbican-grenade:
|
||||||
- barbican-simple-crypto-devstack-tempest-ipv6-only
|
voting: false
|
||||||
|
# - barbican-simple-crypto-devstack-tempest
|
||||||
|
# - barbican-simple-crypto-devstack-tempest-ipv6-only
|
||||||
- octavia-v2-dsvm-tls-barbican
|
- octavia-v2-dsvm-tls-barbican
|
||||||
# TripleO jobs that deploy Barbican.
|
# TripleO jobs that deploy Barbican.
|
||||||
# Note we don't use a project-template here, so it's easier
|
# Note we don't use a project-template here, so it's easier
|
||||||
@ -176,15 +123,8 @@
|
|||||||
gate:
|
gate:
|
||||||
queue: barbican
|
queue: barbican
|
||||||
jobs:
|
jobs:
|
||||||
- barbican-simple-crypto-devstack-tempest
|
- barbican-tox-functional
|
||||||
- barbican-simple-crypto-devstack-functional
|
|
||||||
# TODO(redrobot): add this back once job is voting again
|
|
||||||
#- barbican-dogtag-devstack-functional-fedora-latest
|
|
||||||
- barbican-vault-devstack-functional
|
|
||||||
- barbican-grenade-devstack
|
|
||||||
- barbican-simple-crypto-devstack-tempest-ipv6-only
|
|
||||||
- octavia-v2-dsvm-tls-barbican
|
|
||||||
experimental:
|
experimental:
|
||||||
jobs:
|
jobs:
|
||||||
- barbican-kmip-devstack-functional
|
- barbican-kmip-tox-functional
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Defaults
|
# Defaults
|
||||||
# --------
|
# --------
|
||||||
|
|
||||||
|
define_plugin barbican
|
||||||
|
|
||||||
# Set up default directories
|
# Set up default directories
|
||||||
BARBICAN_DIR=$DEST/barbican
|
BARBICAN_DIR=$DEST/barbican
|
||||||
BARBICAN_CONF_DIR=${BARBICAN_CONF_DIR:-/etc/barbican}
|
BARBICAN_CONF_DIR=${BARBICAN_CONF_DIR:-/etc/barbican}
|
||||||
|
@ -43,7 +43,7 @@ data models.
|
|||||||
|
|
||||||
.. autoclass:: GenerateDTO
|
.. autoclass:: GenerateDTO
|
||||||
|
|
||||||
.. autoclass:: GenerateDTO
|
.. autoclass:: ResponseDTO
|
||||||
|
|
||||||
Plugin Base Class
|
Plugin Base Class
|
||||||
=================
|
=================
|
||||||
|
@ -334,7 +334,7 @@ class AclTestCase(base.TestCase):
|
|||||||
|
|
||||||
secret_no_payload = {
|
secret_no_payload = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
|||||||
|
|
||||||
create_secret_data = {
|
create_secret_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -109,7 +109,7 @@ class BaseContainerTestCase(base.TestCase):
|
|||||||
def _create_a_secret(self):
|
def _create_a_secret(self):
|
||||||
secret_defaults_data = {
|
secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
@ -389,7 +389,7 @@ class ContainersPagingTestCase(base.PagingTestCase):
|
|||||||
def _create_a_secret(self):
|
def _create_a_secret(self):
|
||||||
secret_defaults_data = {
|
secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -84,7 +84,7 @@ def get_passphrase_req():
|
|||||||
def get_default_data():
|
def get_default_data():
|
||||||
return {
|
return {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
@ -135,7 +135,7 @@ class SecretsTestCase(base.TestCase):
|
|||||||
|
|
||||||
self.default_secret_create_two_phase_data = {
|
self.default_secret_create_two_phase_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
|||||||
|
|
||||||
create_secret_data = {
|
create_secret_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -23,7 +23,7 @@ from functionaltests.api.v1.models import secret_models
|
|||||||
|
|
||||||
create_secret_defaults_data = {
|
create_secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -24,7 +24,7 @@ from functionaltests.api.v1.models import secret_models
|
|||||||
|
|
||||||
default_secret_create_data = {
|
default_secret_create_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
@ -61,7 +61,7 @@ default_secret_create_emptystrings_data = {
|
|||||||
|
|
||||||
default_secret_create_two_phase_data = {
|
default_secret_create_two_phase_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
Loading…
Reference in New Issue
Block a user