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