garm/contrib/providers.d/openstack
Gabriel Adrian Samfira a078645ab2
Add token endpoint
This change adds a github registration endpoint that instances can use
to fetch a github registration token.

This change also invalidates disables access to an instance to the token
and status updates endpoints once the instance transitions from
"pending" or "installing" to any other state.
2022-12-01 18:00:22 +02:00
..
cloudconfig Add token endpoint 2022-12-01 18:00:22 +02:00
garm-external-provider Add token endpoint 2022-12-01 18:00:22 +02:00
keystonerc Add external providers and an example 2022-05-09 17:11:47 +00:00
README.md Make external provider less opinionated about executable 2022-07-16 18:00:07 +00:00

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)