Files
deb-python-dcos/ccm/delete_ccm_cluster.sh
Tamar Ben-Shachar f2acfb80a1 Run tests with CCM
2015-12-28 14:01:05 -08:00

12 lines
245 B
Bash
Executable File

#!/bin/bash
# This script expects the following env var:
# CCM_AUTH_TOKEN
# CLUSTER_ID
set -e
set -o pipefail
set -x
http --ignore-stdin DELETE https://ccm.mesosphere.com/api/cluster/${CLUSTER_ID}/ Authorization:"Token ${CCM_AUTH_TOKEN}"