openshift-actions-runners icon indicating copy to clipboard operation
openshift-actions-runners copied to clipboard

Add support for RUNNER_NAME

Open jkupferer opened this issue 6 months ago • 0 comments

Description

Add support to set the GitHub runner name by use of RUNNER_NAME environment variable while maintaining default to hostname.

Related Issue(s)

#35

Checklist

  • [x ] This PR includes a documentation change
  • [ ] This PR does not need a documentation change

  • [ ] This PR includes test changes
  • [ x] This PR's changes are already tested

  • [ ] This change is not user-facing
  • [ ] This change is a patch change
  • [ x] This change is a minor change
  • [ ] This change is a major (breaking) change

Changes made

Update register.sh to default the runner name to environment variable RUNNER_NAME with default to hostname.

jkupferer avatar Aug 30 '24 13:08 jkupferer