summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorSlawek Kaplonski <skaplons@redhat.com>2018-12-22 23:04:07 +0100
committerSlawek Kaplonski <skaplons@redhat.com>2019-01-04 08:28:51 +0000
commit7ae764eff9fd4490b5b4e4d215e6bd647e3cd76a (patch)
tree910c6ed3771e4ddf619728977c86597cc854a70f /playbooks
parentc5a71bf75f8d61f4804d103fbfd2e65c3e6aed1e (diff)
downloadneutron-7ae764eff9fd4490b5b4e4d215e6bd647e3cd76a.tar.gz
Migrate neutron-tempest-dvr job to zuulv3 and python 3
Related-bug: #1804844 Change-Id: I34ec9081ac87aed26abc09bcfa06d4fd2d6aaff8
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/neutron-tempest-dvr/post.yaml15
-rw-r--r--playbooks/legacy/neutron-tempest-dvr/run.yaml44
2 files changed, 0 insertions, 59 deletions
diff --git a/playbooks/legacy/neutron-tempest-dvr/post.yaml b/playbooks/legacy/neutron-tempest-dvr/post.yaml
deleted file mode 100644
index e07f5510ae..0000000000
--- a/playbooks/legacy/neutron-tempest-dvr/post.yaml
+++ /dev/null
@@ -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
diff --git a/playbooks/legacy/neutron-tempest-dvr/run.yaml b/playbooks/legacy/neutron-tempest-dvr/run.yaml
deleted file mode 100644
index 9cb227547a..0000000000
--- a/playbooks/legacy/neutron-tempest-dvr/run.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-- hosts: all
- name: Autoconverted job legacy-tempest-dsvm-neutron-dvr from old job gate-tempest-dsvm-neutron-dvr-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-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_NEUTRON=1
- export DEVSTACK_GATE_TEMPEST_FULL=1
- export DEVSTACK_GATE_NEUTRON_DVR=1
- export DEVSTACK_GATE_TLSPROXY=1
- export BRANCH_OVERRIDE=default
- 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 }}'