Releases: erhhung/ec2-github-runner
Release list
v4.0
v3.1
Downstream changes
In addition to the changes already listed in the previous release, v3.0, the following changes were made in this version, v3.1:
-
Added option to assign public IP address to the EC2 instance (
assign-public-ipinput). -
Updated the required IAM user permissions in the README file.
v3.0
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-instanceinput). -
Added options to specify the type and size of the root EBS volume (
root-volume-device,root-volume-type, androot-volume-sizeinputs). -
Dropped the
ec2-prefix on inputs and outputs with that prefix (ec2-image-id,ec2-instance-type, andec2-instance-id). -
Renamed
labelinput tolabelsto accept one or more labels (as CSV) to pass to the runner'sconfig.shscript. Thelabeloutput is similarly renamed tolabelsand is the set of input labels, if any, plus a randomly generated ID. -
Regardless if any resource tags were provided as input, an AWS
Labelstag 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-scriptinput can span more than one line (improved the creation of thepre-runner-script.shfile), and that script will get sourced in a Bash shell with-euo pipefailoptions. -
Added
--unattendedas an extra parameter to the runner'sconfig.shscript (see issue #197). -
Added
runner-nameoutput. 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.