Environment Definition

Defining an environment simply requires associating an image repository

Kaspian Environments are effectively containers in which jobs run. In order to use Environments, you must have defined an image repository through a service like Amazon Elastic Container Registry (ECR) or DockerHub. Environments are configured in the Settings > Environments tab on the left-hand side. Click on the + symbol next to New Environment. Creating an Environment requires first specifying the following fields:

  • Name: User-friendly name of the environment
  • Description: A longer text field for describing the purpose of the environment
  • Image Repository: URI for an image repository. An example of an ECR repo would be 123456789012.dkr.ecr.us-east-1.amazonaws.com/app-name

Each Environment is associated with an image repository. Once an Environment is defined, you may submit builds jobs to actually populate the repository. Once a build job has been successfully run, the Status field of the Environment will change from Invalid to Valid.

Only Environments with the Valid status can be used for running compute jobs.