Skip to content

Commit

Permalink
Merge pull request #621 from SaschaSchwarze0/sascha-ignore-previous-l…
Browse files Browse the repository at this point in the history
…ogs-failure

Ignore previous logs failure
  • Loading branch information
openshift-merge-robot authored Feb 25, 2021
2 parents 22b8221 + 842b85f commit f5ab6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
RESTART_COUNT=$(echo "${PODS}" | jq -r ".items[] | select(.metadata.name == \"${POD_NAME}\") | .status.containerStatuses[0].restartCount")
if [ "${RESTART_COUNT}" != "0" ]; then
echo "# Previous logs:"
kubectl -n build-operator logs "${POD_NAME}" --previous
kubectl -n build-operator logs "${POD_NAME}" --previous || true
fi
echo "# Logs:"
kubectl -n build-operator logs "${POD_NAME}"

0 comments on commit f5ab6f5

Please sign in to comment.