Remove Zun-client legacy jobs

Depends-On: I7f1a123d1c243bf0f2f53b51671c75c3d01aae68
Depends-On: Ie978557d64b5fee8bd412dbfc56236b87a8d95cf
Change-Id: I2f6bed199dc3128d86408d81f462e87251b0a0ab
This commit is contained in:
Kien Nguyen 2017-10-09 14:21:36 +07:00
parent ba34c86eab
commit a9eda711c9
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,75 +0,0 @@
- hosts: all
name: Autoconverted job legacy-zunclient-devstack-dsvm-docker-sql from old job gate-zunclient-devstack-dsvm-docker-sql
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 zun git://git.openstack.org/openstack/zun
EOF
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=0
export DEVSTACK_GATE_NEUTRON=1
# Enable tempest for tempest plugin
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/zun $PROJECTS"
export PROJECTS="openstack/python-zunclient $PROJECTS"
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {
cd /opt/stack/new/zun/
./zun/tests/contrib/gate_hook.sh docker sql
}
export -f gate_hook
function post_test_hook {
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/python-zunclient/
./zunclient/tests/functional/hooks/post_test_hook.sh docker
}
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

@ -15898,20 +15898,6 @@
post-run: playbooks/legacy/zun-ui-nodejs4-npm-run-test/post
timeout: 2400
- job:
name: legacy-zunclient-devstack-dsvm-docker-sql
parent: legacy-dsvm-base
run: playbooks/legacy/zunclient-devstack-dsvm-docker-sql/run
post-run: playbooks/legacy/zunclient-devstack-dsvm-docker-sql/post
timeout: 4200
required-projects:
- openstack-dev/devstack
- openstack-infra/devstack-gate
- openstack/devstack-plugin-container
- openstack/kuryr-libnetwork
- openstack/python-zunclient
- openstack/zun
- job:
name: legacy-zuul-nodepool
parent: legacy-base