Switch neutron-tempest-postgres-full job definition to Zuul v3
And also switch it to be inheriting from tempest-integrated-networking to run only neutron and nova related tests on it and make it faster. Change-Id: Ie7e03848fc5f1bb1425987d4413dd6c02045a879
This commit is contained in:

committed by
Rodolfo Alonso Hernandez

parent
7d48bde722
commit
17706412e2
@@ -396,14 +396,17 @@
|
|||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: neutron-tempest-postgres-full
|
name: neutron-tempest-postgres-full
|
||||||
parent: legacy-dsvm-base
|
parent: tempest-integrated-networking
|
||||||
run: playbooks/legacy/neutron-tempest-postgres-full/run.yaml
|
|
||||||
post-run: playbooks/legacy/neutron-tempest-postgres-full/post.yaml
|
|
||||||
timeout: 7800
|
timeout: 7800
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/devstack-gate
|
- openstack/devstack-gate
|
||||||
- openstack/neutron
|
- openstack/neutron
|
||||||
- openstack/tempest
|
- openstack/tempest
|
||||||
|
vars:
|
||||||
|
devstack_services:
|
||||||
|
postgresql: true
|
||||||
|
mysql: false
|
||||||
|
irrelevant-files: *tempest-irrelevant-files
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: neutron-tempest-with-os-ken-master
|
name: neutron-tempest-with-os-ken-master
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/logs/**
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@@ -1,46 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-periodic-tempest-dsvm-neutron-pg-full from old job
|
|
||||||
periodic-tempest-dsvm-neutron-pg-full-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
cat > clonemap.yaml << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: openstack/devstack-gate
|
|
||||||
dest: devstack-gate
|
|
||||||
EOF
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
|
|
||||||
https://opendev.org \
|
|
||||||
openstack/devstack-gate
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
export PYTHONUNBUFFERED=true
|
|
||||||
export DEVSTACK_GATE_TEMPEST=1
|
|
||||||
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
||||||
export DEVSTACK_GATE_POSTGRES=1
|
|
||||||
export DEVSTACK_GATE_NEUTRON=1
|
|
||||||
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
||||||
export DEVSTACK_GATE_TLSPROXY=1
|
|
||||||
export BRANCH_OVERRIDE=master
|
|
||||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
||||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
||||||
fi
|
|
||||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
||||||
./safe-devstack-vm-gate-wrap.sh
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
Reference in New Issue
Block a user