Skip to content
Snippets Groups Projects
Commit e531c645 authored by Ben Morrice's avatar Ben Morrice
Browse files

Update koji tag doc

parent 0a9d5f4c
Branches
No related tags found
No related merge requests found
Pipeline #10950220 passed
......@@ -31,41 +31,6 @@ Add it to git, commit, push, (wait for the MR to be reviewed if it's your first
**Note:** Do not forget to merge your changes to master as well once the MR has been accepted by another team member.
## CentOS 7 tags
### 1. **Adding the tag to koji**
In the `bin/tags` directory, copy a sample file (e.g. `acron7.sh`), changing the name to the tag's name you are actually about to create.
Edit the file as necessary for the tag you need to create: modify the `DIST` variable to the actual name you want the tag to have. Do not forget the number standing for the distribution.
Add it to git, commit, push, (wait for the MR to be reviewed if it's your first time), run the script from the master branch et voila!
### 2. **Adding the admin egroup to ACL**
In [koji::hub::acls](https://gitlab.cern.ch/ai/it-puppet-hostgroup-lsb/-/blob/qa/data/hostgroup/lsb.yaml?ref_type=heads#L158) add the egroup admin responsible for the tag, and the tag under it.
Add it to git, commit, push, (wait for the MR to be reviewed if it's your first time).
**Note:** Please make sure to maintain the alphabetical sorting of the e-groups *and* tags. This helps us manage the long list of ACLs effectively. There's a extra test in the CI pipeline (`check_hiera_sorting`) that will verify this, make sure it passes before merging your changes.
**Note:** Do not forget to merge your changes to `master` as well once the MR has been accepted by another team member. If you merge on the `qa` branch, then a rebase of `qa` to `master` is needed.
## Centos Stream 8/9
The Centos Stream 8/9 will be deprecated soon, if someone asks for these tags, be suspicious.
## Updating the checkout on lxsoftadm01
In addition, please update the clone of this repo on lxsoftadm01:
```bash
~ > ssh build@lxsoftadm01
[build@lxsoftadm01] cd bin
[build@lxsoftadm01] git pull
```
There should not be any locally-modified or untracked files on lxsoftadm01.
## Public tags
By default, tags will create repos under <https://linuxsoft.cern.ch/internal/repos/>. If the user requested a public tag/repo, it should be added to <https://gitlab.cern.ch/linuxsupport/cronjobs/koji-distrepo/-/blob/master/prod.config.yaml> as well, so it can appear under <https://linuxsoft.cern.ch/repos/>.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment