Various fixes
parent
c9d25d9edf
commit
8a2500b459
|
|
@ -3116,15 +3116,15 @@ class BuildAutomationWorkflow {
|
||||||
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 > /dev/null
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||||
npm install -g n
|
npm install -g n > /dev/null
|
||||||
n stable
|
n stable > /dev/null
|
||||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||||
export GITHUB_WORKSPACE="${cloud_runner_folders_1.CloudRunnerFolders.repoPathFull.replace(/\\/g, `/`)}"
|
export GITHUB_WORKSPACE="${cloud_runner_folders_1.CloudRunnerFolders.repoPathFull.replace(/\\/g, `/`)}"
|
||||||
${BuildAutomationWorkflow.SetupCommands}
|
${BuildAutomationWorkflow.SetupCommands}
|
||||||
${setupHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
${setupHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
||||||
${buildHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${buildHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||||
${buildHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
${BuildAutomationWorkflow.BuildCommands}
|
||||||
${BuildAutomationWorkflow.BuildCommands}`;
|
${buildHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}`;
|
||||||
}
|
}
|
||||||
static get SetupCommands() {
|
static get SetupCommands() {
|
||||||
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -70,15 +70,15 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
||||||
);
|
);
|
||||||
return `apt-get update > /dev/null
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
apt-get install -y zip tree npm git-lfs jq unzip git > /dev/null
|
||||||
npm install -g n
|
npm install -g n > /dev/null
|
||||||
n stable
|
n stable > /dev/null
|
||||||
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||||
export GITHUB_WORKSPACE="${CloudRunnerFolders.repoPathFull.replace(/\\/g, `/`)}"
|
export GITHUB_WORKSPACE="${CloudRunnerFolders.repoPathFull.replace(/\\/g, `/`)}"
|
||||||
${BuildAutomationWorkflow.SetupCommands}
|
${BuildAutomationWorkflow.SetupCommands}
|
||||||
${setupHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
${setupHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
||||||
${buildHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
${buildHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
|
||||||
${buildHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}
|
${BuildAutomationWorkflow.BuildCommands}
|
||||||
${BuildAutomationWorkflow.BuildCommands}`;
|
${buildHooks.filter((x) => x.hook.includes(`after`)).map((x) => x.commands) || ' '}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static get SetupCommands() {
|
private static get SetupCommands() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue