Update the Zuul configuration

- Remove deprecated test that is no longer used by oslo.messaging

Change-Id: Ice0ce9f1b005f8a1a7216e12cb910441608a37c1
This commit is contained in:
Kenneth Giusti 2020-07-17 09:54:40 -04:00
parent 305802ea2e
commit 4e1c82f637
3 changed files with 1 additions and 98 deletions

View File

@ -1,30 +1,9 @@
- job:
name: devstack-plugin-kafka-tempest-full
parent: legacy-dsvm-base
run: playbooks/legacy/tempest-dsvm-full-kafka/run.yaml
post-run: playbooks/legacy/tempest-dsvm-full-kafka/post.yaml
timeout: 10800
required-projects:
- openstack/devstack-gate
- openstack/devstack-plugin-kafka
- openstack/tempest
- project:
check:
jobs:
- openstack-tox-bashate
- devstack-plugin-kafka-tempest-full:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
- oslo.messaging-src-dsvm-full-kafka-default:
voting: false
- oslo.messaging-src-dsvm-full-kafka-default-centos-7:
- oslo.messaging-src-dsvm-full-kafka-hybrid:
voting: false
gate:
jobs:
- openstack-tox-bashate
- devstack-plugin-kafka-tempest-full:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$

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,61 +0,0 @@
- hosts: all
name: Autoconverted job legacy-tempest-dsvm-full-kafka from old job gate-tempest-dsvm-full-kafka-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin devstack-plugin-kafka https://opendev.org/openstack/devstack-plugin-kafka
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 PROJECTS="openstack/devstack-plugin-kafka $PROJECTS"
if [[ "kafka" = "sheepdog" ]]; then
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
# As we are setting DEVSTACK_GATE_TEMPEST_ALL_PLUGINS, we need
# to add the regex to limit the tests to the same as a tempest
# -efull would run.
export DEVSTACK_GATE_TEMPEST_REGEX='(?!.*\[.*\bslow\b.*\])(^tempest\.(api|scenario)|(^cinder\.tests.tempest))'
else
export DEVSTACK_GATE_TEMPEST_FULL=1
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 }}'