Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs
parent
141fd46c08
commit
d3390f85ce
|
|
@ -3235,7 +3235,7 @@ class BuildAutomationWorkflow {
|
|||
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? '' : '#'} tree ${cloud_runner_folders_1.CloudRunnerFolders.builderPathFull.replace(/\\/g, `/`)}
|
||||
chmod +x ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)}
|
||||
echo "caching"
|
||||
ls ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist')}
|
||||
ls ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist').replace(/\\/g, `/`)}
|
||||
node ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)} -m remote-cli`;
|
||||
}
|
||||
static get BuildCommands() {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -38,6 +38,7 @@ describe('Cloud Runner', () => {
|
|||
Input.githubInputEnabled = false;
|
||||
// setup parameters
|
||||
const buildParameter = await BuildParameters.create();
|
||||
Input.githubInputEnabled = true;
|
||||
const baseImage = new ImageTag(buildParameter);
|
||||
// run the job
|
||||
const file = await CloudRunner.run(buildParameter, baseImage.toString());
|
||||
|
|
@ -73,7 +74,6 @@ describe('Cloud Runner', () => {
|
|||
expect(results).toContain(libraryString);
|
||||
const results2 = await CloudRunner.run(buildParameter, baseImage.toString());
|
||||
expect(results2).toEqual(expect.not.stringContaining(libraryString));
|
||||
Input.githubInputEnabled = true;
|
||||
}, 1000000);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
} tree ${CloudRunnerFolders.builderPathFull.replace(/\\/g, `/`)}
|
||||
chmod +x ${path.join(CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)}
|
||||
echo "caching"
|
||||
ls ${path.join(CloudRunnerFolders.builderPathFull, 'dist')}
|
||||
ls ${path.join(CloudRunnerFolders.builderPathFull, 'dist').replace(/\\/g, `/`)}
|
||||
node ${path.join(CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)} -m remote-cli`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue