Skip to content

Commit

Permalink
install: collect bootstrap logs on Azure (#51883)
Browse files Browse the repository at this point in the history
This would help us extract metrics about bootstrap steps for all CI jobs running on Azure
  • Loading branch information
vrutkovs committed May 13, 2024
1 parent 56e9266 commit 77ce32f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,10 @@ do
cp "${item}" "${dir}/tls/${manifest##tls_}"
done < <( find "${SHARED_DIR}" \( -name "tls_*.key" -o -name "tls_*.pub" \) -print0)

# Collect bootstrap logs for all azure clusters
case "${CLUSTER_TYPE}" in
azure4|azure-arm64) OPENSHIFT_INSTALL_PROMTAIL_ON_BOOTSTRAP=true ;;
esac
if [ ! -z "${OPENSHIFT_INSTALL_PROMTAIL_ON_BOOTSTRAP:-}" ]; then
set +o errexit
# Inject promtail in bootstrap.ign
Expand Down

0 comments on commit 77ce32f

Please sign in to comment.