Sha256: d8a3cde4660e6d95bfaab9802be838217ab3dca86cb362397e053ccebc9022c5

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

#!/usr/bin/env bash

# Validate that BOSH deployer is ready

set -e # exit immediately if a simple command exits with a non-zero status

echo "Testing for 'bosh micro deploy' command..."

bosh_output=$(bosh --no-color help micro)
if [[ "$(echo $bosh_output | grep 'micro deploy')" == "" ]]; then
  echo "Failed to install 'bosh micro deploy'. Please investigate issue and report root cause so we can fix it."
  echo "Output of 'bosh --no-color help micro':"
  echo $bosh_output
  exit 1
else
  echo "Successfully installed bosh deployer (bosh micro deploy)"
  exit 0
fi

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bosh-bootstrap-0.10.2 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer
bosh-bootstrap-0.10.1 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer
bosh-bootstrap-0.10.0 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer
bosh-bootstrap-0.9.0 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer