improving storage api
parent
3d089721ef
commit
7b00187f26
16
action.yml
16
action.yml
|
|
@ -122,14 +122,6 @@ inputs:
|
|||
default: ''
|
||||
required: false
|
||||
description: 'Amount of memory to assign the remote build container'
|
||||
cachePushOverrideCommand:
|
||||
default: ''
|
||||
required: false
|
||||
description: 'A command run every time a file is pushed to cache, formatted with input file path and remote cache path'
|
||||
cachePullOverrideCommand:
|
||||
default: ''
|
||||
required: false
|
||||
description: 'A command run every time before a file is being pulled from cache, formatted with request cache file and destination path'
|
||||
readInputFromOverrideList:
|
||||
default: ''
|
||||
required: false
|
||||
|
|
@ -158,14 +150,6 @@ inputs:
|
|||
default: ''
|
||||
required: false
|
||||
description: 'Cache key to indicate bucket for cache'
|
||||
checkDependencyHealthOverride:
|
||||
default: ''
|
||||
required: false
|
||||
description: 'Use to specify a way to check depdency services health to enable resilient self-starting jobs'
|
||||
startDependenciesOverride:
|
||||
default: ''
|
||||
required: false
|
||||
description: 'Use to specify a way to start depdency services health to enable resilient self-starting jobs'
|
||||
watchToEnd:
|
||||
default: 'true'
|
||||
required: false
|
||||
|
|
|
|||
|
|
@ -292,8 +292,6 @@ class BuildParameters {
|
|||
logId: nanoid_1.customAlphabet(cloud_runner_constants_1.default.alphabet, 9)(),
|
||||
buildGuid: cloud_runner_guid_1.default.generateGuid(input_1.default.runNumber, input_1.default.targetPlatform),
|
||||
customJobHooks: cloud_runner_options_1.default.customJobHooks(),
|
||||
cachePullOverrideCommand: cloud_runner_options_1.default.cachePullOverrideCommand(),
|
||||
cachePushOverrideCommand: cloud_runner_options_1.default.cachePushOverrideCommand(),
|
||||
readInputOverrideCommand: cloud_runner_options_1.default.readInputOverrideCommand(),
|
||||
readInputFromOverrideList: cloud_runner_options_1.default.readInputFromOverrideList(),
|
||||
kubeStorageClass: cloud_runner_options_1.default.kubeStorageClass,
|
||||
|
|
@ -652,15 +650,6 @@ class CloudRunnerOptions {
|
|||
static customJobHooks() {
|
||||
return CloudRunnerOptions.getInput('customJobHooks') || '';
|
||||
}
|
||||
static cachePushOverrideCommand() {
|
||||
return CloudRunnerOptions.getInput('cachePushOverrideCommand') || '';
|
||||
}
|
||||
static cachePullOverrideCommand() {
|
||||
return CloudRunnerOptions.getInput('cachePullOverrideCommand') || '';
|
||||
}
|
||||
static storageProvider() {
|
||||
return CloudRunnerOptions.getInput('storageProvider') || 'shared-volume'; // TODO also need to accept premade types AWS S3 + GCP Storage and custom yaml definitions
|
||||
}
|
||||
static readInputFromOverrideList() {
|
||||
return CloudRunnerOptions.getInput('readInputFromOverrideList') || '';
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -46,8 +46,6 @@ class BuildParameters {
|
|||
public kubeStorageClass!: string;
|
||||
public chownFilesTo!: string;
|
||||
public customJobHooks!: string;
|
||||
public cachePushOverrideCommand!: string;
|
||||
public cachePullOverrideCommand!: string;
|
||||
public readInputFromOverrideList!: string;
|
||||
public readInputOverrideCommand!: string;
|
||||
public checkDependencyHealthOverride!: string;
|
||||
|
|
@ -95,7 +93,6 @@ class BuildParameters {
|
|||
editorVersion,
|
||||
customImage: Input.customImage,
|
||||
unitySerial,
|
||||
|
||||
runnerTempPath: process.env.RUNNER_TEMP,
|
||||
targetPlatform: Input.targetPlatform,
|
||||
projectPath: Input.projectPath,
|
||||
|
|
@ -138,8 +135,6 @@ class BuildParameters {
|
|||
logId: customAlphabet(CloudRunnerConstants.alphabet, 9)(),
|
||||
buildGuid: CloudRunnerBuildGuid.generateGuid(Input.runNumber, Input.targetPlatform),
|
||||
customJobHooks: CloudRunnerOptions.customJobHooks(),
|
||||
cachePullOverrideCommand: CloudRunnerOptions.cachePullOverrideCommand(),
|
||||
cachePushOverrideCommand: CloudRunnerOptions.cachePushOverrideCommand(),
|
||||
readInputOverrideCommand: CloudRunnerOptions.readInputOverrideCommand(),
|
||||
readInputFromOverrideList: CloudRunnerOptions.readInputFromOverrideList(),
|
||||
kubeStorageClass: CloudRunnerOptions.kubeStorageClass,
|
||||
|
|
|
|||
|
|
@ -77,18 +77,6 @@ class CloudRunnerOptions {
|
|||
return CloudRunnerOptions.getInput('customJobHooks') || '';
|
||||
}
|
||||
|
||||
static cachePushOverrideCommand() {
|
||||
return CloudRunnerOptions.getInput('cachePushOverrideCommand') || '';
|
||||
}
|
||||
|
||||
static cachePullOverrideCommand() {
|
||||
return CloudRunnerOptions.getInput('cachePullOverrideCommand') || '';
|
||||
}
|
||||
|
||||
static storageProvider() {
|
||||
return CloudRunnerOptions.getInput('storageProvider') || 'shared-volume'; // TODO also need to accept premade types AWS S3 + GCP Storage and custom yaml definitions
|
||||
}
|
||||
|
||||
static readInputFromOverrideList() {
|
||||
return CloudRunnerOptions.getInput('readInputFromOverrideList') || '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue