- job-template:
    name: '{pipeline}-gnocchi-dsvm-functional-{storagedriver}-{sqldriver}'
    node: '{node}'

    wrappers:
      - build-timeout:
          timeout: 95
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=90
          export PROJECTS="stackforge/gnocchi $PROJECTS"
          export DEVSTACK_LOCAL_CONFIG="enable_plugin gnocchi /opt/git/stackforge/gnocchi"

          function gate_hook {{
              cd /opt/stack/new/gnocchi/devstack/gate
              ./gate_hook.sh {storagedriver} {sqldriver}
          }}
          export -f gate_hook

          function post_test_hook {{
              cd /opt/stack/new/gnocchi/devstack/gate
              ./post_test_hook.sh {storagedriver} {sqldriver}
          }}
          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:
      - test-results
      - devstack-logs
      - console-log

- job-template:
    name: '{pipeline}-gnocchi-dsvm-functional-{storagedriver}-{sqldriver}'
    node: '{node}'

    wrappers:
      - build-timeout:
          timeout: 95
      - timestamps

    builders:
      - link-logs
      - net-info
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=90
          export PROJECTS="stackforge/gnocchi $PROJECTS"
          export DEVSTACK_LOCAL_CONFIG="enable_plugin gnocchi git://git.openstack.org/stackforge/gnocchi"

          function gate_hook {{
              cd /opt/stack/new/gnocchi/devstack/gate
              ./gate_hook.sh {storagedriver} {sqldriver}
          }}
          export -f gate_hook

          function post_test_hook {{
              cd /opt/stack/new/gnocchi/devstack/gate
              ./post_test_hook.sh {storagedriver} {sqldriver}
          }}
          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:
      - test-results
      - devstack-logs
      - console-log

Use remote git path in DEVSTACK_LOCAL_CONFIG
Use remote git path in DEVSTACK_LOCAL_CONFIG

The last parameter is not used currently. For consistency use
git://git.openstack.org everywhere.

Change-Id: I69eca188e538524b276c8adee008f225f6b36381
