build: use afs on aks instead of circle cache (#39881)
* build: use afs on aks instead of circle cache * build: do not use aks logic on linux hosts checking out for macOS * build: fix gn-check could-be-aks * build: sigh * build: no ls mnt * build: keep build alive while debugging * build: make debuggable --------- Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
18717ee62d
commit
75ea294b6f
2 changed files with 220 additions and 30 deletions
|
@ -7,5 +7,6 @@ const content = JSON.parse(fs.readFileSync(PARAMS_PATH, 'utf-8'));
|
|||
// Choose resource class for linux hosts
|
||||
const currentBranch = process.env.CIRCLE_BRANCH || '';
|
||||
content['large-linux-executor'] = /^pull\/[0-9-]+$/.test(currentBranch) ? '2xlarge' : 'electronjs/aks-linux-large';
|
||||
content['medium-linux-executor'] = /^pull\/[0-9-]+$/.test(currentBranch) ? 'medium' : 'electronjs/aks-linux-medium';
|
||||
|
||||
fs.writeFileSync(PARAMS_PATH, JSON.stringify(content));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue