Skip to content

Commit b47aa02

Browse files
authored
Merge pull request #12 from projectsyn/ngrok-fix
Checks whether ngrok is already running
2 parents a17c1d6 + 17058db commit b47aa02

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

1_lieutenant_on_minikube.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ check_variable "GITLAB_USERNAME" "$GITLAB_USERNAME"
1212
LIEUTENANT_OPERATOR_VERSION=v1.5.0
1313
LIEUTENANT_API_VERSION=v0.11.0
1414

15+
# ngrok must not be running
16+
if pidof ngrok; then
17+
echo "ERROR: ngrok is already running. Please stop it first."
18+
exit 1
19+
fi
20+
1521
# Minikube must be running
1622
minikube start --disk-size 60g --cpus 4
1723
check_minikube

0 commit comments

Comments
 (0)