]> git.ipfire.org Git - thirdparty/git.git/commit
ci: avoid pounding on the poor ci-artifacts container
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 15 May 2020 07:55:18 +0000 (07:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 May 2020 15:02:30 +0000 (08:02 -0700)
commit857341c1b7533cc0a813b1eb851ef2eedfacc90e
tree655f10c6a6b446a0aaa798fde51c9461fd856079
parentf72f328bc57e1b0db380ef76e0c1e94a9ed0ac7c
ci: avoid pounding on the poor ci-artifacts container

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 <congdanhqx@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml