ci: bump Windows workdirs (#12918)

Since #12645, we added a new pipeline, so we need to add a corresponding
entry.

As for #12645, the content of the files and the directory structure is
taken directly from a live CI node, as printed by the (now-named)
`workdirs` step.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2022-02-14 19:49:32 +01:00 committed by GitHub
parent afef1a3827
commit c04fa81d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 4 deletions

View File

@ -192,6 +192,7 @@ jobs:
cat $f
echo "-----"
done
name: workdirs
- bash: |
set -euo pipefail
git checkout $(release_sha)

View File

@ -11,13 +11,13 @@ locals {
w = [
{
name = "ci-w1",
size = 0,
size = 6,
assignment = "default",
disk_size = 400,
},
{
name = "ci-w2"
size = 6,
size = 0,
assignment = "default",
disk_size = 400,
},
@ -194,9 +194,38 @@ Set-Content -Path 'D:\a\SourceRootMapping\cb88e308-485c-40f9-81b5-dcabba9e55d2\4
"repositoryUrl": "https://github.com/digital-asset/daml",
"system": "build"
}'
New-Item -ItemType Directory -Path 'D:\a\SourceRootMapping\cb88e308-485c-40f9-81b5-dcabba9e55d2\40'
New-Item -ItemType Directory -Path 'D:\a\SourceRootMapping\cb88e308-485c-40f9-81b5-dcabba9e55d2\40\da86374d7fbb90b47db2b7fe49e04373d7a0f7dc'
Set-Content -Path 'D:\a\SourceRootMapping\cb88e308-485c-40f9-81b5-dcabba9e55d2\40\da86374d7fbb90b47db2b7fe49e04373d7a0f7dc\SourceFolder.json' `
-Value '{
"build_artifactstagingdirectory": "4\\a",
"agent_builddirectory": "4",
"collectionUrl": "https://dev.azure.com/digitalasset/",
"definitionName": "digital-asset.daml.daily-snapshot",
"repositoryTrackingInfo": [
{
"identifier": "self",
"repositoryType": "GitHub",
"repositoryUrl": "https://github.com/digital-asset/daml",
"sourcesDirectory": "4\\s\\daml"
}
],
"fileFormatVersion": 3,
"lastRunOn": "02/14/2022 11:38:15 +00:00",
"repositoryType": "GitHub",
"lastMaintenanceAttemptedOn": "",
"lastMaintenanceCompletedOn": "",
"build_sourcesdirectory": "4\\s",
"common_testresultsdirectory": "4\\TestResults",
"collectionId": "cb88e308-485c-40f9-81b5-dcabba9e55d2",
"definitionId": "40",
"hashKey": "da86374d7fbb90b47db2b7fe49e04373d7a0f7dc",
"repositoryUrl": "https://github.com/digital-asset/daml",
"system": "build"
}'
Set-Content -Path 'D:\a\SourceRootMapping\Mappings.json' -Value '{
"lastBuildFolderCreatedOn": "01/28/2022 11:43:49 +00:00",
"lastBuildFolderNumber": 3
"lastBuildFolderCreatedOn": "02/14/2022 11:38:15 +00:00",
"lastBuildFolderNumber": 4
}'
# end folder pinning