-
Notifications
You must be signed in to change notification settings - Fork 136
Conversation
I thought |
Maybe |
Looks like the problem is in the actual bazel rules... Let me see if I can figure this out... |
Think this is the problematic bit: Lines 26 to 29 in 590f3b4
|
/retest |
These e2e tests are the WORST 😅 |
Okay I think I have it! Looks like the problem here is that We can fix this by adding an |
/retest |
Dear e2e tests, please stop editing |
/retest |
PASS! 🎆 🍾 🎊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just bash nit picks ... look great otherwise :)
echo "Success, substitution failed." | ||
return 0 | ||
else | ||
echo "Bad substitution should fail!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I am a grammar critic it could read a tad better, but a nit pick
@@ -40,33 +41,35 @@ check_msg() { | |||
} | |||
|
|||
edit() { | |||
./examples/hellohttp/${LANGUAGE}/edit.sh "$1" | |||
echo Setting $LANGUAGE to "$1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please quote language var. We might want to lint with shellcheck
@@ -24,44 +24,49 @@ if [[ -z "${1:-}" ]]; then | |||
fi | |||
|
|||
get_lb_ip() { | |||
kubectl --namespace=${USER} get service hello-grpc-staging \ | |||
-o jsonpath='{.status.loadBalancer.ingress[0].ip}' | |||
kubectl --namespace=${USER} get service hello-grpc-staging \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put quotes around all variables
kubectl --namespace=${USER} get service hello-grpc-staging \ | ||
-o jsonpath='{.status.loadBalancer.ingress[0].ip}' | ||
kubectl --namespace=${USER} get service hello-grpc-staging \ | ||
-o jsonpath='{.status.loadBalancer.ingress[0].ip}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again missing quotes around a bash var
/assign |
Well that did not work 😂😂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Maybe quote the vars as Chris required?
I can do a follow-up PR as well. @fejta thoughts? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrislovecnm, erain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@fejta I removed my blocking review, so up to you if you want to fix my recommendations or not. I can do a follow-up PR as I mentioned. |
If we do not include the
-o name
then the command output includes a(dry run)
suffix./assign @smukherj1 @nlopezgi
This seems to be causing issues in recent kubectl versions (#193 (comment)).
delete || true
before running create, in case zombie resources exist from a prior run.