'Implements the BaseBomValidateDeployer interface.'

def do_undeploy(self):

    options = self.options
    if (options.deploy_spinnaker_type == 'distributed'):
        run_and_monitor('ssh    -i    {ssh_key}    -o    StrictHostKeyChecking=no    -o    UserKnownHostsFile=/dev/null    {user}@{ip}    sudo    hal    -q    --log=info    deploy    clean'.format(user=self.hal_user, ip=self.instance_ip, ssh_key=self.ssh_key_path))
    check_run_and_monitor('gcloud    -q    compute    instances    delete    --account    {gcloud_account}    --project    {project}    --zone    {zone}    {instance}'.format(gcloud_account=options.deploy_hal_google_service_account, project=options.deploy_google_project, zone=options.deploy_google_zone, instance=options.deploy_google_instance))
