Migrate to zuulv3

¯\_(ツ)_/¯

I don't know what I'm doing.

Needed-by: I9dd75e601a59b0c50034b4faffc8bf8d4bc7ad12
Needed-by: Iebc0ca0b89b12e4863cf3ca33389182cba34c67f
Change-Id: I1e91a2c4bb48887da6b61db558a1f04cd8ab37a2
This commit is contained in:
Kaitlin Farr 2017-10-27 12:41:56 -04:00 committed by Davanum Srinivas (dims)
parent 51e8ddcb65
commit 991b670d34
4 changed files with 63 additions and 0 deletions

46
.zuul.yaml Normal file
View File

@ -0,0 +1,46 @@
- job:
name: castellan-functional-devstack
parent: devstack
description: |
Run DevStack-based Castellan functional tests
pre-run: playbooks/devstack/pre.yaml
run: playbooks/devstack/run.yaml
post-run: playbooks/devstack/post.yaml
required-projects:
- name: openstack/castellan
- name: openstack/barbican
- name: openstack/python-barbicanclient
roles:
- zuul: openstack-infra/devstack
timeout: 9000
vars:
devstack_services:
# is there a way to disable all services? I only want barbican
ceilometer-acentral: False
ceilometer-acompute: False
ceilometer-alarm-evaluator: False
ceilometer-alarm-notifier: False
ceilometer-anotification: False
ceilometer-api: False
ceilometer-collector: False
horizon: False
s-account: False
s-container: False
s-object: False
s-proxy: False
devstack_plugins:
barbican: git://git.openstack.org/openstack/barbican
tox_environment:
PYTHONUNBUFFERED: 'true'
tox_install_siblings: False # I don't know what this means
tox_envlist: functional
zuul_work_dir: src/git.openstack.org/openstack/castellan
- project:
name: openstack/castellan
check:
jobs:
- castellan-functional-devstack
gate:
jobs:
- castellan-functional-devstack

View File

@ -0,0 +1,4 @@
- hosts: all
roles:
- fetch-tox-output
- fetch-stestr-output

View File

@ -0,0 +1,10 @@
- hosts: all
roles:
- run-devstack
- role: bindep
bindep_profile: test
bindep_dir: "{{ zuul_work_dir }}"
- test-setup
- ensure-tox
- role: tox-siblings
when: tox_install_siblings

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- tox