Skip to content

Conversation

rose-m
Copy link
Contributor

@rose-m rose-m commented Mar 2, 2021

This PR adds the following behavior:

  • Publishing a distributable using Barque returns the URLs we expect the packages to be available at
  • After all distributables are published we wait at most 5 minutes for them to become available checking every 10 seconds

Note: We are only doing a HEAD request instead of downloading the full package. Example to see with an existing package locally:

$ curl --head https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/RPMS/mongosh-0.8.2-x86_64.rpm
HTTP/2 200
...

Open Question: Should I calibrate timeout and interval to different values?

@rose-m rose-m self-assigned this Mar 2, 2021
Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can start with the current timeout and observe what the actual values look like when we do releases, and then maybe adjust if we want to, that seems fine to me

@rose-m rose-m merged commit 7bce109 into master Mar 2, 2021
@rose-m rose-m deleted the MONGOSH-619-verify-barque-artifacts branch March 2, 2021 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants