Skip to content

Environment deployment

Deploying environments

Environments are deployed using Concourse CI/CD tool. Each environemnt has its own set of credentials and a team in the Concourse.

To create the whole environment follow the steps:

  1. Log in to Concourse using team credentials.

Concourse address is concourse.[opscontrol_base_domain], for example if the base domain is set to opscontrol.cloudboostr.int the concourse address would be concourse.opscontrol.cloudboostr.int.

Credentials

Teams credentials are available in Vault. To access the data SSH to jumpbox, run cb to start local container and use following commands in that container:

```bash
export ENV_NAME="env1-test"
vault_login
vault_kv_get_secret /uber_pipeline/${ENV_NAME}/concourse_password
```

If you don't know the team names it is possible to get main user credentials:

```bash
export ENV_NAME="main"
vault_login
vault_kv_get_secret /uber_pipeline/${ENV_NAME}/concourse_password
```
  1. Unpause the "set-pipelines" pipeline using unpause button. Unpause pipeline

  2. Run the pipeline using acquire_locks job and wait for the pipeline to finish.

Start pipeline

  1. Run deploy_infra pipeline to install whole Environment infrastructure: networks, security groups, jumpbox, DNS etc.

  2. After deploy_infra is done you can deploy Kubernetes using deploy_k8s pipeline.

Kubernetes credentials

Kubernetes is automatically configured on Environment jumpbox with kubectl preinstalled.