forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun
executable file
·30 lines (23 loc) · 887 Bytes
/
run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#/bin/bash
set -e
SERVICES=$*
if [[ -z "$SERVICES" ]]; then
SERVICES="regalions" # developer regalions
echo "************************************"
echo " Using all default services"
echo "************************************"
fi
if [[ -z "$HONEYCOMB_API_KEY" ]]; then
echo "please set HONEYCOMB_API_KEY, it's required"
exit 1
fi
echo "Logging in to ACR, because it's so annoying when we forget."
scripts/login-acr.sh
set -x
# maybe someday the container registry name will change, but this is what it is now
skaffold run -d mainacra1e0ec0b.azurecr.io -b $SERVICES --port-forward=user -l skaffold.dev/run-id=static
# note: if the output ends with
# Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
# then do something like this:
# helm rollback -n jessicakerr-local jessicakerr
# maybe later I can get this to print usefully