Merge "Native Zuul v3 cinder-grenade jobs"
This commit is contained in:
commit
98ff9150cc
119
.zuul.yaml
119
.zuul.yaml
@ -48,7 +48,7 @@
|
|||||||
- ^tox.ini$
|
- ^tox.ini$
|
||||||
- cinder-tempest-plugin-lvm-lio-barbican:
|
- cinder-tempest-plugin-lvm-lio-barbican:
|
||||||
irrelevant-files: *functional-irrelevant-files
|
irrelevant-files: *functional-irrelevant-files
|
||||||
- cinder-grenade-dsvm-mn-sub-volbak:
|
- cinder-grenade-mn-sub-volbak:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- cinder-tempest-lvm-multibackend:
|
- cinder-tempest-lvm-multibackend:
|
||||||
voting: false
|
voting: false
|
||||||
@ -60,19 +60,19 @@
|
|||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- tempest-integrated-storage:
|
- tempest-integrated-storage:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- grenade-py3:
|
- grenade:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- tempest-ipv6-only:
|
- tempest-ipv6-only:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- cinder-grenade-dsvm-mn-sub-volbak:
|
- cinder-grenade-mn-sub-volbak:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- cinder-plugin-ceph-tempest:
|
- cinder-plugin-ceph-tempest:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- tempest-integrated-storage:
|
- tempest-integrated-storage:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- grenade-py3:
|
- grenade:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- tempest-ipv6-only:
|
- tempest-ipv6-only:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
@ -82,9 +82,9 @@
|
|||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- legacy-tempest-dsvm-multibackend-matrix:
|
- legacy-tempest-dsvm-multibackend-matrix:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- cinder-grenade-dsvm-mn-sub-volschbak:
|
- cinder-grenade-mn-sub-volschbak:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- cinder-grenade-dsvm-mn-sub-bak:
|
- cinder-grenade-mn-sub-bak:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
- devstack-plugin-ceph-tempest-py3:
|
- devstack-plugin-ceph-tempest-py3:
|
||||||
irrelevant-files: *gate-irrelevant-files
|
irrelevant-files: *gate-irrelevant-files
|
||||||
@ -139,55 +139,78 @@
|
|||||||
volume_revert: True
|
volume_revert: True
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: cinder-grenade-dsvm-mn-sub-bak
|
name: cinder-grenade-mn-sub-bak
|
||||||
parent: legacy-dsvm-base-multinode
|
parent: grenade-multinode
|
||||||
# Old name: legacy-grenade-dsvm-cinder-mn-sub-bak
|
description: |
|
||||||
# This is py3 version for ussuri onwards rest all branch needs to be py2
|
Cinder grenade multinode job where cinder-backup only runs
|
||||||
# version which is present in openstack-zuul-jobs.
|
on the subnode.
|
||||||
# We need to take care of this branch variant and python version while
|
It tests the new c-api, c-sch, c-vol (on the controller node)
|
||||||
# migrating these jobs to zuulv3.
|
with the old c-bak (on the subnode).
|
||||||
branches: ^(?!(driverfixes|stable/(ocata|pike|queens|rocky|stein|train))).*$
|
Former names for this job were:
|
||||||
run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-bak/run.yaml
|
* cinder-grenade-dsvm-mn-sub-bak
|
||||||
post-run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-bak/post.yaml
|
* legacy-grenade-dsvm-cinder-mn-sub-bak
|
||||||
timeout: 10800
|
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/grenade
|
- opendev.org/openstack/grenade
|
||||||
- openstack/devstack-gate
|
- opendev.org/openstack/cinder
|
||||||
- openstack/cinder
|
vars:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: false
|
||||||
|
c-vol: true
|
||||||
|
group-vars:
|
||||||
|
subnode:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: true
|
||||||
|
c-vol: false
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: cinder-grenade-dsvm-mn-sub-volbak
|
name: cinder-grenade-mn-sub-volbak
|
||||||
parent: legacy-dsvm-base-multinode
|
parent: grenade-multinode
|
||||||
# Old name: legacy-grenade-dsvm-cinder-mn-sub-volbak
|
description: |
|
||||||
# This is py3 version for ussuri onwards rest all branch needs to be py2
|
Cinder grenade multinode job where cinder-backup and cinder-volume
|
||||||
# version which is present in openstack-zuul-jobs.
|
only run on the subnode.
|
||||||
# We need to take care of this branch variant and python version while
|
It tests the new c-api, c-sch (on the controller node)
|
||||||
# migrating these jobs to zuulv3.
|
with the old c-bak, c-vol (on the subnode).
|
||||||
branches: ^(?!(driverfixes|stable/(ocata|pike|queens|rocky|stein|train))).*$
|
Former names for this job were:
|
||||||
run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-volbak/run.yaml
|
* cinder-grenade-dsvm-mn-sub-volbak
|
||||||
post-run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-volbak/post.yaml
|
* legacy-grenade-dsvm-cinder-mn-sub-volbak
|
||||||
timeout: 10800
|
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/grenade
|
- opendev.org/openstack/grenade
|
||||||
- openstack/devstack-gate
|
- opendev.org/openstack/cinder
|
||||||
- openstack/cinder
|
vars:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: false
|
||||||
|
c-vol: false
|
||||||
|
group-vars:
|
||||||
|
subnode:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: true
|
||||||
|
c-vol: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: cinder-grenade-dsvm-mn-sub-volschbak
|
name: cinder-grenade-mn-sub-volschbak
|
||||||
parent: legacy-dsvm-base-multinode
|
parent: grenade-multinode
|
||||||
# Old name: legacy-grenade-dsvm-cinder-mn-sub-volschbak
|
description: |
|
||||||
# This is py3 version for ussuri onwards rest all branch needs to be py2
|
Cinder grenade multinode job where cinder-backup, cinder-volume
|
||||||
# version which is present in openstack-zuul-jobs.
|
and cinder-scheduler only run on the subnode.
|
||||||
# We need to take care of this branch variant and python version while
|
It tests the new c-api (on the controller node)
|
||||||
# migrating these jobs to zuulv3.
|
with the old c-bak, c-sch, c-vol (on the subnode).
|
||||||
branches: ^(?!(driverfixes|stable/(ocata|pike|queens|rocky|stein|train))).*$
|
Former names for this job were:
|
||||||
run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-volschbak/run.yaml
|
* cinder-grenade-dsvm-mn-sub-volschbak
|
||||||
post-run: playbooks/legacy/grenade-dsvm-cinder-mn-sub-volschbak/post.yaml
|
* legacy-grenade-dsvm-cinder-mn-sub-volschbak
|
||||||
timeout: 10800
|
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/grenade
|
- opendev.org/openstack/grenade
|
||||||
- openstack/devstack-gate
|
- opendev.org/openstack/cinder
|
||||||
- openstack/cinder
|
vars:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: false
|
||||||
|
c-sch: false
|
||||||
|
c-vol: false
|
||||||
|
group-vars:
|
||||||
|
subnode:
|
||||||
|
devstack_services:
|
||||||
|
c-bak: true
|
||||||
|
c-sch: true
|
||||||
|
c-vol: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: cinder-tempest-lvm-multibackend
|
name: cinder-tempest-lvm-multibackend
|
||||||
|
@ -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
|
|
@ -1,53 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
name: Autoconverted job legacy-grenade-dsvm-cinder-mn-sub-bak from old job gate-grenade-dsvm-cinder-mn-sub-bak-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/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
|
|
||||||
export PYTHONUNBUFFERED=true
|
|
||||||
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
||||||
export DEVSTACK_GATE_GRENADE=pullup
|
|
||||||
export DEVSTACK_GATE_USE_PYTHON3=True
|
|
||||||
export PROJECTS="openstack/grenade $PROJECTS"
|
|
||||||
export BRANCH_OVERRIDE=default
|
|
||||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
||||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
||||||
fi
|
|
||||||
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
|
||||||
export SERVICES=bak
|
|
||||||
if [ "$SERVICES" == "bak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_BAK=1
|
|
||||||
elif [ "$SERVICES" == "volschbak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_VOLSCHBAK=1
|
|
||||||
else
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE=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 }}'
|
|
@ -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
|
|
@ -1,53 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
name: Autoconverted job legacy-grenade-dsvm-cinder-mn-sub-volbak from old job gate-grenade-dsvm-cinder-mn-sub-volbak-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
|
|
||||||
export PYTHONUNBUFFERED=true
|
|
||||||
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
||||||
export DEVSTACK_GATE_GRENADE=pullup
|
|
||||||
export DEVSTACK_GATE_USE_PYTHON3=True
|
|
||||||
export PROJECTS="openstack/grenade $PROJECTS"
|
|
||||||
export BRANCH_OVERRIDE=default
|
|
||||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
||||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
||||||
fi
|
|
||||||
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
|
||||||
export SERVICES=volbak
|
|
||||||
if [ "$SERVICES" == "bak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_BAK=1
|
|
||||||
elif [ "$SERVICES" == "volschbak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_VOLSCHBAK=1
|
|
||||||
else
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE=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 }}'
|
|
@ -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
|
|
@ -1,54 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
name: Autoconverted job legacy-grenade-dsvm-cinder-mn-sub-volschbak from old job
|
|
||||||
gate-grenade-dsvm-cinder-mn-sub-volschbak-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/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
|
|
||||||
export PYTHONUNBUFFERED=true
|
|
||||||
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
||||||
export DEVSTACK_GATE_GRENADE=pullup
|
|
||||||
export DEVSTACK_GATE_USE_PYTHON3=True
|
|
||||||
export PROJECTS="openstack/grenade $PROJECTS"
|
|
||||||
export BRANCH_OVERRIDE=default
|
|
||||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
||||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
||||||
fi
|
|
||||||
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
|
||||||
export SERVICES=volschbak
|
|
||||||
if [ "$SERVICES" == "bak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_BAK=1
|
|
||||||
elif [ "$SERVICES" == "volschbak" ] ; then
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE_SUB_VOLSCHBAK=1
|
|
||||||
else
|
|
||||||
export DEVSTACK_GATE_CINDER_MN_GRENADE=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 }}'
|
|
Loading…
Reference in New Issue
Block a user