Dashboard#
Prerequisites#
Inputs#
export GIT_PATH="$HOME/git/"
export ZONE_NAME="ocb-..."
export DOMAIN_NAME="caascad.com" # ou cloudservicesfactory.com
export INFRA_ZONE_NAME="infra-..."
export BRANCH_NAME="pf-..."
Warning
During this procedure, several steps require restarts of different components in cloud zones. Before each restart:
- check there is no CAASCHR that is planned on the same component at the same time
- warn supervsion team on #supervision about the component/zone that is going to be restarted
envs-ng#
Tip
Many steps will consist of running trackbone apply -z "$ZONE_NAME" -c ...
Reusing the shell setup here is a good idea!
Repository: caascad/terraform/envs-ng
# git clone git@git.corp.caascad.com:caascad/terraform/envs-ng.git "$GIT_PATH/caascad/terraform/envs-ng"
cd "$GIT_PATH/caascad/terraform/envs-ng"
git pull
git switch -c "$BRANCH_NAME"
nix-shell
References#
- Front: https://git.corp.caascad.com/caascad/dashboard/dashboard-front.git
- Ci-api https://git.corp.caascad.com/caascad/dashboard/dashboard-ci-api.git
- Api-proxy: https://git.corp.caascad.com/caascad/dashboard/dashboard-api-proxy.git
- Metric-api: https://git.corp.caascad.com/caascad/dashboard/dashboard-metrics-api.git
- Alerts-api: https://git.corp.caascad.com/caascad/dashboard/dashboard-alerts-api.git
- Pipeline: https://git.corp.caascad.com/caascad/dashboard/dashboard-pipelines.git
- Chart/helm: https://git.corp.caascad.com/caascad/dashboard/dashboard-helm.git
- Envs-ng: https://git.corp.caascad.com/caascad/terraform/envs-ng.git
Prerequisistes#
In order to deploy, it is necessary to be authenticated to Vault:
export VAULT_ADDR=https://vault.${INFRA_ZONE_NAME}.caascad.com
vault login -method oidc
Dashboard#
deployment#
Clone the repo envs-ng
nix-shell
trackbone apply -z ${ZONE_NAME} -c dashboard