import cli methods
parent
17fb1babfc
commit
07e9b719ac
|
|
@ -2932,6 +2932,9 @@ class CloudRunnerFolders {
|
||||||
static get libraryFolderFull() {
|
static get libraryFolderFull() {
|
||||||
return path_1.default.join(CloudRunnerFolders.projectPathFull, `Library`);
|
return path_1.default.join(CloudRunnerFolders.projectPathFull, `Library`);
|
||||||
}
|
}
|
||||||
|
static get projectBuildFolderFull() {
|
||||||
|
return path_1.default.join(CloudRunnerFolders.projectPathFull, `build`);
|
||||||
|
}
|
||||||
static get lfsDirectoryFull() {
|
static get lfsDirectoryFull() {
|
||||||
return path_1.default.join(CloudRunnerFolders.repoPathFull, `.git`, `lfs`);
|
return path_1.default.join(CloudRunnerFolders.repoPathFull, `.git`, `lfs`);
|
||||||
}
|
}
|
||||||
|
|
@ -3568,9 +3571,9 @@ class BuildAutomationWorkflow {
|
||||||
/entrypoint.sh
|
/entrypoint.sh
|
||||||
echo "game ci cloud runner push library to cache"
|
echo "game ci cloud runner push library to cache"
|
||||||
chmod +x ${builderPath}
|
chmod +x ${builderPath}
|
||||||
node ${builderPath} -m cache-push --cachePushFrom Library --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
node ${builderPath} -m cache-push --cachePushFrom ${cloud_runner_folders_1.CloudRunnerFolders.libraryFolderFull} --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
||||||
echo "game ci cloud runner push build to cache"
|
echo "game ci cloud runner push build to cache"
|
||||||
node ${builderPath} -m cache-push --cachePushFrom build --artifactName build-${guid} --cachePushTo ${linuxCacheFolder}/build`;
|
node ${builderPath} -m cache-push --cachePushFrom ${cloud_runner_folders_1.CloudRunnerFolders.projectBuildFolderFull} --artifactName build-${guid} --cachePushTo ${linuxCacheFolder}/build`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.BuildAutomationWorkflow = BuildAutomationWorkflow;
|
exports.BuildAutomationWorkflow = BuildAutomationWorkflow;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -35,6 +35,10 @@ export class CloudRunnerFolders {
|
||||||
return path.join(CloudRunnerFolders.projectPathFull, `Library`);
|
return path.join(CloudRunnerFolders.projectPathFull, `Library`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static get projectBuildFolderFull(): string {
|
||||||
|
return path.join(CloudRunnerFolders.projectPathFull, `build`);
|
||||||
|
}
|
||||||
|
|
||||||
public static get lfsDirectoryFull(): string {
|
public static get lfsDirectoryFull(): string {
|
||||||
return path.join(CloudRunnerFolders.repoPathFull, `.git`, `lfs`);
|
return path.join(CloudRunnerFolders.repoPathFull, `.git`, `lfs`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,12 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
||||||
/entrypoint.sh
|
/entrypoint.sh
|
||||||
echo "game ci cloud runner push library to cache"
|
echo "game ci cloud runner push library to cache"
|
||||||
chmod +x ${builderPath}
|
chmod +x ${builderPath}
|
||||||
node ${builderPath} -m cache-push --cachePushFrom Library --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
node ${builderPath} -m cache-push --cachePushFrom ${
|
||||||
|
CloudRunnerFolders.libraryFolderFull
|
||||||
|
} --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
||||||
echo "game ci cloud runner push build to cache"
|
echo "game ci cloud runner push build to cache"
|
||||||
node ${builderPath} -m cache-push --cachePushFrom build --artifactName build-${guid} --cachePushTo ${linuxCacheFolder}/build`;
|
node ${builderPath} -m cache-push --cachePushFrom ${
|
||||||
|
CloudRunnerFolders.projectBuildFolderFull
|
||||||
|
} --artifactName build-${guid} --cachePushTo ${linuxCacheFolder}/build`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue