You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add hooks for prebuilt images (AMI), including amazon linux packer example (#1444)
* Initial creation of runner image
* Refactored startup script and added it to the per-boot folder
* Make the runner location a variable
So we can pass the runner version in at packer build time if we want to update the runner version.
* Retrieve external config setting via tags
Retrieve the required config via the instance tags so we dont have to pass in and set environment on the instance in an awkward way.
* Enable tag based config
Give the instance the permission to query its own tags and set the correct tags on the instance.
* Add a CI job
* Fix the CI build
* Fix the formatting
* Retain user_data provisioning and remove duplication
refactored to make sure user_data continues to work with minimal breaking changes.
Use a single set of scripts shared between image and user_data provisioning.
* Fix interpolation issues in template file
* fix build
* Fix formatting
* minor tweaks and fixes
* Fixes from testing
* Enable docker on boot
* Add in output of start time for the runner
* Scoop up the runner log
* Add a powershell build script for windows users
* Fix formatting
* Use SSM parameters for configuration
Its best practice to use SSM parameters for configuration of the runners. In adding this i have also added parameter path based config so its easy to extend in the future.
* Make the SSM policy more specific
* Update .github/workflows/packer-build.yml
Co-authored-by: Niek Palm <[email protected]>
* Added condition to the describe tags policy
* Dont use templatefile on the tags policy
Because of the use of ${} in the policy terraform is trying to replace it.
* Added an option to turn off userdata scripting
* Added/updated documentation
* Revert policy as it has no effect on the permissions
* Add reference to prebuilt images in the main readme
* Add an example of deploying with prebuilt images
* Update readme
* Use current user as ami_owner
* Update example to 5 secs
* Updated ami name to include the arch
* Fixed log file variable
* Added explicit info about required settings to the readme
* Change userdata_enabled to enabled_userdata
Keep within existing naming convention
Co-authored-by: Niek Palm <[email protected]>
0 commit comments