This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
[sync-recent-releases.sh] Populate archives.jenkins.io as mirror fallback #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As per jenkins-infra/helpdesk#3828 (comment), the download mirror fallback system was changed to use archives.jenkins.io.
This creates cases when, during a few minutes, a given file is advertised in the mirror system (because already copied by blobxfer) but not yet available in archives.jenkins.io. This is a blocker for security advisories.
This PR is a quick fix to ensure the blocker is removed: it ensures that the scripts syncs archives.jenkins.io once the bits are delivered on OSUOSL. It must be run as second because the source is OSUOSL.
The impact on the execution time varies from 25s to 2m20 based on our history: this will be greatly optimized in the future with 2 mains elements:
blobxfer
byazcopy
helpdesk#3414 => will improve the blobxfer copy time by using azcopy