From 4d018e27f2ab79893759547a00680560941472bf Mon Sep 17 00:00:00 2001
From: Ihar Hrachyshka <ihrachys@redhat.com>
Date: Wed, 10 Jan 2018 13:22:14 -0800
Subject: [PATCH] Removed neutron-tempest-full

We already have tempest-full job that is identical and defined elsewhere
(in tempest repo) that is part of our queues.

Change-Id: I788973513ec17bcc0df362dd42783dcc7aa8e452
---
 .zuul.yaml                                    | 23 --------
 .../legacy/neutron-tempest-full/post.yaml     | 15 -----
 .../legacy/neutron-tempest-full/run.yaml      | 56 -------------------
 3 files changed, 94 deletions(-)
 delete mode 100644 playbooks/legacy/neutron-tempest-full/post.yaml
 delete mode 100644 playbooks/legacy/neutron-tempest-full/run.yaml

diff --git a/.zuul.yaml b/.zuul.yaml
index f8244e6bd1b..a732bf5a9ac 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -14,7 +14,6 @@
         - neutron-tempest-multinode-full
         - neutron-tempest-dvr-ha-multinode-full
         - neutron-tempest-ovsfw
-        - neutron-tempest-full
         - neutron-grenade
     gate:
       jobs:
@@ -23,7 +22,6 @@
         - neutron-tempest-linuxbridge
         - neutron-grenade-multinode
         - neutron-grenade-dvr-multinode
-        - neutron-tempest-full
         - neutron-grenade
 
 - job:
@@ -250,27 +248,6 @@
       - ^tox.ini$
     voting: false
 
-- job:
-    name: neutron-tempest-full
-    parent: legacy-dsvm-base
-    run: playbooks/legacy/neutron-tempest-full/run.yaml
-    post-run: playbooks/legacy/neutron-tempest-full/post.yaml
-    timeout: 10800
-    required-projects:
-      - openstack-infra/devstack-gate
-      - openstack/neutron
-      - openstack/tempest
-    irrelevant-files:
-      - ^(test-|)requirements.txt$
-      - ^.*\.rst$
-      - ^doc/.*$
-      - ^neutron/locale/.*$
-      - ^neutron/tests/unit/.*$
-      - ^releasenotes/.*$
-      - ^setup.cfg$
-      - ^tools/.*$
-      - ^tox.ini$
-
 - job:
     name: neutron-grenade
     parent: legacy-dsvm-base
diff --git a/playbooks/legacy/neutron-tempest-full/post.yaml b/playbooks/legacy/neutron-tempest-full/post.yaml
deleted file mode 100644
index e07f5510ae7..00000000000
--- a/playbooks/legacy/neutron-tempest-full/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-full/run.yaml b/playbooks/legacy/neutron-tempest-full/run.yaml
deleted file mode 100644
index fad35a002f9..00000000000
--- a/playbooks/legacy/neutron-tempest-full/run.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-- hosts: all
-  name: Autoconverted job legacy-tempest-dsvm-neutron-full from old job gate-tempest-dsvm-neutron-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-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
-          cat << 'EOF' >>"/tmp/dg-local.conf"
-          [[local|localrc]]
-          ENABLE_FILE_INJECTION=True
-
-          EOF
-        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=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 }}'