Skip to content

Releases: erhhung/ec2-github-runner

v3

16 Aug 00:16
v3
d92e65e
Compare
Choose a tag to compare

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, and root-volume-size inputs).

  • Dropped the ec2- prefix on inputs and outputs with that prefix (ec2-image-id, ec2-instance-type, and ec2-instance-id).

  • Renamed label input to labels to accept one or more labels (as CSV) to pass to the runner's config.sh script. The label output is similarly renamed to labels 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 the pre-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's config.sh script (see issue #197).

  • Added runner-name output. It is the EC2 instance hostname, which may be customized by the pre-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.