fix module ref
parent
cc48457486
commit
8e194cb56c
|
|
@ -4042,14 +4042,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.CloudRunnerFolders = void 0;
|
exports.CloudRunnerFolders = void 0;
|
||||||
const path_1 = __importDefault(__nccwpck_require__(71017));
|
const path_1 = __importDefault(__nccwpck_require__(71017));
|
||||||
const __1 = __nccwpck_require__(41359);
|
const cloud_runner_1 = __importDefault(__nccwpck_require__(79144));
|
||||||
class CloudRunnerFolders {
|
class CloudRunnerFolders {
|
||||||
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
||||||
static get uniqueCloudRunnerJobFolderAbsolute() {
|
static get uniqueCloudRunnerJobFolderAbsolute() {
|
||||||
return path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, __1.CloudRunner.buildParameters.buildGuid);
|
return path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, cloud_runner_1.default.buildParameters.buildGuid);
|
||||||
}
|
}
|
||||||
static get cacheFolderFull() {
|
static get cacheFolderFull() {
|
||||||
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, __1.CloudRunner.buildParameters.cacheKey);
|
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, cloud_runner_1.default.buildParameters.cacheKey);
|
||||||
}
|
}
|
||||||
static get builderPathAbsolute() {
|
static get builderPathAbsolute() {
|
||||||
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, `builder`);
|
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, `builder`);
|
||||||
|
|
@ -4058,13 +4058,13 @@ class CloudRunnerFolders {
|
||||||
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, CloudRunnerFolders.repositoryFolder);
|
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, CloudRunnerFolders.repositoryFolder);
|
||||||
}
|
}
|
||||||
static get projectPathAbsolute() {
|
static get projectPathAbsolute() {
|
||||||
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, __1.CloudRunner.buildParameters.projectPath);
|
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, cloud_runner_1.default.buildParameters.projectPath);
|
||||||
}
|
}
|
||||||
static get libraryFolderAbsolute() {
|
static get libraryFolderAbsolute() {
|
||||||
return path_1.default.join(CloudRunnerFolders.projectPathAbsolute, `Library`);
|
return path_1.default.join(CloudRunnerFolders.projectPathAbsolute, `Library`);
|
||||||
}
|
}
|
||||||
static get projectBuildFolderAbsolute() {
|
static get projectBuildFolderAbsolute() {
|
||||||
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, __1.CloudRunner.buildParameters.buildPath);
|
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, cloud_runner_1.default.buildParameters.buildPath);
|
||||||
}
|
}
|
||||||
static get lfsFolderAbsolute() {
|
static get lfsFolderAbsolute() {
|
||||||
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, `.git`, `lfs`);
|
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, `.git`, `lfs`);
|
||||||
|
|
@ -4079,10 +4079,10 @@ class CloudRunnerFolders {
|
||||||
return path_1.default.join(CloudRunnerFolders.cacheFolderFull, `Library`);
|
return path_1.default.join(CloudRunnerFolders.cacheFolderFull, `Library`);
|
||||||
}
|
}
|
||||||
static get unityBuilderRepoUrl() {
|
static get unityBuilderRepoUrl() {
|
||||||
return `https://${__1.CloudRunner.buildParameters.gitPrivateToken}@github.com/game-ci/unity-builder.git`;
|
return `https://${cloud_runner_1.default.buildParameters.gitPrivateToken}@github.com/game-ci/unity-builder.git`;
|
||||||
}
|
}
|
||||||
static get targetBuildRepoUrl() {
|
static get targetBuildRepoUrl() {
|
||||||
return `https://${__1.CloudRunner.buildParameters.gitPrivateToken}@github.com/${__1.CloudRunner.buildParameters.githubRepo}.git`;
|
return `https://${cloud_runner_1.default.buildParameters.gitPrivateToken}@github.com/${cloud_runner_1.default.buildParameters.githubRepo}.git`;
|
||||||
}
|
}
|
||||||
static get buildVolumeFolder() {
|
static get buildVolumeFolder() {
|
||||||
return 'data';
|
return 'data';
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { CloudRunner } from '../..';
|
import CloudRunner from './../cloud-runner';
|
||||||
|
|
||||||
export class CloudRunnerFolders {
|
export class CloudRunnerFolders {
|
||||||
public static readonly repositoryFolder = 'repo';
|
public static readonly repositoryFolder = 'repo';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue