Custom step file support
parent
f7932ef20a
commit
a0891bdc4a
|
|
@ -5326,13 +5326,14 @@ class BuildAutomationWorkflow {
|
|||
const cloneBuilderCommands = `if [ -e "${cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(cloud_runner_folders_1.CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)}" ] && [ -e "${cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathAbsolute, `.git`))}" ]; then echo "Builder Already Exists!"; else ${commands}; fi`;
|
||||
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||
echo "game ci cloud runner clone"
|
||||
tree -L 2 ./data/
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
${retainedWorkspaceCommands}
|
||||
tree -L 2 ./data/
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
${cloneBuilderCommands}
|
||||
tree -L 2 ./data/
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
echo "game ci cloud runner bootstrap"
|
||||
node ${builderPath} -m remote-cli-pre-build`;
|
||||
node ${builderPath} -m remote-cli-pre-build
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}`;
|
||||
}
|
||||
// ToDo: Replace with a very simple "node ${builderPath} -m build-cli" to run the scripts below without enlarging the request size
|
||||
static BuildCommands(builderPath) {
|
||||
|
|
@ -5350,7 +5351,9 @@ class BuildAutomationWorkflow {
|
|||
/entrypoint.sh
|
||||
echo "game ci cloud runner push library to cache"
|
||||
chmod +x ${builderPath}
|
||||
node ${builderPath} -m remote-cli-post-build`;
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
node ${builderPath} -m remote-cli-post-build
|
||||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}`;
|
||||
}
|
||||
}
|
||||
exports.BuildAutomationWorkflow = BuildAutomationWorkflow;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -129,13 +129,14 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
|
||||
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||
echo "game ci cloud runner clone"
|
||||
tree -L 2 ./data/
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
${retainedWorkspaceCommands}
|
||||
tree -L 2 ./data/
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
${cloneBuilderCommands}
|
||||
tree -L 2 ./data/
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
echo "game ci cloud runner bootstrap"
|
||||
node ${builderPath} -m remote-cli-pre-build`;
|
||||
node ${builderPath} -m remote-cli-pre-build
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}`;
|
||||
}
|
||||
|
||||
// ToDo: Replace with a very simple "node ${builderPath} -m build-cli" to run the scripts below without enlarging the request size
|
||||
|
|
@ -155,6 +156,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
/entrypoint.sh
|
||||
echo "game ci cloud runner push library to cache"
|
||||
chmod +x ${builderPath}
|
||||
node ${builderPath} -m remote-cli-post-build`;
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}
|
||||
node ${builderPath} -m remote-cli-post-build
|
||||
${CloudRunner.buildParameters.cloudRunnerIntegrationTests ? `tree -L 2 ./data/` : ``}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue