Merge "zuul functional job: drop the custom playbooks"

This commit is contained in:
Zuul 2020-08-26 15:47:05 +00:00 committed by Gerrit Code Review
commit 24e8d7129c
5 changed files with 2 additions and 37 deletions

View File

@ -1,14 +1,13 @@
- job:
name: python-cinderclient-functional-base
abstract: true
parent: devstack
run: playbooks/python-cinderclient-functional.yaml
post-run: playbooks/post.yaml
parent: devstack-tox-functional
timeout: 4500
required-projects:
- openstack/cinder
- openstack/python-cinderclient
vars:
openrc_enable_export: true
devstack_localrc:
USE_PYTHON3: true
VOLUME_BACKING_FILE_SIZE: 16G

View File

@ -1,6 +0,0 @@
- hosts: all
vars:
tox_envlist: functional
roles:
- fetch-tox-output
- fetch-subunit-output

View File

@ -1,14 +0,0 @@
- hosts: all
roles:
- ensure-python
- run-devstack
# Run bindep and test-setup after devstack so that they won't interfere
- role: bindep
bindep_profile: test
bindep_dir: "{{ zuul_work_dir }}"
- test-setup
- get-os-environment
- ensure-tox
- role: tox
tox_install_siblings: false
environment: "{{ os_env_vars }}"

View File

@ -1,2 +0,0 @@
---
openrc_file: "{{ devstack_base_dir|default('/opt/stack') }}/devstack/openrc"

View File

@ -1,12 +0,0 @@
- name: Extract the OS_ environment variables
shell:
cmd: |
source {{ openrc_file }} admin admin &>/dev/null
env | awk -F= 'BEGIN {print "---" } /^OS_/ { print " "$1": \""$2"\""} '
args:
executable: "/bin/bash"
register: env_os
- name: Save the OS_ environment variables as a fact
set_fact:
os_env_vars: "{{ env_os.stdout|from_yaml }}"