github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+incompatible/ci/cli-v7/tasks/integration-experimental-linux.yml (about) 1 --- 2 platform: linux 3 4 image_resource: 5 type: docker-image 6 source: 7 repository: cfcli/cli-base 8 9 inputs: 10 - name: cli 11 - name: cli-integration 12 path: go/src/code.cloudfoundry.org/cli 13 - name: cf-cli-binaries 14 - name: bosh-lock 15 - name: vars-store 16 17 params: 18 CF_INT_CLIENT_ID: 19 CF_INT_CLIENT_SECRET: 20 CF_INT_DOCKER_IMAGE: 21 CF_INT_DOCKER_USERNAME: 22 CF_INT_DOCKER_PASSWORD: 23 24 run: 25 path: bash 26 args: 27 - -c 28 - | 29 set -e 30 31 ENV=$(cat bosh-lock/name | cut -d "." -f 1) 32 33 pushd vars-store/ci/infrastructure/$ENV 34 eval "$(bbl print-env)" 35 popd 36 37 credhub login 38 export CF_INT_PASSWORD=$(credhub get -n /bosh-$ENV/cf/cf_admin_password | bosh interpolate --path /value -) 39 40 set -x 41 42 domain=$(cat bosh-lock/name) 43 export CF_INT_API="https://api.${domain}" 44 export CF_DIAL_TIMEOUT=15 45 46 export GOPATH=$PWD/go 47 export PATH=$GOPATH/bin:$PATH 48 49 go get -u github.com/onsi/ginkgo/ginkgo 50 51 pushd cf-cli-binaries 52 tar xvzf cf-cli-binaries.tgz 53 chmod +x cf-cli_linux_x86-64 54 mv cf-cli_linux_x86-64 $GOPATH/bin/cf 55 popd 56 57 cd $GOPATH/src/code.cloudfoundry.org/cli 58 ginkgo -r -nodes=16 -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/shared/experimental integration/v6/experimental