check for startup message in workflows
parent
99622068d7
commit
5208eabcbf
|
@ -4312,6 +4312,7 @@ const github_1 = __importDefault(__nccwpck_require__(83654));
|
|||
const build_parameters_1 = __importDefault(__nccwpck_require__(80787));
|
||||
class RemoteClient {
|
||||
static async runRemoteClientJob() {
|
||||
await cloud_runner_system_1.CloudRunnerSystem.Run(`sudo sysctl kernel.dmesg_restrict=0`, false, true);
|
||||
node_console_1.assert((await cloud_runner_system_1.CloudRunnerSystem.Run(`dmesg`, false, true)).includes(`cloud runner build workflow starting`), 'System logs must include startup message');
|
||||
cloud_runner_logger_1.default.log(`bootstrap game ci cloud runner...`);
|
||||
if (!(await RemoteClient.handleRetainedWorkspace())) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue