Skip to content

Commit

Permalink
Merge pull request #47 from sustainable-computing-io/display-configur…
Browse files Browse the repository at this point in the history
…ed-variables

display configured options during deployment
  • Loading branch information
mamy-CS authored Feb 22, 2024
2 parents 4514d10 + fd84539 commit 8a5a19e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v kubectl &> /dev/null; then
fi

if [[ ! -z ${SUSQL_ENHANCED} ]]; then
echo "Deploying enhanced SusQL configuration."
echo "->Deploying enhanced SusQL configuration."
fi

# Check if there is a current context
Expand Down Expand Up @@ -87,6 +87,19 @@ if [[ -z ${SUSQL_IMAGE_TAG} ]]; then
SUSQL_IMAGE_TAG="latest"
fi

# display configured variables
echo "==================================================================================================="
echo "SUSQL_NAMESPACE - '${SUSQL_NAMESPACE}'"
echo "KEPLER_PROMETHEUS_NAMESPACE - '${KEPLER_PROMETHEUS_NAMESPACE}'"
echo "PROMETHEUS_PROTOCOL - '${PROMETHEUS_PROTOCOL}'"
echo "PROMETHEUS_SERVICE - '${PROMETHEUS_SERVICE}'"
echo "PROMETHEUS_NAMESPACE - '${PROMETHEUS_NAMESPACE}'"
echo "PROMETHEUS_DOMAIN - '${PROMETHEUS_DOMAIN}'"
echo "PROMETHEUS_PORT - '${PROMETHEUS_PORT}'"
echo "KEPLER_PROMETHEUS_URL - '${KEPLER_PROMETHEUS_URL}'"
echo "SUSQL_PROMETHEUS_URL - '${SUSQL_PROMETHEUS_URL}'"
echo "SUSQL_ENHANCED Enabled - '${SUSQL_ENHANCED}'"
echo "==================================================================================================="
# Actions to perform, separated by comma
actions=${1:-"kepler-check,prometheus-undeploy,prometheus-deploy,susql-undeploy,susql-deploy"}

Expand Down

0 comments on commit 8a5a19e

Please sign in to comment.