diff --git a/dist/index.js b/dist/index.js index 6a5f9dc..398bc79 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49661,13 +49661,13 @@ async function getRunner(label) { } async function waitForRunnerRegistered(label) { - const timeoutSeconds = 300 + const timeoutSeconds = 900 const retryIntervalSeconds = 10 const quietPeriodSeconds = 30 let waitSeconds = 0 core.info( - `Waiting ${quietPeriodSeconds}s for the AWS EC2 instance to be registered in GitHub as a new self-hosted runner` + `Waiting ${quietPeriodSeconds}s for ${config.input.backend} instance to be registered in GitHub as a new self-hosted runner` ) await utils.sleep(quietPeriodSeconds) core.info( @@ -49691,7 +49691,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your ${config.input.backend} instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') } diff --git a/src/gh.js b/src/gh.js index ca1e134..ec67c70 100644 --- a/src/gh.js +++ b/src/gh.js @@ -25,13 +25,13 @@ async function getRunner(label) { } async function waitForRunnerRegistered(label) { - const timeoutSeconds = 300 + const timeoutSeconds = 900 const retryIntervalSeconds = 10 const quietPeriodSeconds = 30 let waitSeconds = 0 core.info( - `Waiting ${quietPeriodSeconds}s for the AWS EC2 instance to be registered in GitHub as a new self-hosted runner` + `Waiting ${quietPeriodSeconds}s for ${config.input.backend} instance to be registered in GitHub as a new self-hosted runner` ) await utils.sleep(quietPeriodSeconds) core.info( @@ -55,7 +55,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your ${config.input.backend} instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') }