From 3593b0dc69e85406c4512a0d0463df1b354b217f Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Mon, 18 Nov 2019 14:39:16 +0100 Subject: [PATCH] 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 --- .zuul.yaml | 5 +- .../post.yaml | 15 ----- .../run.yaml | 55 ------------------- 3 files changed, 2 insertions(+), 73 deletions(-) delete mode 100644 playbooks/legacy/neutron-tempest-with-os-ken-master/post.yaml delete mode 100644 playbooks/legacy/neutron-tempest-with-os-ken-master/run.yaml diff --git a/.zuul.yaml b/.zuul.yaml index ee07abf377c..8340d153f2f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -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 diff --git a/playbooks/legacy/neutron-tempest-with-os-ken-master/post.yaml b/playbooks/legacy/neutron-tempest-with-os-ken-master/post.yaml deleted file mode 100644 index e07f5510ae7..00000000000 --- a/playbooks/legacy/neutron-tempest-with-os-ken-master/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-with-os-ken-master/run.yaml b/playbooks/legacy/neutron-tempest-with-os-ken-master/run.yaml deleted file mode 100644 index da193ae071a..00000000000 --- a/playbooks/legacy/neutron-tempest-with-os-ken-master/run.yaml +++ /dev/null @@ -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 }}'