Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
bug 1305485 - robustcheckout shared cache and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
grenade committed Sep 26, 2016
1 parent 8366c57 commit a41b2c9
Showing 1 changed file with 2 additions and 90 deletions.
92 changes: 2 additions & 90 deletions userdata/Manifest/win2012.json
Expand Up @@ -1035,15 +1035,15 @@
"ComponentName": "HgShared",
"ComponentType": "DirectoryCreate",
"Comment": "required by hg caches",
"Path": "C:\\builds\\hg-shared"
"Path": "y:\\hg-shared"
},
{
"ComponentName": "HgSharedAccessRights",
"ComponentType": "CommandRun",
"Comment": "allows builds to use `hg share ...`",
"Command": "icacls.exe",
"Arguments": [
"C:\\builds\\hg-shared",
"y:\\hg-shared",
"/grant",
"Everyone:(OI)(CI)F"
],
Expand All @@ -1053,94 +1053,6 @@
"ComponentName": "HgShared"
}
]
},
{
"ComponentName": "MozillaCentralCacheCreate",
"ComponentType": "CommandRun",
"Comment": "required by firefox builds",
"Command": "C:\\mozilla-build\\python\\Scripts\\hg.exe",
"Arguments": [
"clone",
"-U",
"https://hg.mozilla.org/mozilla-central",
"C:\\builds\\hg-shared\\mozilla-central"
],
"DependsOn": [
{
"ComponentType": "ExeInstall",
"ComponentName": "Mercurial"
},
{
"ComponentType": "DirectoryCreate",
"ComponentName": "HgShared"
}
],
"Validate": {
"PathsExist": [
"C:\\builds\\hg-shared\\mozilla-central\\.hg"
]
}
},
{
"ComponentName": "MozillaCentralCacheUpdate",
"ComponentType": "CommandRun",
"Comment": "keeps the cache up to date on subsequent runs/reboots",
"Command": "C:\\mozilla-build\\python\\Scripts\\hg.exe",
"Arguments": [
"pull",
"-R",
"C:\\builds\\hg-shared\\mozilla-central"
],
"DependsOn": [
{
"ComponentType": "CommandRun",
"ComponentName": "MozillaCentralCacheCreate"
}
]
},
{
"ComponentName": "BuildToolsCacheCreate",
"ComponentType": "CommandRun",
"Comment": "required by firefox builds",
"Command": "C:\\mozilla-build\\python\\Scripts\\hg.exe",
"Arguments": [
"clone",
"-U",
"https://hg.mozilla.org/build/tools",
"C:\\builds\\hg-shared\\build\\tools"
],
"DependsOn": [
{
"ComponentType": "ExeInstall",
"ComponentName": "Mercurial"
},
{
"ComponentType": "DirectoryCreate",
"ComponentName": "HgShared"
}
],
"Validate": {
"PathsExist": [
"C:\\builds\\hg-shared\\build\\tools\\.hg"
]
}
},
{
"ComponentName": "BuildToolsCacheUpdate",
"ComponentType": "CommandRun",
"Comment": "keeps the cache up to date on subsequent runs/reboots",
"Command": "C:\\mozilla-build\\python\\Scripts\\hg.exe",
"Arguments": [
"pull",
"-R",
"C:\\builds\\hg-shared\\build\\tools"
],
"DependsOn": [
{
"ComponentType": "CommandRun",
"ComponentName": "BuildToolsCacheCreate"
}
]
}
]
}

1 comment on commit a41b2c9

@TaskClusterRobot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.