-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Fix bug in port-forward.sh #5895
Conversation
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Codecov Report
@@ Coverage Diff @@
## master #5895 +/- ##
==========================================
+ Coverage 47.36% 47.39% +0.03%
==========================================
Files 247 247
Lines 15596 15596
==========================================
+ Hits 7387 7392 +5
+ Misses 7276 7271 -5
Partials 933 933
Continue to review full report at Codecov.
|
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@@ -110,7 +110,7 @@ jobs: | |||
echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts | |||
echo '127.0.0.1 mysql' | sudo tee -a /etc/hosts | |||
- run: make install controller cli $(go env GOPATH)/bin/goreman PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info | |||
- run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false 2>&1 > /tmp/log/argo-e2e/argo.log & | |||
- run: make start PROFILE=${{matrix.profile}} E2E_EXECUTOR=${{matrix.containerRuntimeExecutor}} AUTH_MODE=client STATIC_FILES=false LOG_LEVEL=info UI=false > /tmp/log/argo-e2e/argo.log 2>&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.
order of redirect here meant stderr was not being captured, which made this time-consuming to debug
@@ -6,6 +6,7 @@ on: | |||
- v* | |||
branches: | |||
- master | |||
- dev-* |
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.
revert - we should be creating image on dev-*
if [[ "$(kubectl -n argo get pod -l app=minio -o name)" != "" ]]; then | ||
pf MinIO deploy/minio 9000 | ||
fi | ||
wait-for minio |
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.
builds were failing because we need to wait for pods to be ready (which is the same as deployment being available) before starting port-forward
I think this may be the problem.