check for startup message in workflows
parent
df3f3df277
commit
88f6a6dfa6
|
@ -4312,8 +4312,7 @@ const github_1 = __importDefault(__nccwpck_require__(83654));
|
||||||
const build_parameters_1 = __importDefault(__nccwpck_require__(80787));
|
const build_parameters_1 = __importDefault(__nccwpck_require__(80787));
|
||||||
class RemoteClient {
|
class RemoteClient {
|
||||||
static async runRemoteClientJob() {
|
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(`cat /var/log/syslog`, false, true)).includes(`cloud runner build workflow starting`), 'System logs must include startup message');
|
||||||
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...`);
|
cloud_runner_logger_1.default.log(`bootstrap game ci cloud runner...`);
|
||||||
if (!(await RemoteClient.handleRetainedWorkspace())) {
|
if (!(await RemoteClient.handleRetainedWorkspace())) {
|
||||||
await RemoteClient.bootstrapRepository();
|
await RemoteClient.bootstrapRepository();
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue