github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+incompatible/ci/cli/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 path: go/src/code.cloudfoundry.org/cli 12 - name: cf-cli-binaries 13 - name: bosh-lock 14 - name: vars-store 15 16 params: 17 CF_INT_CLIENT_ID: 18 CF_INT_CLIENT_SECRET: 19 CF_INT_DOCKER_IMAGE: 20 CF_INT_DOCKER_USERNAME: 21 CF_INT_DOCKER_PASSWORD: 22 HONEYCOMB_WRITE_KEY: 23 HONEYCOMB_DATASET: "Integration Linux" 24 25 run: 26 path: bash 27 args: 28 - -c 29 - | 30 set -e 31 32 ENV=$(cat bosh-lock/name | cut -d "." -f 1) 33 34 pushd vars-store/ci/infrastructure/$ENV 35 eval "$(bbl print-env)" 36 popd 37 38 credhub login 39 export CF_INT_PASSWORD=$(credhub get -n /bosh-$ENV/cf/cf_admin_password | bosh interpolate --path /value -) 40 41 set -x 42 43 domain=$(cat bosh-lock/name) 44 export CF_INT_API="https://api.${domain}" 45 export CF_DIAL_TIMEOUT=15 46 47 export GOPATH=$PWD/go 48 export PATH=$GOPATH/bin:$PATH 49 50 go get -u github.com/onsi/ginkgo/ginkgo 51 52 export RUN_ID=$(openssl rand -hex 16) 53 54 pushd cf-cli-binaries 55 tar xvzf cf-cli-binaries.tgz 56 chmod +x cf-cli_linux_x86-64 57 mv cf-cli_linux_x86-64 $GOPATH/bin/cf 58 popd 59 60 cd $GOPATH/src/code.cloudfoundry.org/cli 61 ginkgo -r -nodes=16 -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/shared/experimental integration/v6/experimental