Codebase list glance / 1dfaa18
Migrate legacy job to project repository Needed-By: Ie92d37964211aca8d6d634204f564059a7f01e13 Needed-By: Ib2dff1219859f183b2c55572931174164b9823ee Change-Id: I38edaa298669b4eb7554a4b2f4856a28d5352cc8 Brian Rosmaita 6 years ago
3 changed file(s) with 73 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 - job:
1 name: glance-dsvm-grenade-multinode
2 parent: legacy-dsvm-base-multinode
3 run: playbooks/legacy/glance-dsvm-grenade-multinode/run.yaml
4 post-run: playbooks/legacy/glance-dsvm-grenade-multinode/post.yaml
5 timeout: 10800
6 required-projects:
7 - openstack-dev/grenade
8 - openstack-infra/devstack-gate
9 - openstack/glance
10 nodeset: legacy-ubuntu-xenial-2-node
11
012 - project:
113 check:
214 jobs:
1123 experimental:
1224 jobs:
1325 - barbican-simple-crypto-devstack-tempest
26 - glance-dsvm-grenade-multinode
0 - hosts: primary
1 tasks:
2
3 - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
4 synchronize:
5 src: '{{ ansible_user_dir }}/workspace/'
6 dest: '{{ zuul.executor.log_root }}'
7 mode: pull
8 copy_links: true
9 verify_host: true
10 rsync_opts:
11 - --include=/logs/**
12 - --include=*/
13 - --exclude=*
14 - --prune-empty-dirs
0 - hosts: primary
1 name: Autoconverted job legacy-glance-dsvm-grenade-multinode from old job gate-glance-dsvm-grenade-multinode-ubuntu-xenial-nv
2 tasks:
3
4 - name: Ensure legacy workspace directory
5 file:
6 path: '{{ ansible_user_dir }}/workspace'
7 state: directory
8
9 - shell:
10 cmd: |
11 set -e
12 set -x
13 cat > clonemap.yaml << EOF
14 clonemap:
15 - name: openstack-infra/devstack-gate
16 dest: devstack-gate
17 EOF
18 /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
19 git://git.openstack.org \
20 openstack-infra/devstack-gate
21 executable: /bin/bash
22 chdir: '{{ ansible_user_dir }}/workspace'
23 environment: '{{ zuul | zuul_legacy_vars }}'
24
25 - shell:
26 cmd: |
27 set -e
28 set -x
29 export PYTHONUNBUFFERED=true
30 export DEVSTACK_GATE_NEUTRON=1
31 export DEVSTACK_GATE_CONFIGDRIVE=0
32 export DEVSTACK_GATE_GRENADE=pullup
33 export PROJECTS="openstack-dev/grenade $PROJECTS"
34 export BRANCH_OVERRIDE=default
35 if [ "$BRANCH_OVERRIDE" != "default" ] ; then
36 export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
37 fi
38 export DEVSTACK_GATE_TOPOLOGY="multinode"
39
40 cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
41 ./safe-devstack-vm-gate-wrap.sh
42 executable: /bin/bash
43 chdir: '{{ ansible_user_dir }}/workspace'
44 environment: '{{ zuul | zuul_legacy_vars }}'