cleanup
parent
f63e8b279c
commit
5568402e54
|
|
@ -309,7 +309,6 @@ class BuildParameters {
|
||||||
cloudRunnerBranch: input_1.default.cloudRunnerBranch.split('/').reverse()[0],
|
cloudRunnerBranch: input_1.default.cloudRunnerBranch.split('/').reverse()[0],
|
||||||
cloudRunnerIntegrationTests: input_1.default.cloudRunnerTests,
|
cloudRunnerIntegrationTests: input_1.default.cloudRunnerTests,
|
||||||
githubRepo: input_1.default.githubRepo || (yield git_repo_1.GitRepoReader.GetRemote()) || 'game-ci/unity-builder',
|
githubRepo: input_1.default.githubRepo || (yield git_repo_1.GitRepoReader.GetRemote()) || 'game-ci/unity-builder',
|
||||||
remoteBuildCluster: input_1.default.cloudRunnerCluster,
|
|
||||||
cliMode: cli_1.CLI.cliMode,
|
cliMode: cli_1.CLI.cliMode,
|
||||||
awsStackName: input_1.default.awsBaseStackName,
|
awsStackName: input_1.default.awsBaseStackName,
|
||||||
gitSha: input_1.default.gitSha,
|
gitSha: input_1.default.gitSha,
|
||||||
|
|
@ -659,9 +658,6 @@ class Caching {
|
||||||
if (cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests) {
|
if (cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests) {
|
||||||
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)} ${sourceFolder} ${path_1.default.basename(sourceFolder)}`);
|
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)} ${sourceFolder} ${path_1.default.basename(sourceFolder)}`);
|
||||||
}
|
}
|
||||||
if (cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests) {
|
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls ${path_1.default.basename(sourceFolder)}`);
|
|
||||||
}
|
|
||||||
// eslint-disable-next-line func-style
|
// eslint-disable-next-line func-style
|
||||||
const formatFunction = function (format) {
|
const formatFunction = function (format) {
|
||||||
const arguments_ = Array.prototype.slice.call([path_1.default.resolve(sourceFolder, '..'), cacheFolder, cacheKey], 1);
|
const arguments_ = Array.prototype.slice.call([path_1.default.resolve(sourceFolder, '..'), cacheFolder, cacheKey], 1);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -36,7 +36,6 @@ class BuildParameters {
|
||||||
public cloudRunnerCluster!: string;
|
public cloudRunnerCluster!: string;
|
||||||
public awsBaseStackName!: string;
|
public awsBaseStackName!: string;
|
||||||
public gitPrivateToken!: string;
|
public gitPrivateToken!: string;
|
||||||
public remoteBuildCluster!: string;
|
|
||||||
public awsStackName!: string;
|
public awsStackName!: string;
|
||||||
public kubeConfig!: string;
|
public kubeConfig!: string;
|
||||||
public cloudRunnerMemory!: string;
|
public cloudRunnerMemory!: string;
|
||||||
|
|
@ -135,7 +134,6 @@ class BuildParameters {
|
||||||
cloudRunnerBranch: Input.cloudRunnerBranch.split('/').reverse()[0],
|
cloudRunnerBranch: Input.cloudRunnerBranch.split('/').reverse()[0],
|
||||||
cloudRunnerIntegrationTests: Input.cloudRunnerTests,
|
cloudRunnerIntegrationTests: Input.cloudRunnerTests,
|
||||||
githubRepo: Input.githubRepo || (await GitRepoReader.GetRemote()) || 'game-ci/unity-builder',
|
githubRepo: Input.githubRepo || (await GitRepoReader.GetRemote()) || 'game-ci/unity-builder',
|
||||||
remoteBuildCluster: Input.cloudRunnerCluster,
|
|
||||||
cliMode: CLI.cliMode,
|
cliMode: CLI.cliMode,
|
||||||
awsStackName: Input.awsBaseStackName,
|
awsStackName: Input.awsBaseStackName,
|
||||||
gitSha: Input.gitSha,
|
gitSha: Input.gitSha,
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,6 @@ export class Caching {
|
||||||
)}`,
|
)}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CloudRunner.buildParameters.cloudRunnerIntegrationTests) {
|
|
||||||
await CloudRunnerSystem.Run(`ls ${path.basename(sourceFolder)}`);
|
|
||||||
}
|
|
||||||
// eslint-disable-next-line func-style
|
// eslint-disable-next-line func-style
|
||||||
const formatFunction = function (format: string) {
|
const formatFunction = function (format: string) {
|
||||||
const arguments_ = Array.prototype.slice.call([path.resolve(sourceFolder, '..'), cacheFolder, cacheKey], 1);
|
const arguments_ = Array.prototype.slice.call([path.resolve(sourceFolder, '..'), cacheFolder, cacheKey], 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue