Skip to content

Commit

Permalink
quick fix for install runner failing and doing a graceful shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed Dec 17, 2024
1 parent 2077495 commit 97407ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.1
0.11.2
4 changes: 2 additions & 2 deletions plugins/handlers/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,9 +919,9 @@ func Run(
logger.DebugContext(pluginCtx, "installing github runner inside of vm")
installRunnerErr = ankaCLI.AnkaRun(pluginCtx, "./install-runner.bash")
if installRunnerErr != nil {
// logger.ErrorContext(pluginCtx, "error executing install-runner.bash", "err", installRunnerErr)
logger.ErrorContext(pluginCtx, "error executing install-runner.bash", "err", installRunnerErr)
retryChannel <- true
return pluginCtx, fmt.Errorf("error executing install-runner.bash: %s", installRunnerErr.Error())
return pluginCtx, nil // do not return error here; curl can fail and we need to retry
}
// Register runner
select {
Expand Down

0 comments on commit 97407ba

Please sign in to comment.