Skip to content

Commit

Permalink
Work around kibana-default-index false positive (#2128)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhoherd committed Feb 12, 2024
1 parent 667b678 commit 80eb6e4
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit 80eb6e4

Please sign in to comment.