retained workspace for k8s
parent
f6d8b64ad8
commit
0db50a063f
35
action.yml
35
action.yml
|
|
@ -9,7 +9,8 @@ inputs:
|
||||||
unityVersion:
|
unityVersion:
|
||||||
required: false
|
required: false
|
||||||
default: 'auto'
|
default: 'auto'
|
||||||
description: 'Version of unity to use for building the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt'
|
description:
|
||||||
|
'Version of unity to use for building the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt'
|
||||||
customImage:
|
customImage:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
@ -85,7 +86,8 @@ inputs:
|
||||||
chownFilesTo:
|
chownFilesTo:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts'
|
description:
|
||||||
|
'User and optionally group (user or user:group or uid:gid) to give ownership of the resulting build artifacts'
|
||||||
allowDirtyBuild:
|
allowDirtyBuild:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
@ -93,19 +95,26 @@ inputs:
|
||||||
postBuildSteps:
|
postBuildSteps:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'run a post build job in yaml format with the keys image, secrets (name, value object array), command string'
|
description:
|
||||||
|
'run a post build job in yaml format with the keys image, secrets (name, value object array), command string'
|
||||||
preBuildSteps:
|
preBuildSteps:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'Run a pre build job after the repository setup but before the build job (in yaml format with the keys image, secrets (name, value object array), command line string)'
|
description:
|
||||||
|
'Run a pre build job after the repository setup but before the build job (in yaml format with the keys image,
|
||||||
|
secrets (name, value object array), command line string)'
|
||||||
customStepFiles:
|
customStepFiles:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'Specify the names (by file name) of custom steps to run before or after cloud runner jobs, must match a yaml step file inside your repo in the folder .game-ci/steps/'
|
description:
|
||||||
|
'Specify the names (by file name) of custom steps to run before or after cloud runner jobs, must match a yaml step
|
||||||
|
file inside your repo in the folder .game-ci/steps/'
|
||||||
customHookFiles:
|
customHookFiles:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'Specify the names (by file name) of custom hooks to run before or after cloud runner jobs, must match a yaml step file inside your repo in the folder .game-ci/hooks/'
|
description:
|
||||||
|
'Specify the names (by file name) of custom hooks to run before or after cloud runner jobs, must match a yaml step
|
||||||
|
file inside your repo in the folder .game-ci/hooks/'
|
||||||
customJobHooks:
|
customJobHooks:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
@ -113,7 +122,9 @@ inputs:
|
||||||
customJob:
|
customJob:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: 'Run a custom job instead of the standard build automation for cloud runner (in yaml format with the keys image, secrets (name, value object array), command line string)'
|
description:
|
||||||
|
'Run a custom job instead of the standard build automation for cloud runner (in yaml format with the keys image,
|
||||||
|
secrets (name, value object array), command line string)'
|
||||||
awsBaseStackName:
|
awsBaseStackName:
|
||||||
default: 'game-ci'
|
default: 'game-ci'
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -121,7 +132,8 @@ inputs:
|
||||||
cloudRunnerCluster:
|
cloudRunnerCluster:
|
||||||
default: 'local'
|
default: 'local'
|
||||||
required: false
|
required: false
|
||||||
description: 'Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must be configured.'
|
description:
|
||||||
|
'Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must be configured.'
|
||||||
cloudRunnerCpu:
|
cloudRunnerCpu:
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -137,11 +149,14 @@ inputs:
|
||||||
readInputOverrideCommand:
|
readInputOverrideCommand:
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
description: 'Extend game ci by specifying a command to execute to pull input from external source e.g cloud provider secret managers'
|
description:
|
||||||
|
'Extend game ci by specifying a command to execute to pull input from external source e.g cloud provider secret
|
||||||
|
managers'
|
||||||
kubeConfig:
|
kubeConfig:
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
description: 'Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until completion.'
|
description:
|
||||||
|
'Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until completion.'
|
||||||
kubeVolume:
|
kubeVolume:
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ async function CreateParameters(overrides) {
|
||||||
describe('Cloud Runner Retain Workspace', () => {
|
describe('Cloud Runner Retain Workspace', () => {
|
||||||
it('Responds', () => {});
|
it('Responds', () => {});
|
||||||
setups();
|
setups();
|
||||||
if (CloudRunnerOptions.cloudRunnerDebug && CloudRunnerOptions.cloudRunnerCluster !== `k8s`) {
|
if (CloudRunnerOptions.cloudRunnerDebug) {
|
||||||
it('Run one build it should not already be retained, run subsequent build which should use retained workspace', async () => {
|
it('Run one build it should not already be retained, run subsequent build which should use retained workspace', async () => {
|
||||||
const overrides = {
|
const overrides = {
|
||||||
versioning: 'None',
|
versioning: 'None',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue