Skip to content

context-set

Creates a critical alert if a bootstrap Task failure occurs.

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.