From 20cdef39352ba40e6f08abd92d89bae7e309aa62 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Wed, 18 Sep 2024 15:26:34 -0400 Subject: [PATCH] Don't retry provisioning It just doesn't work due to repos being messed up on the subsequent tries. Skip-build: true Skip-python-bandit: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-test: true Skip-PR-comments: true PR-repos: pmdk@PR-38:11 Required-githooks: true Signed-off-by: Brian J. Murrell --- ci/provisioning/post_provision_config.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/provisioning/post_provision_config.sh b/ci/provisioning/post_provision_config.sh index 13f78358a83..d7266097223 100755 --- a/ci/provisioning/post_provision_config.sh +++ b/ci/provisioning/post_provision_config.sh @@ -32,7 +32,8 @@ retry_cmd 300 clush -B -S -l root -w "$NODESTRING" -c ci_key* --dest=/tmp/ # shellcheck disable=SC2001 sanitized_commit_message="$(echo "$COMMIT_MESSAGE" | sed -e 's/\(["\$]\)/\\\1/g')" -if ! retry_cmd 2400 clush -B -S -l root -w "$NODESTRING" \ +# It doesn't really work to retry this as it messes up the repos on the subsequent tries +if ! RETRY_COUNT=1 retry_cmd 2400 clush -B -S -l root -w "$NODESTRING" \ "export PS4='$PS4' MY_UID=$(id -u) CONFIG_POWER_ONLY=${CONFIG_POWER_ONLY:-}