aws/k8s smoke test
parent
c80090b718
commit
614231a360
|
@ -5926,6 +5926,9 @@ class SharedWorkspaceLocking {
|
||||||
if (hasLock) {
|
if (hasLock) {
|
||||||
cloud_runner_1.default.lockedWorkspace = workspace;
|
cloud_runner_1.default.lockedWorkspace = workspace;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
yield SharedWorkspaceLocking.ReleaseWorkspace(workspace, runId, buildParametersContext);
|
||||||
|
}
|
||||||
return hasLock;
|
return hasLock;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -266,6 +266,8 @@ export class SharedWorkspaceLocking {
|
||||||
|
|
||||||
if (hasLock) {
|
if (hasLock) {
|
||||||
CloudRunner.lockedWorkspace = workspace;
|
CloudRunner.lockedWorkspace = workspace;
|
||||||
|
} else {
|
||||||
|
await SharedWorkspaceLocking.ReleaseWorkspace(workspace, runId, buildParametersContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
return hasLock;
|
return hasLock;
|
||||||
|
|
Loading…
Reference in New Issue