Merge "Remove obsolete legacy-dg-hooks-dsvm"

This commit is contained in:
Zuul 2018-08-29 06:12:06 +00:00 committed by Gerrit Code Review
commit b63f2734ae
3 changed files with 0 additions and 76 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,52 +0,0 @@
- hosts: all
name: Autoconverted job legacy-dg-hooks-dsvm from old job gate-dg-hooks-dsvm
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
# place calls for all hooks in here
function pre_test_hook {
echo "I am totally an awesome pre_test_hook"
}
export -f pre_test_hook
function gate_hook {
echo "I am totally an awesome gate_hook"
}
export -f gate_hook
function post_test_hook {
echo "I am totally an awesome post_test_hook"
}
export -f post_test_hook
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

@ -72,15 +72,6 @@
- openstack-infra/devstack-gate
- openstack/devstack-plugin-container
- job:
name: legacy-dg-hooks-dsvm
parent: legacy-dsvm-base
run: playbooks/legacy/dg-hooks-dsvm/run.yaml
post-run: playbooks/legacy/dg-hooks-dsvm/post.yaml
timeout: 3900
required-projects:
- openstack-infra/devstack-gate
- job:
name: legacy-dox-buildimages
parent: legacy-base