K8s task loop, fail early
parent
bda5fb6b39
commit
2c80fce95d
|
|
@ -4384,7 +4384,8 @@ class Caching {
|
||||||
static PullFromCache(cacheFolder, destinationFolder, cacheArtifactName = ``) {
|
static PullFromCache(cacheFolder, destinationFolder, cacheArtifactName = ``) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (cloud_runner_1.default.buildParameters.cloudRunnerDebugSkipCache) {
|
if (cloud_runner_1.default.buildParameters.cloudRunnerDebugSkipCache) {
|
||||||
return new Promise((resolve) => resolve);
|
yield new Promise((resolve) => resolve);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
||||||
let compressionSuffix = '';
|
let compressionSuffix = '';
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -103,7 +103,9 @@ export class Caching {
|
||||||
}
|
}
|
||||||
public static async PullFromCache(cacheFolder: string, destinationFolder: string, cacheArtifactName: string = ``) {
|
public static async PullFromCache(cacheFolder: string, destinationFolder: string, cacheArtifactName: string = ``) {
|
||||||
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
||||||
return new Promise((resolve) => resolve);
|
await new Promise((resolve) => resolve);
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
||||||
let compressionSuffix = '';
|
let compressionSuffix = '';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue