github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/ci/cli/tasks/integration-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-lite-lock 15 - name: vars-store 16 17 params: 18 CF_CLI_EXPERIMENTAL: false 19 CF_INT_DOCKER_IMAGE: 20 CF_INT_DOCKER_USERNAME: 21 CF_INT_DOCKER_PASSWORD: 22 23 run: 24 path: bash 25 args: 26 - -c 27 - | 28 set -e 29 30 ENV=$(cat bosh-lite-lock/name | cut -d "." -f 1) 31 export CF_PASSWORD=$(bosh int vars-store/ci/infrastructure/$ENV/deployment-vars.yml --path /cf_admin_password) 32 33 set -x 34 35 domain=$(cat bosh-lite-lock/name) 36 export CF_API="https://api.${domain}" 37 export CF_DIAL_TIMEOUT=15 38 39 export GOPATH=$PWD/go 40 export PATH=$GOPATH/bin:$PATH 41 42 pushd cf-cli-binaries 43 tar xvzf cf-cli-binaries.tgz 44 chmod +x cf-cli_linux_x86-64 45 mkdir -p $GOPATH/bin 46 mv cf-cli_linux_x86-64 $GOPATH/bin/cf 47 popd 48 49 cd $GOPATH/src/code.cloudfoundry.org/cli 50 51 if [ ! $(which ginkgo) ];then 52 echo -e "\n Building ginkgo..." 53 pushd vendor/github.com/onsi/ginkgo/ginkgo 54 go install 55 popd 56 fi 57 58 ginkgo -r -nodes=16 -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/isolated integration/plugin integration/push 59 ginkgo -r -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/global