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_decorator_1.CliFunction(`remote-cli`, `sets up a repository, usually before a game-ci build`)
|
||||||
], CLI, "runRemoteClientJob", null);
|
], CLI, "runRemoteClientJob", null);
|
||||||
__decorate([
|
__decorate([
|
||||||
cli_decorator_1.CliFunction(`cach-push`, `push to cache`)
|
cli_decorator_1.CliFunction(`cache-push`, `push to cache`)
|
||||||
], CLI, "cachePush", null);
|
], CLI, "cachePush", null);
|
||||||
__decorate([
|
__decorate([
|
||||||
cli_decorator_1.CliFunction(`cach-pull`, `pull from cache`)
|
cli_decorator_1.CliFunction(`cache-pull`, `pull from cache`)
|
||||||
], CLI, "cachePull", null);
|
], CLI, "cachePull", null);
|
||||||
__decorate([
|
__decorate([
|
||||||
cli_decorator_1.CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
cli_decorator_1.CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
||||||
|
|
@ -3114,8 +3114,8 @@ class BuildAutomationWorkflow {
|
||||||
static get FullWorkflow() {
|
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 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`));
|
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
|
return `apt-get update > /dev/null
|
||||||
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||||
npm install -g n
|
npm install -g n
|
||||||
n stable
|
n stable
|
||||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${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();
|
await SetupCloudRunnerRepository.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
@CliFunction(`cach-push`, `push to cache`)
|
@CliFunction(`cache-push`, `push to cache`)
|
||||||
static async cachePush() {}
|
static async cachePush() {}
|
||||||
|
|
||||||
@CliFunction(`cach-pull`, `pull from cache`)
|
@CliFunction(`cache-pull`, `pull from cache`)
|
||||||
static async cachePull() {}
|
static async cachePull() {}
|
||||||
|
|
||||||
@CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
@CliFunction(`garbage-collect-aws`, `garbage collect aws`)
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
||||||
const buildHooks = CloudRunnerBuildCommandProcessor.getHooks(CloudRunner.buildParameters.customJobHooks).filter(
|
const buildHooks = CloudRunnerBuildCommandProcessor.getHooks(CloudRunner.buildParameters.customJobHooks).filter(
|
||||||
(x) => x.step.includes(`build`),
|
(x) => x.step.includes(`build`),
|
||||||
);
|
);
|
||||||
return `apt-get -q update
|
return `apt-get update > /dev/null
|
||||||
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||||
npm install -g n
|
npm install -g n
|
||||||
n stable
|
n stable
|
||||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue