-
Notifications
You must be signed in to change notification settings - Fork 140
ci: avoid pounding on the poor ci-artifacts container #632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: avoid pounding on the poor ci-artifacts container #632
Conversation
/submit |
Submitted as [email protected] |
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
On the Git mailing list, Đoàn Trần Công Danh wrote (reply to this):
|
This branch is now known as |
This patch series was integrated into pu via git@6333832. |
This patch series was integrated into pu via git@e350497. |
When this developer tested how the git-sdk-64-minimal artifact could be served to all the GitHub workflow runs that need it, Azure Blobs looked like a pretty good choice: it is reliable, fast and we already use it in Git for Windows to serve components like OpenSSL, cURL, etc It came as an unpleasant surprise just _how many_ times this artifact was downloaded. It exploded the bandwidth to a point where the free tier would no longer be enough, threatening to block other, essential Git for Windows services. Let's switch back to using the Build Artifacts of our trusty Azure Pipeline for the time being. To avoid unnecessary hammering of the Azure Pipeline artifacts, we use the GitHub Action `actions/upload-artifact` in the `windows-build` job and the GitHub Action `actions/download-artifact` in the `windows-test` and `vs-test` jobs (the latter now depends on `windows-build` for that reason, too). Helped-by: Đoàn Trần Công Danh <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
274ae81
to
14606cc
Compare
/submit |
Submitted as [email protected] |
On the Git mailing list, Johannes Schindelin wrote (reply to this):
|
On the Git mailing list, Johannes Schindelin wrote (reply to this):
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This patch series was integrated into pu via git@30e318a. |
This patch series was integrated into pu via git@d7f3db9. |
This patch series was integrated into next via git@9b28f7e. |
On the Git mailing list, Johannes Schindelin wrote (reply to this):
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This patch series was integrated into pu via git@c2f2202. |
The quota on the Azure subscription we use to host the `ci-artifacts` almost ran out, and we scrambled to get a work-around in place: gitgitgadget/git#632 To make sure that the bandwidth is not exhausted (and other, critical services would be stopped and we would not be able to release Git for Windows v2.27.0-rc0, for example), let's _not_ upload the `git-sdk-64-minimal` artifact under the name recorded in git.git's GitHub workflow (that workflow is changed to access the artifact from Azure Pipelines instead, but that fix is only in `pu` at the time of writing, but not yet in `next` nor in `master`, and apparently there are _so many_ forks where people push actively that they would still blow through our quota). Signed-off-by: Johannes Schindelin <[email protected]>
This patch series was integrated into pu via git@2859f93. |
This patch series was integrated into pu via git@55df1a6. |
This patch series was integrated into next via git@55df1a6. |
This patch series was integrated into master via git@55df1a6. |
Closed via 55df1a6. |
I did not think through how I designed the Windows job initializing the minimal subset of Git for Windows' SDK (containing e.g.
make
,gcc
etc): it currently accesses Azure Blobs and uses way too much bandwidth, blowing right through my quota.So for now, all the Windows/Visual Studio builds will be failing to download that SDK subset.
With this patch, we use the (slower) method of downloading the git-sdk-64-minimal Build Artifact of our Azure Pipeline again, which fixes that particular problem.
To be sure, it is a shame that we now spend around a whole minute downloading that SDK subset instead of those sweet, sweet seven seconds. But what does not work does not work, and that's that.
Change since v1:
jq
(thanks, Danh!)