Skip to content
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

Work around kibana-default-index false positive #2128

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion bin/waitfor-platform
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ while [ "${RC:-0}" -eq 0 ]; do
# of logging tag without the platform. This is the only logging component
# that will not start without the platform. The benefit of allowing us to
# test the logging tag outweighs the downside of ignoring one pod.
grep -q -vE 'NAME|Completed|elasticsearch-nginx| ([0-9]+)/\1 ' /tmp/pods
#
# Also ignore kibana-default-index because it leaves behind failed pods if
# it doesn't succeed on the first try, which falsely make it seem like the
# job failed. https://github.com/astronomer/issues/issues/6158
grep -vE 'NAME|Completed|elasticsearch-nginx|kibana-default-index| ([0-9]+)/\1 ' /tmp/pods
RC=$?
fi
done
Expand Down