Merge "Remove glance legacy job"

This commit is contained in:
Zuul 2018-06-15 14:32:16 +00:00 committed by Gerrit Code Review
commit b04735dcdd
3 changed files with 0 additions and 104 deletions

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,73 +0,0 @@
- hosts: all
name: Autoconverted job legacy-barbican-simple-crypto-dsvm-tempest-glance from old
job gate-barbican-simple-crypto-dsvm-tempest-glance-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_REGEX=barbican
export KEEP_LOCALRC=1
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export TEMPEST_PLUGINS='/opt/stack/new/barbican-tempest-plugin'"
export BRANCH_OVERRIDE=default
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Add configuration values for enabling security features in local.conf
function pre_test_hook {
if [ -f $BASE/new/barbican-tempest-plugin/tools/pre_test_hook.sh ] ; then
. $BASE/new/barbican-tempest-plugin/tools/pre_test_hook.sh
fi
}
export -f pre_test_hook
if [ "-glance" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
elif [ "-glance" == "-castellan-from-git" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="castellan"
elif [ "-glance" == "-cursive" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="cursive"
elif [ "-glance" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
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

@ -11,22 +11,6 @@
post-run: playbooks/legacy/astara-appliance-buildimage/post.yaml
timeout: 1800
- job:
name: legacy-barbican-simple-crypto-dsvm-tempest-glance
parent: legacy-dsvm-base
run: playbooks/legacy/barbican-simple-crypto-dsvm-tempest-glance/run.yaml
post-run: playbooks/legacy/barbican-simple-crypto-dsvm-tempest-glance/post.yaml
timeout: 4200
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/castellan
- openstack/cursive
- openstack/glance
- openstack/python-barbicanclient
- openstack/tempest
- job:
name: legacy-barbican-simple-crypto-dsvm-tempest-nova
parent: legacy-dsvm-base