github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/ci/cli/tasks/cats-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: cf-acceptance-tests 11 path: gopath/src/github.com/cloudfoundry/cf-acceptance-tests 12 - name: cf-cli-binaries 13 - name: bosh-lock 14 - name: cats-config 15 16 params: 17 BACKEND: 18 NODES: 2 19 20 run: 21 path: bash 22 args: 23 - -c 24 - | 25 set -eu 26 27 export GOPATH="${PWD}/gopath" 28 export PATH="${GOPATH}/bin":${PATH} 29 export CF_DIAL_TIMEOUT=15 30 export CONFIG=${PWD}/cats-config/integration_config.json 31 32 mkdir -p ${GOPATH}/bin 33 pushd cf-cli-binaries 34 tar xvf cf-cli-binaries.tgz 35 chmod +x cf-cli_linux_x86-64 36 ln -s ${PWD}/cf-cli_linux_x86-64 ${GOPATH}/bin/cf 37 popd 38 39 export CF_PLUGIN_HOME=${PWD} 40 cf install-plugin -f -r CF-Community "network-policy" 41 42 cd "${GOPATH}/src/github.com/cloudfoundry/cf-acceptance-tests" 43 44 # Redact passwords in output 45 sed -E 's/(.*(admin_password|existing_user_password).*\:)(.*)/\1 [REDACTED]/' ${CONFIG} 46 47 SKIPS="-skip=" 48 SKIPS="${SKIPS}transparently proxies both reserved|" 49 50 # Remove trailing | 51 SKIPS=$(echo ${SKIPS} | sed -E 's/(.*)(\|)/\1/') 52 53 ./bin/test \ 54 -flakeAttempts=2 -slowSpecThreshold=180 -randomizeAllSpecs \ 55 -nodes "${NODES}" \ 56 "${SKIPS}"