Various fixes
parent
d8c8385cea
commit
dcd08cf7e8
|
|
@ -3115,8 +3115,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 update -q
|
return `apt-get -q update
|
||||||
apt-get install -q -y zip tree npm git-lfs jq unzip git
|
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
||||||
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
|
|
@ -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 update -q
|
return `apt-get -q update
|
||||||
apt-get install -q -y zip tree npm git-lfs jq unzip git
|
apt-get -q install -y zip tree npm git-lfs jq unzip git
|
||||||
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