Merge pull request #35522 from ClickHouse/fix_jepsen_check

Don't put red cross if jepsen check couldn't wait for build
This commit is contained in:
alesapin 2022-03-23 11:48:45 +01:00 committed by GitHub
commit f6d9687174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,10 +200,8 @@ if __name__ == "__main__":
head = requests.head(build_url)
counter += 1
if counter >= 180:
post_commit_status(
gh, pr_info.sha, CHECK_NAME, "Cannot fetch build to run", "error", ""
)
raise Exception("Cannot fetch build")
logging.warning("Cannot fetch build in 30 minutes, exiting")
sys.exit(0)
with SSHKey(key_value=get_parameter_from_ssm("jepsen_ssh_key") + "\n"):
ssh_auth_sock = os.environ["SSH_AUTH_SOCK"]