We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45c8b81 commit 9f22f2eCopy full SHA for 9f22f2e
jetty/deploy-nomulus-for-env.sh
@@ -17,6 +17,9 @@
17
# kills all running pods to force k8s to create new pods using the just-pushed
18
# manifest.
19
20
+# Abort on error.
21
+set -e
22
+
23
if [[ $# -ne 2 ]]; then
24
echo "Usage: $0 alpha|crash|qa [base_domain]}"
25
exit 1
@@ -30,8 +33,7 @@ while read line
30
33
do
31
34
parts=(${line})
32
35
echo "Updating cluster ${parts[0]} in location ${parts[1]}..."
- gcloud container clusters get-credentials "${parts[0]}" \
- --project "${project}" --location "${parts[1]}"
36
+ gcloud container fleet memberships get-credentials "${parts[0]}" --project "${project}"
37
for service in frontend backend pubapi console
38
39
sed s/GCP_PROJECT/"${project}"/g "./kubernetes/nomulus-${service}.yaml" | \
0 commit comments