Update 'new document repository'
@ -6,8 +6,27 @@ To delivery new document repository the following steps need to be taken:
|
||||
3. add entry in zuul/main.yaml
|
||||
git clone git@github.com:opentelekomcloud-infra/zuul-config.git
|
||||
4. Manually restart zuul node
|
||||
|
||||
manual zuul reload ```zuul-scheduler smart-reconfigure --tenant XXX``` in zuul-scheduler pod
|
||||
5. python3 ~/otc-metadata/tools/update_zuul_project_configs.py --environment public --service-type smg --work-dir workspace/github/opentelekomcloud-infra/gitstyring/data/data/github/orgs/opentelekomcloud-docs/repositories
|
||||
```
|
||||
kubectl --context otcinfra -n zuul-ci get all
|
||||
kubectl --context otcinfra -n zuul-ci exec -it pod/zuul-scheduler-main-0 -c zuul-scheduler -- bash
|
||||
cat /etc/zuul-config/zuul/main.yaml | grep -i distributed
|
||||
zuul-scheduler --smart-reconfigure
|
||||
zuul-scheduler --validate-tenants eco
|
||||
kubectl --context otcinfra -n zuul-ci logs -f pod/zuul-scheduler-main-0 zuul-scheduler
|
||||
```
|
||||
|
||||
6. all new repos for Zuul must appear in https://github.com/opentelekomcloud-infra/zuul-config/blob/main/zuul/main.yaml
|
||||
5. update gitstyring
|
||||
```
|
||||
git clone git@git-ssh.tsi-dev.otc-service.com:ecosystem/gitstyring.git
|
||||
python3 ~/otc-metadata/tools/generate_doc_gitcontrol_repos.py --target-environment internal --work-dir gitstyring/data/gitea/orgs/docs/repositories/
|
||||
cd gitstyring//data/gitea/orgs/docs/repositories
|
||||
git checkout -b add_new_repos
|
||||
git add cloud-container-instance.yml distributed-database-middleware.yml
|
||||
```
|
||||
6. python3 ~/otc-metadata/tools/update_zuul_project_configs.py --environment public --service-type smg --work-dir workspace/github/opentelekomcloud-infra/gitstyring/data/data/github/orgs/opentelekomcloud-docs/repositories
|
||||
|
||||
|
||||
7. all new repos for Zuul must appear in https://github.com/opentelekomcloud-infra/zuul-config/blob/main/zuul/main.yaml
|
||||
|
||||
|
Reference in New Issue
Block a user