Import experimental Zuul jobs

Import all experimental jobs for trove.

Also, rename jobs to drop the unneeded dsvm to follow the Zuul v3 naming
conventions. For details, see
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: Iee42e3b667aa114f6c9a6ff03b7da6f0c4708812
This commit is contained in:
Andreas Jaeger 2018-01-12 10:18:23 +01:00
parent 7061c37854
commit 366ce38eb1
19 changed files with 920 additions and 27 deletions

View File

@ -2,38 +2,49 @@
name: openstack/trove
check:
jobs:
- trove-functional-dsvm-mysql
- trove-scenario-dsvm-mariadb-single:
- trove-functional-mysql
- trove-scenario-mariadb-single:
voting: false
- trove-scenario-dsvm-mariadb-multi:
- trove-scenario-mariadb-multi:
voting: false
- trove-scenario-dsvm-mysql-single
- trove-scenario-dsvm-mysql-multi
- trove-scenario-dsvm-postgresql-single:
- trove-scenario-mysql-single
- trove-scenario-mysql-multi
- trove-scenario-postgresql-single:
voting: false
- trove-scenario-dsvm-postgresql-multi:
- trove-scenario-postgresql-multi:
voting: false
- trove-scenario-dsvm-pxc-single:
- trove-scenario-pxc-single:
voting: false
- trove-scenario-dsvm-pxc-multi:
- trove-scenario-pxc-multi:
voting: false
- trove-scenario-dsvm-redis-single:
- trove-scenario-redis-single:
voting: false
- trove-scenario-dsvm-redis-multi:
- trove-scenario-redis-multi:
voting: false
- trove-tox-fakemodetests
- trove-tox-apiexamples
gate:
queue: trove
jobs:
- trove-functional-dsvm-mysql
- trove-scenario-dsvm-mysql-single
- trove-scenario-dsvm-mysql-multi
- trove-functional-mysql
- trove-scenario-mysql-single
- trove-scenario-mysql-multi
- trove-tox-fakemodetests
- trove-tox-apiexamples
experimental:
jobs:
- trove-grenade
- trove-scenario-cassandra-single
- trove-scenario-cassandra-multi
- trove-scenario-couchbase-single
- trove-scenario-couchdb-single
- trove-scenario-mongodb-single
- trove-scenario-mongodb-multi
- trove-scenario-percona-single
- trove-scenario-percona-multi
- job:
name: trove-functional-dsvm-mysql
name: trove-functional-mysql
parent: legacy-dsvm-base
run: playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
post-run: playbooks/legacy/trove-functional-dsvm-mysql/post.yaml
@ -47,7 +58,75 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-mariadb-single
name: trove-grenade
parent: legacy-dsvm-base
run: playbooks/legacy/grenade-dsvm-trove/run.yaml
post-run: playbooks/legacy/grenade-dsvm-trove/post.yaml
timeout: 10800
required-projects:
- openstack-dev/grenade
- openstack-infra/devstack-gate
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-cassandra-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-cassandra-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-cassandra-single/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-cassandra-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-cassandra-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-cassandra-multi/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-couchdb-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-couchdb-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-couchdb-single/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-couchbase-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-couchbase-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-couchbase-single/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-mariadb-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mariadb-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mariadb-single/post.yaml
@ -61,7 +140,7 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-mariadb-multi
name: trove-scenario-mariadb-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mariadb-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mariadb-multi/post.yaml
@ -75,7 +154,35 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-mysql-single
name: trove-scenario-mongodb-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mongodb-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mongodb-single/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-mongodb-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mongodb-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mongodb-multi/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-mysql-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mysql-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mysql-single/post.yaml
@ -89,7 +196,7 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-mysql-multi
name: trove-scenario-mysql-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-mysql-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-mysql-multi/post.yaml
@ -103,7 +210,35 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-postgresql-single
name: trove-scenario-percona-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-percona-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-percona-multi/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-percona-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-percona-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-percona-single/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/diskimage-builder
- openstack/python-troveclient
- openstack/tripleo-image-elements
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-postgresql-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-postgresql-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-postgresql-single/post.yaml
@ -117,7 +252,7 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-postgresql-multi
name: trove-scenario-postgresql-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-postgresql-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-postgresql-multi/post.yaml
@ -130,9 +265,8 @@
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-pxc-single
name: trove-scenario-pxc-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-pxc-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-pxc-single/post.yaml
@ -146,7 +280,7 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-pxc-multi
name: trove-scenario-pxc-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-pxc-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-pxc-multi/post.yaml
@ -160,7 +294,7 @@
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-redis-single
name: trove-scenario-redis-single
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-redis-single/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-redis-single/post.yaml
@ -173,9 +307,8 @@
- openstack/trove
- openstack/trove-dashboard
- job:
name: trove-scenario-dsvm-redis-multi
name: trove-scenario-redis-multi
parent: legacy-dsvm-base
run: playbooks/legacy/trove-scenario-dsvm-redis-multi/run.yaml
post-run: playbooks/legacy/trove-scenario-dsvm-redis-multi/post.yaml

View File

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

View File

@ -0,0 +1,46 @@
- hosts: all
name: Autoconverted job legacy-grenade-dsvm-trove from old job gate-grenade-dsvm-trove
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 PROJECTS="openstack-dev/grenade $PROJECTS"
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_GRENADE=pullup
export DEVSTACK_GATE_TROVE=1
export TEMPEST_CONCURRENCY=2
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 }}'

View File

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

View File

@ -0,0 +1,73 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-cassandra-multi from old job
gate-trove-scenario-dsvm-cassandra-multi-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests cassandra cassandra-supported-multi
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,73 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-cassandra-single from old job
gate-trove-scenario-dsvm-cassandra-single-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests cassandra cassandra-supported-single
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,73 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-couchbase-single from old job
gate-trove-scenario-dsvm-couchbase-single-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests couchbase couchbase-supported-single
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,72 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-couchdb-single from old job gate-trove-scenario-dsvm-couchdb-single-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests couchdb couchdb-supported-single
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,72 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-mongodb-multi from old job gate-trove-scenario-dsvm-mongodb-multi-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests mongodb mongodb-supported-multi
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,72 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-mongodb-single from old job gate-trove-scenario-dsvm-mongodb-single-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests mongodb mongodb-supported-single
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,72 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-percona-multi from old job gate-trove-scenario-dsvm-percona-multi-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests percona percona-supported-multi
}
export -f post_test_hook
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 }}'

View File

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

View File

@ -0,0 +1,72 @@
- hosts: all
name: Autoconverted job legacy-trove-scenario-dsvm-percona-single from old job gate-trove-scenario-dsvm-percona-single-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
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
ENABLED_SERVICES=tempest
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TROVE=1
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-troveclient
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
function post_test_hook {
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
./trovestack dsvm-gate-tests percona percona-supported-single
}
export -f post_test_hook
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 }}'