Move legacy trove zuul jobs to trove project
Change-Id: I58e6a5e6c8ce6eb660729cabe6bbcd7d2746129a
This commit is contained in:
parent
7d91ef7ba2
commit
a4784a0753
201
.zuul.yaml
Normal file
201
.zuul.yaml
Normal file
@ -0,0 +1,201 @@
|
||||
- project:
|
||||
name: openstack/trove
|
||||
check:
|
||||
jobs:
|
||||
- trove-functional-dsvm-mysql
|
||||
- trove-scenario-dsvm-mariadb-single:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-mariadb-multi:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-mysql-single
|
||||
- trove-scenario-dsvm-mysql-multi
|
||||
- trove-scenario-dsvm-postgresql-single:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-postgresql-multi:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-pxc-single:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-pxc-multi:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-redis-single:
|
||||
voting: false
|
||||
- trove-scenario-dsvm-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-tox-fakemodetests
|
||||
- trove-tox-apiexamples
|
||||
|
||||
- job:
|
||||
name: trove-functional-dsvm-mysql
|
||||
parent: legacy-dsvm-base
|
||||
run: playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
|
||||
post-run: playbooks/legacy/trove-functional-dsvm-mysql/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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-dsvm-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
|
||||
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-tox-fakemodetests
|
||||
parent: openstack-tox-py27
|
||||
vars:
|
||||
tox_envlist: fakemodetests
|
||||
|
||||
- job:
|
||||
name: trove-tox-apiexamples
|
||||
parent: openstack-tox-py27
|
||||
vars:
|
||||
tox_envlist: apiexamples
|
15
playbooks/legacy/trove-functional-dsvm-mysql/post.yaml
Normal file
15
playbooks/legacy/trove-functional-dsvm-mysql/post.yaml
Normal 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
|
71
playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
Normal file
71
playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
Normal file
@ -0,0 +1,71 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-legacy-functional-dsvm-mysql from old job gate-trove-legacy-functional-dsvm-mysql
|
||||
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 mysql
|
||||
}
|
||||
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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-mariadb-multi/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-mariadb-multi/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-mariadb-multi/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-mariadb-multi/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-mariadb-multi from old job gate-trove-scenario-dsvm-mariadb-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 mariadb mariadb-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 }}'
|
@ -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
|
72
playbooks/legacy/trove-scenario-dsvm-mariadb-single/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-mariadb-single/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-mariadb-single from old job gate-trove-scenario-dsvm-mariadb-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 mariadb mariadb-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-mysql-multi/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-mysql-multi/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-mysql-multi/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-mysql-multi/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-mysql-multi from old job gate-trove-scenario-dsvm-mysql-multi-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_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 mysql mysql-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-mysql-single/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-mysql-single/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-mysql-single/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-mysql-single/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-mysql-single from old job gate-trove-scenario-dsvm-mysql-single-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_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 mysql mysql-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 }}'
|
@ -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,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-postgresql-multi from old job
|
||||
gate-trove-scenario-dsvm-postgresql-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 postgresql postgresql-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 }}'
|
@ -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,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-postgresql-single from old job
|
||||
gate-trove-scenario-dsvm-postgresql-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 postgresql postgresql-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-pxc-multi/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-pxc-multi/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-pxc-multi/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-pxc-multi/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-pxc-multi from old job gate-trove-scenario-dsvm-pxc-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 pxc pxc-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-pxc-single/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-pxc-single/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-pxc-single/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-pxc-single/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-pxc-single from old job gate-trove-scenario-dsvm-pxc-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 pxc pxc-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-redis-multi/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-redis-multi/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-redis-multi/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-redis-multi/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-redis-multi from old job gate-trove-scenario-dsvm-redis-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 redis redis-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 }}'
|
15
playbooks/legacy/trove-scenario-dsvm-redis-single/post.yaml
Normal file
15
playbooks/legacy/trove-scenario-dsvm-redis-single/post.yaml
Normal 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
|
72
playbooks/legacy/trove-scenario-dsvm-redis-single/run.yaml
Normal file
72
playbooks/legacy/trove-scenario-dsvm-redis-single/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-trove-scenario-dsvm-redis-single from old job gate-trove-scenario-dsvm-redis-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 redis redis-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 }}'
|
Loading…
Reference in New Issue
Block a user