diff options
Diffstat (limited to 'playbooks/legacy/nova-cells-v1/run.yaml')
-rw-r--r-- | playbooks/legacy/nova-cells-v1/run.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/playbooks/legacy/nova-cells-v1/run.yaml b/playbooks/legacy/nova-cells-v1/run.yaml new file mode 100644 index 0000000000..88c6eca639 --- /dev/null +++ b/playbooks/legacy/nova-cells-v1/run.yaml @@ -0,0 +1,43 @@ +- hosts: all + name: nova-cells-v1 + 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_CELLS=1 + # NOTE(mriedem): Explicitly tell devstack-gate that we need to run + # the cells v1 job with nova-network. + export DEVSTACK_GATE_NEUTRON=0 + + export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-cells-rc + + 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 }}' |