#! /usr/bin/env bash

git clone https://github.com/geramirez/concourse-filter &>/dev/null
pushd concourse-filter
  go build &>/dev/null
  CREDENTIAL_FILTER_PARAMS=STACKS,DEPLOYMENT_NAME,SSH_AGENT_PID,CF_EDGE,IAAS,RUBYGEM_MIRROR,BOSH_LITE_NAME,AZURE_BOSH_USER,BOSH_USER,LANGUAGE,CI_CF_USERNAME
  export CREDENTIAL_FILTER_WHITELIST="$CREDENTIAL_FILTER_PARAMS,CREDENTIAL_FILTER_WHITELIST,GEM_HOME,TERM,USER,BUNDLE_APP_CONFIG,PATH,RUBY_DOWNLOAD_SHA256,PWD,LANG,RUBY_MAJOR,RUBYGEMS_VERSION,SHLVL,HOME,RUBY_VERSION,BUNDLER_VERSION,OLDPWD"
  exec &> >(./concourse-filter)
popd

#! /usr/bin/env bash

git clone https://github.com/geramirez/concourse-filter &>/dev/null
pushd concourse-filter
  go build &>/dev/null
  CREDENTIAL_FILTER_PARAMS=STACKS,DEPLOYMENT_NAME,SSH_AGENT_PID,CF_EDGE,IAAS,RUBYGEM_MIRROR,BOSH_LITE_NAME,AZURE_BOSH_USER,BOSH_USER,LANGUAGE,CI_CF_USERNAME,BOSH_TARGET,BOSH_LITE_DISK_SIZE,BRATS_BRANCH
  export CREDENTIAL_FILTER_WHITELIST="$CREDENTIAL_FILTER_PARAMS,CREDENTIAL_FILTER_WHITELIST,GEM_HOME,TERM,USER,BUNDLE_APP_CONFIG,PATH,RUBY_DOWNLOAD_SHA256,PWD,LANG,RUBY_MAJOR,RUBYGEMS_VERSION,SHLVL,HOME,RUBY_VERSION,BUNDLER_VERSION,OLDPWD"
  exec &> >(./concourse-filter)
popd

Add BOSH_TARGET, BOSH_LITE_DISK_SIZE, BRATS_BRANCH to credential whitelist
Add BOSH_TARGET, BOSH_LITE_DISK_SIZE, BRATS_BRANCH to credential whitelist

[#120319485]
