check for startup message in workflows

This commit is contained in:
Frostebite 2023-05-07 16:35:38 +01:00
parent 99622068d7
commit 5208eabcbf
3 changed files with 1 additions and 0 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -16,6 +16,7 @@ import BuildParameters from '../../build-parameters';
export class RemoteClient {
@CliFunction(`remote-cli-pre-build`, `sets up a repository, usually before a game-ci build`)
static async runRemoteClientJob() {
await CloudRunnerSystem.Run(`sudo sysctl kernel.dmesg_restrict=0`, false, true);
assert(
(await CloudRunnerSystem.Run(`dmesg`, false, true)).includes(`cloud runner build workflow starting`),
'System logs must include startup message',