From 5b6e1829dd4fe9a46388e206d594a7feebb72180 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Tue, 22 Apr 2025 12:52:30 +0200 Subject: [PATCH] how to add a new sysdb env --- engineering-guide/new_sysdb_environment.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/engineering-guide/new_sysdb_environment.md b/engineering-guide/new_sysdb_environment.md index 0de76b87..66477d2c 100644 --- a/engineering-guide/new_sysdb_environment.md +++ b/engineering-guide/new_sysdb_environment.md @@ -54,12 +54,20 @@ The steps to create and configure a new **GIT** project are: 2. Configure project permissions as follows: - `data- `Settings` -> `Collaborators`, or directly: https://gitea.psi.ch/puppet/data-(environment_name)/settings/collaboration + - add teams with access - if the team does not yet exists, map it from the AD group as documented in chapter "Mapping AD Groups to Teams" in our [Gitea Production Documentation](gitea-dmz) - - Enable already registered deploy key: `Settings` -> `Deploy Keys` -> `Add Deploy Key` with + - Enable already registered deploy key: `Settings` -> `Deploy Keys` -> `Add Deploy Key` with - `Title`: `plidata` - `Content`: `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDTmrqGEcE+Uv88WvnROZ7hcsFeZhAClV3nV66Mq+GVc0COEICFcVYcc73BvqHN6Vgii9yE2ZIKR7fqw2Hf0JIVoBzatzxTJJwXWYKsj8Z9gJbMKy8Axgz6alorLAybRz5DZAjND46/vh8/6E0c1YOytd5d30t92d7Wa4YO6dJqrdRaXK/Li54gdDjnHgbP0McafsnuxcBI4utPD/30+o9V6RcBG7qPdHYEviX3JGYOHsbRWs36VhpOjnxpqVouNECXYTaPtAMMWlgE/bm9mLflVH3UIDn6Ufv2bxcMKd4rJwDzjWqcb047iYhfIiB6ciCrJJ4hYnywVaFnNiA0iNcf/SvQjpkZjgejGhz72IJk4A2j+nb2RIL75NxXHgOZRlQ+JO/D53Keb9jINY4NWDRm85MP2gtuy7xNxoSPylhM0JaDtkUI0uUGshACMS9yMtKPxhQUPJmxIMbm2gKSkrBPIdlHg42O81mbFYR9B/XSW8GjsKZBAaCtQMlh0Zxr5Hc=` - - for the runner configuration check out the new Hiera data repo and add `.gitea/workflows/hiera_update.yaml` from [another one](https://gitea.psi.ch/puppet/data-lx/raw/branch/master/.gitea/workflows/hiera_update.yaml). + - for the runner configuration check out the new Hiera data repo and add `.gitea/workflows/hiera_update.yaml` from [another one](https://gitea.psi.ch/puppet/data-lx/raw/branch/master/.gitea/workflows/hiera_update.yaml). +3. Disable unnecesary Gitea features + - In `data- `Settings`, or directly: https://gitea.psi.ch/puppet/data-(environment_name)/settings: + - untick `Enable Repository Wiki` + - untick `Enable Repository Issue Tracker` + - untick `Enable Projects` + - untick `Enable Repository Packages Registry` + - `Update Settings` ### Test new environment in GIT