github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+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-lite-lock 14 - name: vars-store 15 16 params: 17 CF_INT_DOCKER_IMAGE: 18 CF_INT_DOCKER_USERNAME: 19 CF_INT_DOCKER_PASSWORD: 20 21 run: 22 path: bash 23 args: 24 - -c 25 - | 26 set -e 27 28 ENV=$(cat bosh-lite-lock/name | cut -d "." -f 1) 29 export CF_PASSWORD=$(bosh int vars-store/ci/infrastructure/$ENV/deployment-vars.yml --path /cf_admin_password) 30 31 set -x 32 33 domain=$(cat bosh-lite-lock/name) 34 export CF_API="https://api.${domain}" 35 export CF_DIAL_TIMEOUT=15 36 37 export GOPATH=$PWD/go 38 export PATH=$GOPATH/bin:$PATH 39 40 go get -u github.com/onsi/ginkgo/ginkgo 41 42 pushd cf-cli-binaries 43 tar xvzf cf-cli-binaries.tgz 44 chmod +x cf-cli_linux_x86-64 45 mv cf-cli_linux_x86-64 $GOPATH/bin/cf 46 popd 47 48 cd $GOPATH/src/code.cloudfoundry.org/cli 49 ginkgo -r -nodes=16 -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/experimental