Move project specific tests in repo
Change-Id: I4d08f6e30b542c1943a1c57f058d3695b082a8f0
This commit is contained in:
parent
fac766525d
commit
c17e7e8703
|
@ -0,0 +1,26 @@
|
||||||
|
- job:
|
||||||
|
# TODO(kgiusti) this old test can be removed once ocata is no
|
||||||
|
# longer supported At that point we only need the -hybrid and
|
||||||
|
# -dual test cases
|
||||||
|
name: devstack-plugin-amqp1-tempest-dsvm-full
|
||||||
|
parent: legacy-dsvm-base
|
||||||
|
run: playbooks/devstack-plugin-amqp1-tempest-dsvm-full/run.yaml
|
||||||
|
post-run: playbooks/devstack-plugin-amqp1-tempest-dsvm-full/post.yaml
|
||||||
|
timeout: 10800
|
||||||
|
required-projects:
|
||||||
|
- openstack-infra/devstack-gate
|
||||||
|
- openstack/devstack-plugin-amqp1
|
||||||
|
- openstack/tempest
|
||||||
|
|
||||||
|
- project:
|
||||||
|
name: openstack/devstack-plugin-amqp1
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- devstack-plugin-amqp1-tempest-dsvm-full:
|
||||||
|
voting: false
|
||||||
|
- oslo.messaging-src-dsvm-full-amqp1-hybrid:
|
||||||
|
voting: false
|
||||||
|
branches: ^(?!stable/ocata).*$
|
||||||
|
- oslo.messaging-src-dsvm-full-amqp1-dual-centos-7:
|
||||||
|
voting: false
|
||||||
|
branches: ^(?!stable/ocata).*$
|
|
@ -0,0 +1,15 @@
|
||||||
|
- 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
|
|
@ -0,0 +1,41 @@
|
||||||
|
- hosts: all
|
||||||
|
name: Autoconverted job legacy-tempest-dsvm-full-amqp1 from old job gate-tempest-dsvm-full-amqp1-ubuntu-xenial-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
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TEMPEST=1
|
||||||
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
||||||
|
|
||||||
|
export PROJECTS="openstack/devstack-plugin-amqp1 $PROJECTS"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin devstack-plugin-amqp1 git://git.openstack.org/openstack/devstack-plugin-amqp1"
|
||||||
|
|
||||||
|
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 }}'
|
Loading…
Reference in New Issue