Releases: erhhung/ec2-github-runner
v3
Downstream changes
The following changes were made in this fork of the upstream GitHub repo machulav/ec2-github-runner:
-
Migrated use of AWS SDK for JavaScript from v2 to v3 to suppress deprecation warnings.
-
Added option to launch the EC2 instance as a Spot instance (
spot-instance
input). -
Added options to specify the type and size of the root EBS volume (
root-volume-device
,root-volume-type
, androot-volume-size
inputs). -
Dropped the
ec2-
prefix on inputs and outputs with that prefix (ec2-
image-id
,ec2-
instance-type
, andec2-
instance-id
). -
Renamed
label
input tolabels
to accept one or more labels (as CSV) to pass to the runner'sconfig.sh
script. Thelabel
output is similarly renamed tolabels
and is the set of input labels, if any, plus a randomly generated ID. -
Regardless if any resource tags were provided as input, an AWS
Labels
tag will always be added that includes any input labels plus the unique, generated label. -
EC2 instance user data script will always install the latest version of the GitHub Actions Runner (this may or may not cause an issue).
-
pre-runner-script
input can span more than one line (improved the creation of thepre-runner-script.sh
file), and that script will get sourced in a Bash shell with-euo pipefail
options. -
Added
--unattended
as an extra parameter to the runner'sconfig.sh
script (see issue #197). -
Added
runner-name
output. It is the EC2 instance hostname, which may be customized by thepre-runner-script
.
NOTE: Due to the renaming of inputs and outputs, the major version (at time of fork) has been bumped from the upstream release to v3
.