mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
* feat: allow to discover runner statuses * fix manifests * Bump runner version to 2.289.1 which includes the hooks support * Add feedback from review * Update reference to newRunnerPod * Fix TestNewRunnerPodFromRunnerController and make hooks file names job specific * Fix additional TestNewRunnerPod test * Cover additional feedback from review * fix rbac manager role * Add permissions to service account for container mode if not provided * Rename flag to runner.statusUpdateHook.enabled and fix needsServiceAccount Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
13 lines
243 B
Bash
13 lines
243 B
Bash
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
|
|
# shellcheck source=runner/logger.bash
|
|
source logger.bash
|
|
|
|
log.debug "Running ARC Job Started Hooks"
|
|
|
|
for hook in /etc/arc/hooks/job-started.d/*; do
|
|
log.debug "Running hook: $hook"
|
|
"$hook" "$@"
|
|
done
|