Sha256: 462e6d3c0a304169c0bcd75ce92fcd44fece493427531df6f7be96d47a2e38ac

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

#!/usr/bin/env bash

# Remove existing BOSH deployments
bosh -e <%= @values['bosh']['name'] %> -d vault deld

# Destroy BOSH director
bosh delete-env deployments/bosh/bosh.yml \
  --state=config/state.json \
  --vars-store=config/creds.yml \
  --vars-file=config/bosh-vars.yml \
  --var-file gcp_credentials_json=<%= @values['gcp']['service_account'] %> \
  -v tags='[platform-internal, no-ip]' \
  -o deployments/bosh/cpi.yml \
  -o deployments/bosh/jumpbox-user.yml

# Destroy Terraform-generated infrastructure
pushd terraform && terraform destroy && popd

# Remove files generated by kite
rm -rf terraform deployments docs config/{creds.yml,bosh_vars.yml,jumpbox.key} bin/*.sh

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kite-0.2.0 tpl/gcp/bin/base/cleanup.sh.tt
kite-0.1.0 tpl/gcp/bin/base/cleanup.sh.tt