Switch neutron-tempest-with-os-ken-master job to zuul v3
This patch switches neutron-tempest-with-os-ken-master to zuul v3 syntax. It also switches this job to only run networking related tests instead of full tempest test suite. Change-Id: I4e9aa4bbafed4de0e3c13ece44f8e700952da568
This commit is contained in:
parent
418be00155
commit
3593b0dc69
|
@ -398,14 +398,13 @@
|
|||
|
||||
- job:
|
||||
name: neutron-tempest-with-os-ken-master
|
||||
parent: legacy-dsvm-base
|
||||
run: playbooks/legacy/neutron-tempest-with-os-ken-master/run.yaml
|
||||
post-run: playbooks/legacy/neutron-tempest-with-os-ken-master/post.yaml
|
||||
parent: tempest-integrated-networking
|
||||
timeout: 7800
|
||||
required-projects:
|
||||
- openstack/devstack-gate
|
||||
- openstack/neutron
|
||||
- openstack/tempest
|
||||
- openstack/os-ken
|
||||
|
||||
- job:
|
||||
name: neutron-fullstack-with-uwsgi
|
||||
|
|
|
@ -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,55 +0,0 @@
|
|||
- hosts: all
|
||||
name: Autoconverted job legacy-periodic-tempest-dsvm-neutron-with-os-ken-master from
|
||||
old job periodic-tempest-dsvm-neutron-with-ryu-master-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_NEUTRON=1
|
||||
export DEVSTACK_GATE_TLSPROXY=1
|
||||
export BRANCH_OVERRIDE=master
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
fi
|
||||
|
||||
function gate_hook {
|
||||
local os_ken_path=$BASE/new/os_ken_master
|
||||
if [ ! -d $os_ken_path ]; then
|
||||
git clone https://github.com/openstack/os-ken.git $os_ken_path
|
||||
fi
|
||||
sudo pip install -e $os_ken_path
|
||||
$BASE/new/devstack-gate/devstack-vm-gate.sh
|
||||
}
|
||||
export -f gate_hook
|
||||
|
||||
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 }}'
|
Loading…
Reference in New Issue