You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action runners allow configuring pre/post job hooks. This is officially intended for administrators to configure custom scripts to be invoked at the start/end of every job.
Prior to release 5.12.2, this configuration via terraform was not possible for reasons outlined here
The internal hook was removed in bbcb470, as a consequence, it is possible to configure the hook with the userdata_post_install option (but in a rather obscure way) as explained here.
This is still error prone as the user might not be aware "if" an internal hook is set in start-runner.sh similar to versions prior 5.12.2.
I personally prefer the transparency in config options that is there today like userdata_template as the user is clearly made aware that they are "replacing" the default template.
Requesting to add out of the box configuration options to set ACTIONS_RUNNER_HOOK_JOB_STARTED and ACTIONS_RUNNER_HOOK_JOB_COMPLETED hooks.
…bs#4260)
Pre and post job hooks were added to github actions to help
administrators run custom scripts at the beginning and end of every job.
As of today the module doesn't support these options out of the box.
Add variables to accept these optional scripts and register the hook in
user-data.
Also enrich linux-arm64 example in multi-runner with pre/post hooks
Related to: philips-labs#3854
Action runners allow configuring pre/post job hooks. This is officially intended for administrators to configure custom scripts to be invoked at the start/end of every job.
Refer official ADR: Notification Hooks for Runners
Prior to release
5.12.2
, this configuration via terraform was not possible for reasons outlined hereThe internal hook was removed in bbcb470, as a consequence, it is possible to configure the hook with the
userdata_post_install
option (but in a rather obscure way) as explained here.This is still error prone as the user might not be aware "if" an internal hook is set in
start-runner.sh
similar to versions prior5.12.2
.I personally prefer the transparency in config options that is there today like
userdata_template
as the user is clearly made aware that they are "replacing" the default template.Requesting to add out of the box configuration options to set
ACTIONS_RUNNER_HOOK_JOB_STARTED
andACTIONS_RUNNER_HOOK_JOB_COMPLETED
hooks.Related to: #3854
I'm happy to contribute if there is a decision to move ahead with the feature request.
The text was updated successfully, but these errors were encountered: