Eventually, SNow tickets will come our way regarding the need of creating a new tag in koji (e.g. [RQF1446382](https://cern.service-now.com/service-portal?id=ticket&table=u_request_fulfillment&n=RQF1446382)).
Eventually, SNOW tickets will come our way regarding the need of creating a new tag in koji (e.g. [RQF1446382](https://cern.service-now.com/service-portal?id=ticket&table=u_request_fulfillment&n=RQF1446382)).
To accomplish that mission, start by cloning the [lxdist-build](https://gitlab.cern.ch/linuxsupport/lxdist-build) repo.
Remember that **all changes to Koji tags should be done via these scripts**, not directly in Koji. This helps keep our tags reproducible.
## CentOS 8/S8/S9 tags
In the `bin/tags` directory, copy the template file `createtag8.template`(or `createtag8s.template`, `createtag9.template`, etc.) to create a script called `<mynewtag8>.sh` (or `<mynewtag8s>.sh`, etc.) (adapt for your tag name).
## Alma and RHEL 8/9 tags
In the `bin/tags` directory, copy the template file `createtagX.template`to create a script called `<mynewtagX>.sh` (adapt for your tag name where `X` can be `8el`, `9el`, `8al`, `9al`).
Change the `TAG` variable and the other default variables as necessary.
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!
Note that CentOS 8 tags should probably no longer be needed, as that OS has been deprecated. If someone asks for one, be suspicious.
Add it to git, commit, push, (wait for the MR to be reviewed if it's your first time).
## RHEL 9 tags
Same basic procedure as above, use the `createtag9el.template` as a base. Other RHEL versions are not supported at this time.
Then, login in `lxsoftadm01` as `build` and run the script from the master branch et voila!
## CentOS 7 tags
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.
@@ -25,7 +22,9 @@ Edit the file as necessary for the tag you need to create: modify the `DIST` var
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!
## Centos 8 and Centos Stream 8/9
Note that CentOS 8 tags should no longer be needed, as that OS has been deprecated.
The Centos Stream 8/9 will be deprecated soon, if someone asks for these tags, be suspicious.