move legacy-tempest-dsvm-nova-os-vif to repo
- This change ports the legacy-tempest-dsvm-nova-os-vif job to be in repo as os-vif-ovs. - The os-vif-ovs will be converted to use the non legacy workflow in a follow up commit. - This change adds os-vif-ovs to the gate and check pipelines. - legacy-tempest-dsvm-nova-os-vif will be removed form the os-vif jobs in project-config in a follow up commit. Change-Id: Ida41a4ec5602482406c7401621498deeee9f1b8b
This commit is contained in:
parent
1e4cf6160e
commit
afee563d00
14
.zuul.yaml
14
.zuul.yaml
@ -1,11 +1,25 @@
|
||||
- job:
|
||||
name: os-vif-ovs
|
||||
parent: legacy-dsvm-base
|
||||
run: playbooks/os-vif-ovs/run.yaml
|
||||
post-run: playbooks/os-vif-ovs/post.yaml
|
||||
timeout: 7800
|
||||
required-projects:
|
||||
- openstack-infra/devstack-gate
|
||||
- openstack/nova
|
||||
- openstack/os-vif
|
||||
- openstack/tempest
|
||||
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-functional-with-sudo
|
||||
- kuryr-kubernetes-tempest-daemon-octavia
|
||||
- openstack-tox-lower-constraints
|
||||
- os-vif-ovs
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-functional-with-sudo
|
||||
- kuryr-kubernetes-tempest-daemon-octavia
|
||||
- openstack-tox-lower-constraints
|
||||
- os-vif-ovs
|
||||
|
15
playbooks/os-vif-ovs/post.yaml
Normal file
15
playbooks/os-vif-ovs/post.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- 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
|
40
playbooks/os-vif-ovs/run.yaml
Normal file
40
playbooks/os-vif-ovs/run.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-tempest-dsvm-nova-os-vif from old job gate-tempest-dsvm-nova-os-vif-ubuntu-xenial-nv
|
||||
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-infra/devstack-gate
|
||||
dest: devstack-gate
|
||||
EOF
|
||||
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack-infra/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
|
||||
# enable to use os-vif for Nova
|
||||
export DEVSTACK_PROJECT_FROM_GIT="os-vif"
|
||||
|
||||
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
Block a user