Aller au contenu

Billing VM provisioning#

This page shows the steps to update the billing VM on infra-stg and/or infra-prd using trackbone. This is necessary when there is a change on git.corp.caascad.com:caascad/terraform/lib.git or git.corp.caascad.com:caascad/terraform/envs-ng.git.

Dashboard concourse ci pipelines configuration files are stored in the git repository: git-resource

This is the list of the dashboard-pipelines git repository's branches that are used:

  • clone the env-ng git repository: git-resource

  • install vault token helper on the local machine :

toolbox install vault-token-helper
  • enable vault token helper on the local machine:
vault-token-helper enable
  • Connect to https://vault.infra-prd.caascad.com:
export VAULT_ADDR=https://vault.infra-prd.caascad.com
vault login -method oidc
  • connect to https://vault.infra-stg.caascad.com
export VAULT_ADDR=https://vault.infra-stg.caascad.com
vault login -method oidc
  • execute trackbone plan on the zone where we need to update the vm
trackbone plan -c fe_billing -z ZONE_NAME

ZONE_NAME is infra-stg or infra-prd

  • execute trackbone apply on the zone where we need to update the vm
trackbone apply -c fe_billing -z ZONE_NAME

ZONE_NAME is infra-stg or infra-prd