Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
LOGS=$1
if ${LOGS} =~ .*DAG\ created.* && \
${LOGS} =~ .*Worker\ registered.*,backup\).* && \
${LOGS} =~ .*Worker\ registered.*,iasBackup\).* && \
${LOGS} =~ .*Worker\ registered.*iasBackup-iasBase.* && \
${LOGS} =~ .*Worker\ registered.*iasBase-iasScylla.* && \
${LOGS} =~ .*Worker\ registered.*backup-base.* && \
${LOGS} =~ .*Worker\ registered.*base-druid.* && \
${LOGS} =~ .*Worker\ registered.*base-overlap.* && \
${LOGS} =~ .*Worker\ registered.*base-panelists.* && \
${LOGS} =~ .*Worker\ registered.*base-overlapV2.* && \
${LOGS} =~ .*Worker\ registered.*base-mobile.*
then
echo yes
else
echo no
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment