@@ -143,6 +143,11 @@ const workerArguments = defineArguments({
143143 default : process . env . WORKER_WINDOWS_DRIVE_LETTERS || 'X;Y;Z' ,
144144 describe : 'Which Windows Drive letters can be used to map shares. ("X;Y;Z") ' ,
145145 } ,
146+ temporaryFolderPath : {
147+ type : 'string' ,
148+ default : process . env . WORKER_TEMPORARY_FOLDER_PATH || '' ,
149+ describe : 'A temporary, local file path where the worker can store temporary artifacts' ,
150+ } ,
146151 resourceId : {
147152 type : 'string' ,
148153 default : process . env . WORKER_NETWORK_ID || 'default' ,
@@ -240,6 +245,11 @@ const appContainerArguments = defineArguments({
240245 default : process . env . WORKER_WINDOWS_DRIVE_LETTERS || 'X;Y;Z' ,
241246 describe : 'Which Windows Drive letters can be used to map shares. ("X;Y;Z") ' ,
242247 } ,
248+ temporaryFolderPath : {
249+ type : 'string' ,
250+ default : process . env . WORKER_TEMPORARY_FOLDER_PATH || '' ,
251+ describe : 'A temporary, local file path where the worker can store temporary artifacts' ,
252+ } ,
243253 costMultiplier : {
244254 type : 'number' ,
245255 default : process . env . WORKER_COST_MULTIPLIER || 1 ,
@@ -470,6 +480,7 @@ export async function getWorkerConfig(): Promise<WorkerConfig> {
470480 resourceId : argv . resourceId ,
471481 networkIds : argv . networkIds ? argv . networkIds . split ( ';' ) : [ ] ,
472482 windowsDriveLetters : argv . windowsDriveLetters ? argv . windowsDriveLetters . split ( ';' ) : [ ] ,
483+ temporaryFolderPath : argv . temporaryFolderPath ? argv . temporaryFolderPath : undefined ,
473484 costMultiplier :
474485 ( typeof argv . costMultiplier === 'string' ? parseFloat ( argv . costMultiplier ) : argv . costMultiplier ) || 1 ,
475486 considerCPULoad :
@@ -514,6 +525,7 @@ export async function getAppContainerConfig(): Promise<AppContainerProcessConfig
514525 resourceId : argv . resourceId ,
515526 networkIds : argv . networkIds ? argv . networkIds . split ( ';' ) : [ ] ,
516527 windowsDriveLetters : argv . windowsDriveLetters ? argv . windowsDriveLetters . split ( ';' ) : [ ] ,
528+ temporaryFolderPath : argv . temporaryFolderPath ? argv . temporaryFolderPath : undefined ,
517529 costMultiplier :
518530 ( typeof argv . costMultiplier === 'string' ? parseFloat ( argv . costMultiplier ) : argv . costMultiplier ) ||
519531 1 ,
0 commit comments