github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/ci/cli/tasks/integration-linux.yml (about)

     1  ---
     2  platform: linux
     3  image: docker:///cloudfoundry/cli-ci
     4  
     5  inputs:
     6  - name: cli-integration
     7    path: go/src/code.cloudfoundry.org/cli
     8  - name: cf-cli-binaries
     9  - name: bosh-lite-lock
    10  
    11  run:
    12    path: bash
    13    args:
    14    - -c
    15    - |
    16      set -ex
    17  
    18      export DOMAIN=$(cat bosh-lite-lock/name)
    19      export API_ENDPOINT="https://api.${DOMAIN}"
    20  
    21      export GOPATH=$PWD/go
    22      export PATH=$GOPATH/bin:$PATH
    23  
    24      go get -u github.com/onsi/ginkgo/ginkgo
    25  
    26      pushd cf-cli-binaries
    27        tar xvzf cf-cli-binaries.tgz
    28        chmod +x cf-cli_linux_x86-64
    29        mv cf-cli_linux_x86-64 $GOPATH/bin/cf
    30      popd
    31  
    32      cd $GOPATH/src/code.cloudfoundry.org/cli
    33      CF_API=$API_ENDPOINT ginkgo -r -nodes=4 -flakeAttempts=2 -slowSpecThreshold=30 -randomizeAllSpecs integration/isolated
    34      CF_API=$API_ENDPOINT ginkgo -r -flakeAttempts=2 -slowSpecThreshold=30 -randomizeAllSpecs integration/global
    35      CF_API=$API_ENDPOINT ginkgo -r -flakeAttempts=2 -slowSpecThreshold=30 -randomizeAllSpecs integration/plugin