Skip to main content

Environments

Settings → Environments lists the organization's environments, with name, color and branch. The concept is in Environments and secrets.

Execution environments (Production and Staging)

Create and edit​

Click New environment and fill in:

FieldRule
Nameunique within the organization. Schedules and kadu.yaml find the environment by it.
Coloridentifies the environment in the top bar.
Branchthe branch used by executions in this environment.

Delete​

An environment with secrets or schedules cannot be deleted. Remove them first.

Environments declared in the repository​

When the repository's kadu.yaml declares an environment, the repository is the source of truth:

  • the declared color and branch revert to the file's value on the next push if they are edited here;
  • an environment created by the repository disappears when it leaves the file (unless it still has secrets or schedules);
  • an environment created here is never deleted by the repository, even if the file stops mentioning it.

See The kadu.yaml.

Through the API: /v1/environments.