Managing a Stack

Stacks expose a nice set of tooling for customization.

Build Variables

Use the stack build variables form to set default build variables for the given stack.

build variables form

The default variables table has two columns Variable and Value where the variable must match exactly a variable defined on the stack.

These fields do not auto-populate because the platform has no concept of what is "currently" defined on the stack until the build is created. Therefore, these entries must be made individually.

Settings

If updating the git repo section, be sure to update all fields necessary as changing a branch can impact a tag (or vice versa). The stack file name default will always look for a cycle.json file in the root of the repo. If that changes users can adjust the filename change in this field.

The stack ID is located here for convenience and has a user friendly copy button available at the end of its row.

Access Controls

To enable access controls, use the toggle next to the field and a form will expand.

stacks acl

If the access controls section is enabled, the Roles portion of the form must include at least 1 role or the platform will return an error to the user. After Selecting the roles, the user will need to add the appropriate access controls using the checkboxes.

Deleting a Stack

If a stack build has images that are being used for a currently deployed container, the stack will not be able to be deleted.

To delete the stack, use the form and submit.