mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
check for startup message in workflows
This commit is contained in:
parent
5208eabcbf
commit
df3f3df277
@ -16,9 +16,10 @@ 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`),
|
||||
(await CloudRunnerSystem.Run(`cat /var/log/syslog`, false, true)).includes(
|
||||
`cloud runner build workflow starting`,
|
||||
),
|
||||
'System logs must include startup message',
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user