Public components and supporting tools for the Nuon runner.
The scripts
directory contains scripts that are executed as part of the runner's bootstrapping processes, when other more standard mechanisms are not available.
This script is set as the UserData for runner EC2 instances, causing it to be run on exactly once on first boot.
The script installs docker and the cloudwatch agent, then sets up a systemd service that fetches the latest image of Nuon's runner and sets it to restart always.
Eventually, this script will be modified to offer more control over runner version.
This script is triggered as a lambda on success or failure of Cloudformation stack creation. It tells the Nuon control plane that a new runner now exists, and reports information that is necessary for subsequent runner bootstrapping and day-to-day operation (e.g. ARNs for IAM roles the runner needs to assume).