---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: golang

inputs:
- name: pcf-pipelines

run:
  path: bash
  args:
  - -ce
  - |
    export GOPATH=$PWD/go
    export PATH=$GOPATH/bin:$PATH

    mkdir -p $GOPATH/bin
    mkdir -p $GOPATH/src

    # install glide for dependency management
    curl -k https://glide.sh/get | sh

    pushd pcf-pipelines
      glide up
      ginkgo -p -r -randomizeAllSpecs
    popd

---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: golang

inputs:
- name: pcf-pipelines

run:
  path: bash
  args:
  - -ce
  - |
    export GOPATH=$PWD/go
    export PATH=$GOPATH/bin:$PATH

    mkdir -p $GOPATH/bin
    mkdir -p $GOPATH/src

    # install glide for dependency management
    curl -k https://glide.sh/get | sh

    pushd pcf-pipelines
      glide install
      ginkgo -p -r -randomizeAllSpecs
    popd

Use glide install not update
Use glide install not update

Signed-off-by: Mark Alston <c57eac471a1110bd19ecb61f3da6bb9b38f8db2a@pivotal.io>
