diff --git a/script/deploy b/script/deploy index fcb2db4e29bbe632e932dadfcc309025c9a53eaf..b6da3f8f848e02e236095c3d70e2823cf0efcebd 100755 --- a/script/deploy +++ b/script/deploy @@ -4,13 +4,17 @@ set -eu source script/lib/deploy-helpers.sh if [[ $# < 2 ]]; then - # TODO kb nightly deploy? - echo "Usage: $0 " + echo "Usage: $0 (nightly is not yet supported)" exit 1 fi environment=$1 version=$2 +if [[ ${environment} == "nightly" ]]; then + echo "nightly is not yet supported" + exit 1 +fi + export_vars_for_environment ${environment} image_id=$(image_id_for_version ${version}) diff --git a/script/deploy-migration b/script/deploy-migration index 4ea36993fe5c40e1761f8c8e41d794bac81de820..340e6cef1f6a25bcc341586f8cd10fccd91a4673 100755 --- a/script/deploy-migration +++ b/script/deploy-migration @@ -4,13 +4,17 @@ set -eu source script/lib/deploy-helpers.sh if [[ $# < 2 ]]; then - # TODO kb nightly migrations? - echo "Usage: $0 " + echo "Usage: $0 (nightly is not yet supported)" exit 1 fi environment=$1 version=$2 +if [[ ${environment} == "nightly" ]]; then + echo "nightly is not yet supported" + exit 1 +fi + export_vars_for_environment ${environment} image_id=$(image_id_for_version ${version}) diff --git a/script/what-is-deployed b/script/what-is-deployed index 6d18edbd311381d9a5ef30b1636e44269c478e7b..b6a68dd3b3245bdf925ffe2d80c23725e43c1c81 100755 --- a/script/what-is-deployed +++ b/script/what-is-deployed @@ -4,12 +4,16 @@ set -eu source script/lib/deploy-helpers.sh if [[ $# < 1 ]]; then - # TODO kb infra for nightly? - echo "Usage: $0 " + echo "Usage: $0 (nightly is not yet supported)" exit 1 fi environment=$1 +if [[ ${environment} == "nightly" ]]; then + echo "nightly is not yet supported" + exit 1 +fi + export_vars_for_environment ${environment} target_zed_kube_cluster