github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml (about) 1 --- 2 platform: linux 3 4 image: docker:///cloudfoundry/cli-vagrant-ci 5 6 params: 7 LITE_PRIVATE_IP_ADDRESS: 8 LITE_HOSTNAME: 9 LITE_EXTRA_STUB: "{}" 10 11 inputs: 12 - name: cf-release-repo 13 14 outputs: 15 - name: bosh-lite-cf-manifest 16 17 run: 18 path: bash 19 args: 20 - -c 21 - | 22 set -ex 23 24 export BOSH_LITE_ROOT="$PWD/bosh-lite" 25 26 pushd cf-release-repo 27 bosh -n target $LITE_PRIVATE_IP_ADDRESS 28 bosh -n login admin admin 29 30 echo "Updating cf-release sub modules" 31 ./scripts/update > /dev/null 32 33 echo "Generating bosh lite manifest from cf-release-repo/scripts/generate-bosh-lite-dev-manifest" 34 cat > property-overrides.yml << EOF 35 properties: 36 system_domain: ${LITE_HOSTNAME} 37 EOF 38 ./scripts/generate-bosh-lite-dev-manifest property-overrides.yml <(echo $LITE_EXTRA_STUB) 39 popd 40 41 cp cf-release-repo/bosh-lite/deployments/cf.yml bosh-lite-cf-manifest