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