* The `{{ .RunnerUsername }}` is not replaced in any external providers' scripts.
However, we can safely assume that the username is properly created by
cloud-init before the userdata is executed.
* Correctly use the `OS_TO_GH_ARCH_MAP` bash map.
Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
|
||
|---|---|---|
| .. | ||
| cloudconfig | ||
| garm-external-provider | ||
| keystonerc | ||
| README.md | ||
OpenStack external provider for garm
This is an example external provider, written for OpenStack. It is a simple bash script that implements the external provider interface, in order to supply garm with compute instances. This is just an example, complete with a sample config file.
Not all functions are implemented, just the bare minimum to get it to work with the current feature set of garm. It is not meant for production, as it needs a lot more error checking, retries, and potentially more flexibility to be of any use in a real environment.
Images that are used with garm require the following properties set on the image:
- os_type (one of: windows, linux)
- os_distro
- os_version
- architecture (one of: x86_64, armv7l, mips64, mips64el, mips, mipsel)