Custom script for machine provisioner builds
J
Jinsoo Oh
We're interested in tagging our CircleCI runners depending on what Github organization and what Github repository the job is running in. We're able to achieve this in self hosted runners via "command_prefix", but for machine provisioner builds, we haven't found a way to do it.
If there was a custom script that we could run that can read the CircleCI job environments on machine provisioner builds, this would allow us to create a script to tag the EC2 machine accordingly. This script can live in the machine provisioner runner's AMI.