diff --git a/docs/infra/team.md b/docs/infra/team.md index 3b92667..9911544 100644 --- a/docs/infra/team.md +++ b/docs/infra/team.md @@ -82,27 +82,9 @@ The `centos-git-admins` IPA group will give you all needed rights in pagure/git. ##### Openshift +While some groups are coming from IPA/FAS (for dedicated namespaces/projects), the main ocp cluster admins are just defined in the `ocp_cluster_admins` list variable at the ansible inventory level. +So to grant ocp cluster admin right, just modify the list (add/remove ACO accounts) and let ansible apply the change -#### Git notifications -For the current setup for inventories (not the ones hosted on gitlab that is) we can quickly enable commits notifications like this (adapt to the needs/users/projects) : - -``` -# Some variables -git_basedir="/repositories/git/centos" -git_repos="ansible-filestore-ci ansible-pkistore-ci ansible-inventory-ci" -git_mailto="rcpt_1@domain.com, rcpt2@otherdomain.com" -git_mailfrom="git@centosproject.org" - -pushd ${git_basedir} -for repo in ${git_repos}; do - pushd ${repo}.git - git config multimailhook.mailingList "${git_mailto}" - git config multimailhook.from ${git_mailfrom} - pushd hooks/post-receive.d; test -e git_multimail.py || ln -s /usr/bin/git_multimail.py ; popd - popd -done -popd -```