improve "patch bazel windows" UX (#6764)

This does not get used very often so it is likely nobody will remember
how it works when we do use it. It's And due to the ordering Azure makes
of jobs in its UI, it's very easy to miss that there is a final,
Linux-based step and the values are actually printed there.

So this adds a little note to remind us of that.

Note that as this changes the `ci/patch_bazel_windows` folder, this will
also generate a new Bazel, so this PR will also update the Scoop
reference.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2020-09-30 14:09:51 +02:00 committed by GitHub
parent b9a1905dab
commit 60b300199b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,8 @@ jobs:
setvar should_run $SHOULD_RUN
setvar target $TARGET
setvar target_url $TARGET_URL
echo "Final hash and URL will be printed by the ${{parameters.final_job_name}} job."
name: out
- job: patch_bazel_compile
@ -72,6 +74,7 @@ jobs:
mkdir '$(Build.StagingDirectory)\patched-bazel'
zip bazel.zip bazel.exe
cp bazel.zip '$(Build.StagingDirectory)\patched-bazel'
echo "Final hash and URL will be printed by the ${{parameters.final_job_name}} job."
condition: eq(variables.should_run, 'true')
- task: PublishPipelineArtifact@1
inputs:

View File

@ -5,8 +5,8 @@
"bin": "bazel.exe",
"architecture": {
"64bit": {
"url": "https://daml-binaries.da-ext.net/patch_bazel_windows/bazel-d35eaf58b847cc6adba694d1b0744ac1.zip",
"hash": "a62884b3be00d0440e8065e2570a4ce084bae2fcf6ef4d1edc13367e1d90a72e"
"url": "https://daml-binaries.da-ext.net/patch_bazel_windows/bazel-2dfaf3c3b85bf9d78615a70a0afddc28.zip",
"hash": "3c54a367a682bd3f2ba0b0ed673846756b16704a1fcb58f89d939fc3f00b8c4b"
}
},
"depends": [