Some chef-repo environments are named inconsistently, increasing the potential for error
Details
The environment configuration in https://gitlab.com/gitlab-com/gl-infra/chef-repo does not match https://ops.gitlab.net/gitlab-com/gl-infra/config-mgmt/-/tree/master/environments.
When MRs are auto-created to bring updated roles to different environments it is not obvious which environments are in which file.
Example
Our production CI cluster, is in which of the environment files?
- ci-prd.json?
- ci-stg.json?
- ci.json?
- gprd.json?
Here are the created MRs.
- https://gitlab.com/gitlab-com/gl-infra/chef-repo/-/merge_requests/3149/diffs
- https://gitlab.com/gitlab-com/gl-infra/chef-repo/-/merge_requests/3150/diffs
Different enviorment files.
-rw-r--r-- 1 sosna staff 184 Oct 27 2021 README.md
-rw-r--r-- 1 sosna staff 675 Apr 3 19:31 ci-prd.json
-rw-r--r-- 1 sosna staff 675 Apr 3 19:31 ci-stg.json
-rw-r--r-- 1 sosna staff 1564 Apr 3 19:31 ci.json
-rw-r--r-- 1 sosna staff 883 Apr 3 19:31 db-benchmarking.json
-rw-r--r-- 1 sosna staff 1402 Apr 3 19:31 dev-1.json
-rw-r--r-- 1 sosna staff 1451 Apr 3 19:31 dr-testing.json
-rw-r--r-- 1 sosna staff 1723 Apr 3 19:31 gprd.json
-rw-r--r-- 1 sosna staff 1775 Apr 3 19:31 gstg.json
-rw-r--r-- 1 sosna staff 1496 Apr 3 19:31 one-off.json
-rw-r--r-- 1 sosna staff 1474 Apr 3 19:31 ops.json
-rw-r--r-- 1 sosna staff 1368 Apr 3 19:31 prd.json
-rw-r--r-- 1 sosna staff 1437 Apr 3 19:31 prdsub.json
-rw-r--r-- 1 sosna staff 1582 Apr 3 19:31 pre.json
-rw-r--r-- 1 sosna staff 76 Oct 27 2021 prometheus-testbed.json
-rw-r--r-- 1 sosna staff 1445 Apr 3 19:31 release.json
-rw-r--r-- 1 sosna staff 1402 Apr 3 19:31 stg.json
-rw-r--r-- 1 sosna staff 1442 Apr 3 19:31 stgsub-ref.json
-rw-r--r-- 1 sosna staff 1434 Apr 3 19:31 stgsub.json
-rw-r--r-- 1 sosna staff 1518 Apr 3 19:31 testbed.json
-rw-r--r-- 1 sosna staff 1451 Apr 3 19:31 windows-ci.json
SRE Support Needed Support Request Details