diff --git a/dot_local/bin/executable_install-cloud-sql-proxy b/dot_local/bin/executable_install-cloud-sql-proxy new file mode 100755 index 0000000..e3ebf00 --- /dev/null +++ b/dot_local/bin/executable_install-cloud-sql-proxy @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +set -euo pipefail + +# shellcheck disable=SC1091 +source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" + +APP=cloud-sql-proxy +VERSION=${VERSION:-2.6.1} +DEST=${XDG_DATA_HOME}/apps/releases/${APP} + +main() ( + URL=https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v${VERSION}/cloud-sql-proxy.$(get_os).$(get_arch) + extract_binary "${URL}" "${DEST}/${VERSION}/${APP}" + set_current_link "${DEST}" "${VERSION}" + set_link "${XDG_BIN_HOME}/${APP}" "${DEST}" "${APP}" +) + +main "${@}" diff --git a/dot_local/bin/executable_install-kubectl b/dot_local/bin/executable_install-kubectl index 88b2c70..4377097 100755 --- a/dot_local/bin/executable_install-kubectl +++ b/dot_local/bin/executable_install-kubectl @@ -7,7 +7,7 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" APP=kubectl # https://dl.k8s.io/release/stable.txt -VERSION=${VERSION:-1.26.1} +VERSION=${VERSION:-1.28.1} DEST=${XDG_DATA_HOME}/apps/releases/${APP} APP_PATH=${DEST}/${VERSION}/kubectl