github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+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 23 run: 24 path: bash 25 args: 26 - -c 27 - | 28 set -e 29 30 ENV=$(cat bosh-lock/name | cut -d "." -f 1) 31 export SSL_CERT_DIR=/tmp/cert_dir 32 mkdir -p $SSL_CERT_DIR 33 34 pushd vars-store/ci/infrastructure/$ENV 35 eval "$(bbl print-env)" 36 37 bosh int bbl-state.json --path /lb/cert > $SSL_CERT_DIR/$ENV.lb.cert 38 popd 39 40 credhub login 41 export CF_INT_PASSWORD=$(credhub get -n /bosh-$ENV/cf/cf_admin_password | bosh interpolate --path /value -) 42 credhub get --name /bosh-$ENV/cf/router_ca | bosh interpolate - --path /value/certificate > $SSL_CERT_DIR/$ENV.router.ca 43 44 set -x 45 46 domain=$(cat bosh-lock/name) 47 export CF_INT_API="https://api.${domain}" 48 export CF_DIAL_TIMEOUT=15 49 export SKIP_SSL_VALIDATION=false 50 51 export GOPATH=$PWD/go 52 export PATH=$GOPATH/bin:$PATH 53 54 go get -u github.com/onsi/ginkgo/ginkgo 55 56 export RUN_ID=$(openssl rand -hex 16) 57 58 pushd cf-cli-binaries 59 tar xvzf cf-cli-binaries.tgz 60 chmod +x cf-cli_linux_x86-64 61 mv cf-cli_linux_x86-64 $GOPATH/bin/cf 62 popd 63 64 cd $GOPATH/src/code.cloudfoundry.org/cli 65 ginkgo -r -nodes=16 -flakeAttempts=2 -slowSpecThreshold=60 -randomizeAllSpecs integration/shared/experimental integration/v6/experimental