- job:
    name: 'gate-zun-devstack-dsvm'
    node: ubuntu-xenial

    wrappers:
      - build-timeout:
          timeout: 70
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe

          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TEMPEST=0
          export DEVSTACK_GATE_NEUTRON=1

          export PROJECTS="openstack/zun $PROJECTS"
          export PROJECTS="openstack/python-zunclient $PROJECTS"
          export DEVSTACK_LOCAL_CONFIG="enable_plugin zun git://git.openstack.org/openstack/zun"

          # 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/
              ./devstack/gate_hook.sh
          }
          export -f gate_hook

          cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
          ./safe-devstack-vm-gate-wrap.sh


    publishers:
      - devstack-logs
      - console-log

- job:
    name: 'gate-zun-devstack-dsvm'
    node: ubuntu-xenial

    wrappers:
      - build-timeout:
          timeout: 70
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe

          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 DEVSTACK_LOCAL_CONFIG="enable_plugin zun git://git.openstack.org/openstack/zun"

          # 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/
              ./devstack/gate_hook.sh
          }
          export -f gate_hook

          function post_test_hook {{
              source $BASE/new/devstack/accrc/admin/admin
              cd /opt/stack/new/higgins/
              ./zun/tests/contrib/post_test_hook.sh
          }}
          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


    publishers:
      - devstack-logs
      - console-log

Add post script for tempest api testing
Zun: Add post script for tempest api testing

Add post script for tempest api testing.

Change-Id: I25aab91134caeac2c92b50016af31a01f3c3ff00
