Skip to content

context-set

Set or Clear BaseContext on Machine

This task allows stages to change the BaseContext for a machine as part of a larger workflow.

This is especially helpful creating a new machine using an endpoint context, such as Terraform to create a machine, and then allowing the machine to transition to a runner when it starts.

To code is written to allow both clearing BaseContext (set to "") or setting to a known value. If setting to a value, code ensures that the Context exits.

Objects that Reference context-set

Objects used by context-set