aws/k8s smoke test

pull/496/head
Frostebite 2023-02-24 21:22:59 +00:00
parent c80090b718
commit 614231a360
3 changed files with 6 additions and 1 deletions

3
dist/index.js generated vendored
View File

@ -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;
}); });
} }

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -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;