Only allow ephemeral runners when using cloud runner integration tests flag to avoid unexpected hangup
parent
a47d096f5c
commit
6668e1133e
|
|
@ -1360,7 +1360,8 @@ class AWSTaskRunner {
|
||||||
core.setFailed('unity build failed');
|
core.setFailed('unity build failed');
|
||||||
core.error('BUILD FAILED!');
|
core.error('BUILD FAILED!');
|
||||||
}
|
}
|
||||||
else if (message.includes(': Listening for Jobs')) {
|
else if (cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests &&
|
||||||
|
message.includes(': Listening for Jobs')) {
|
||||||
core.setOutput('cloud runner stop watching', 'true');
|
core.setOutput('cloud runner stop watching', 'true');
|
||||||
shouldReadLogs = false;
|
shouldReadLogs = false;
|
||||||
shouldCleanup = false;
|
shouldCleanup = false;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -222,7 +222,10 @@ class AWSTaskRunner {
|
||||||
core.setOutput('build-result', 'failed');
|
core.setOutput('build-result', 'failed');
|
||||||
core.setFailed('unity build failed');
|
core.setFailed('unity build failed');
|
||||||
core.error('BUILD FAILED!');
|
core.error('BUILD FAILED!');
|
||||||
} else if (message.includes(': Listening for Jobs')) {
|
} else if (
|
||||||
|
CloudRunner.buildParameters.cloudRunnerIntegrationTests &&
|
||||||
|
message.includes(': Listening for Jobs')
|
||||||
|
) {
|
||||||
core.setOutput('cloud runner stop watching', 'true');
|
core.setOutput('cloud runner stop watching', 'true');
|
||||||
shouldReadLogs = false;
|
shouldReadLogs = false;
|
||||||
shouldCleanup = false;
|
shouldCleanup = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue