Docker remote driver for OpenStack Neutron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run.yaml 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. - hosts: all
  2. name: Autoconverted job legacy-kuryr-libnetwork-dsvm-rally from old job gate-kuryr-libnetwork-dsvm-rally-ubuntu-xenial-nv
  3. tasks:
  4. - name: Ensure legacy workspace directory
  5. file:
  6. path: '{{ ansible_user_dir }}/workspace'
  7. state: directory
  8. - shell:
  9. cmd: |
  10. set -e
  11. set -x
  12. cat > clonemap.yaml << EOF
  13. clonemap:
  14. - name: openstack-infra/devstack-gate
  15. dest: devstack-gate
  16. EOF
  17. /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
  18. git://git.openstack.org \
  19. openstack-infra/devstack-gate
  20. executable: /bin/bash
  21. chdir: '{{ ansible_user_dir }}/workspace'
  22. environment: '{{ zuul | zuul_legacy_vars }}'
  23. - shell:
  24. cmd: |
  25. set -e
  26. set -x
  27. cat << 'EOF' >>"/tmp/dg-local.conf"
  28. [[local|localrc]]
  29. enable_plugin kuryr-libnetwork http://git.openstack.org/openstack/kuryr-libnetwork
  30. enable_plugin rally git://git.openstack.org/openstack/rally
  31. EOF
  32. executable: /bin/bash
  33. chdir: '{{ ansible_user_dir }}/workspace'
  34. environment: '{{ zuul | zuul_legacy_vars }}'
  35. - shell:
  36. cmd: |
  37. set -e
  38. set -x
  39. export PYTHONUNBUFFERED=true
  40. export DEVSTACK_GATE_NEUTRON=1
  41. export RALLY_SCENARIO=kuryr-libnetwork
  42. export BRANCH_OVERRIDE=default
  43. if [ "$BRANCH_OVERRIDE" != "default" ] ; then
  44. export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
  45. fi
  46. export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
  47. export PROJECTS="openstack/rally $PROJECTS"
  48. export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
  49. if [ "{{ use_src }}" -e 1 ] ; then
  50. export DEVSTACK_PROJECT_FROM_GIT="kuryr"
  51. fi
  52. function gate_hook {
  53. bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh
  54. }
  55. export -f gate_hook
  56. function post_test_hook {
  57. $BASE/new/rally/tests/ci/rally-gate.sh
  58. }
  59. export -f post_test_hook
  60. cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
  61. ./safe-devstack-vm-gate-wrap.sh
  62. executable: /bin/bash
  63. chdir: '{{ ansible_user_dir }}/workspace'
  64. environment: '{{ zuul | zuul_legacy_vars }}'