Various fixes
parent
34838741bb
commit
c9d25d9edf
|
|
@ -583,10 +583,10 @@ __decorate([
|
|||
cli_decorator_1.CliFunction(`remote-cli`, `sets up a repository, usually before a game-ci build`)
|
||||
], CLI, "runRemoteClientJob", null);
|
||||
__decorate([
|
||||
cli_decorator_1.CliFunction(`cach-push`, `push to cache`)
|
||||
cli_decorator_1.CliFunction(`cache-push`, `push to cache`)
|
||||
], CLI, "cachePush", null);
|
||||
__decorate([
|
||||
cli_decorator_1.CliFunction(`cach-pull`, `pull from cache`)
|
||||
cli_decorator_1.CliFunction(`cache-pull`, `pull from cache`)
|
||||
], CLI, "cachePull", null);
|
||||
__decorate([
|
||||
cli_decorator_1.CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
||||
|
|
@ -3114,8 +3114,8 @@ class BuildAutomationWorkflow {
|
|||
static get FullWorkflow() {
|
||||
const setupHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`setup`));
|
||||
const buildHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`build`));
|
||||
return `apt-get -q update
|
||||
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||
npm install -g n
|
||||
n stable
|
||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -77,10 +77,10 @@ export class CLI {
|
|||
await SetupCloudRunnerRepository.run();
|
||||
}
|
||||
|
||||
@CliFunction(`cach-push`, `push to cache`)
|
||||
@CliFunction(`cache-push`, `push to cache`)
|
||||
static async cachePush() {}
|
||||
|
||||
@CliFunction(`cach-pull`, `pull from cache`)
|
||||
@CliFunction(`cache-pull`, `pull from cache`)
|
||||
static async cachePull() {}
|
||||
|
||||
@CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
const buildHooks = CloudRunnerBuildCommandProcessor.getHooks(CloudRunner.buildParameters.customJobHooks).filter(
|
||||
(x) => x.step.includes(`build`),
|
||||
);
|
||||
return `apt-get -q update
|
||||
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||
npm install -g n
|
||||
n stable
|
||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||
|
|
|
|||
Loading…
Reference in New Issue