Cleanup tempest pike legacy jobs.

The zuulv3 tempest job now runs on pike so the legacy one is not needed
anymore. Also cleanup the -pike tempest bitrot jobs since they are not
used anywhere anynore.

Depends-on: https://review.openstack.org/547037

Change-Id: I7958944bb9ddc3e5615ae0c1e047a0582f08bf35
This commit is contained in:
Andrea Frittoli 2018-02-22 15:54:05 +00:00
parent d88743cb0b
commit 81300d6143
6 changed files with 1 additions and 167 deletions

View File

@ -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

View File

@ -1,57 +0,0 @@
- hosts: all
name: Autoconverted job legacy-periodic-tempest-dsvm-neutron-full-pike from old
job periodic-tempest-dsvm-neutron-full-ubuntu-xenial-pike
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=stable/pike
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 }}'

View File

@ -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

View File

@ -1,56 +0,0 @@
- hosts: all
name: Autoconverted job legacy-tempest-dsvm-neutron-full-pike from old job gate-tempest-dsvm-neutron-full-ubuntu-xenial-pike-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
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=stable/pike
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 }}'

View File

@ -2062,18 +2062,6 @@
- openstack/neutron
- openstack/tempest
- job:
name: legacy-periodic-tempest-dsvm-neutron-full-pike
parent: legacy-dsvm-base
run: playbooks/legacy/periodic-tempest-dsvm-neutron-full-pike/run.yaml
post-run: playbooks/legacy/periodic-tempest-dsvm-neutron-full-pike/post.yaml
timeout: 10800
branches: stable/pike
required-projects:
- openstack-infra/devstack-gate
- openstack/neutron
- openstack/tempest
- job:
name: legacy-periodic-tempest-dsvm-neutron-full-test-accounts-master
parent: legacy-dsvm-base
@ -4243,17 +4231,6 @@
- openstack/neutron
- openstack/tempest
- job:
name: legacy-tempest-dsvm-neutron-full-pike
parent: legacy-dsvm-base
run: playbooks/legacy/tempest-dsvm-neutron-full-pike/run.yaml
post-run: playbooks/legacy/tempest-dsvm-neutron-full-pike/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/neutron
- openstack/tempest
- job:
name: legacy-tempest-dsvm-neutron-full-test-accounts
parent: legacy-dsvm-base

View File

@ -86,7 +86,7 @@
check:
jobs:
- legacy-tempest-dsvm-neutron-full:
branches: ^stable/(newton|ocata|pike)$
branches: ^stable/(newton|ocata)$
- tempest-full
- neutron-grenade:
branches: ^(?!stable/newton).*$