Skip to content

Commit

Permalink
install: collect bootstrap logs on Azure (openshift#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 authored and jbpratt committed May 30, 2024
1 parent 6348892 commit 9e2e221
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 9e2e221

Please sign in to comment.