smeserver-koji/README.md

55 lines
1.6 KiB
Markdown
Raw Normal View History

2023-08-28 06:44:38 +02:00
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-koji
2023-08-28 06:37:57 +02:00
2023-08-28 06:44:38 +02:00
# Koji Setup Scripts
The purpose of these scripts it to enable setting up a koji environment quickly
with reasonable configurations.
2023-08-29 03:00:22 +02:00
These scripts have been borrowed from Clear Linux and modified to suit the smeserver (Koozali.org) setup.
2023-08-28 06:48:40 +02:00
2023-08-28 06:44:38 +02:00
## Assumptions
* All scripts are run as the root user
* The root user has a password set
2023-08-28 07:44:59 +02:00
* These are run on a bare Rocky 8 minimal install
2023-08-28 06:44:38 +02:00
* Basic configurations (e.g. network, time, etc.) have been applied
* Only one koji builder is required
2023-08-29 03:00:22 +02:00
## Getting Going
2023-08-28 06:44:38 +02:00
2023-08-29 03:00:22 +02:00
1. Copy these scripts into your ~/bin directory and make sure they are executeable
2023-08-28 06:44:38 +02:00
2023-08-29 03:00:22 +02:00
mkdir -p ~/bin
cp <path where you copied the scripts> ~/bin/.
chmod a+x ~/bin/*.sh
2023-08-28 06:44:38 +02:00
1. Edit parameters.sh as needed. If running in a production environment, be
sure to supply reasonable SSL certificate field values.
1. Run the required following scripts
deploy-koji.sh
bootstrp-build.sh
1. Optionally, for supporting a full DevOps workflow, also run
deploy-mash.sh
deploy-git.sh
deploy-upstreams.sh
If koji builder machine is not the same as koji master machine:
1. On the koji master machine, run
deploy-koji-nfs-server.sh
1. Copy the koji builder certificate from the koji master machine to the koji
builder machine
scp "$KOJI_PKI_DIR/$KOJI_SLAVE_FQDN.pem" "$KOJI_SLAVE_FQDN":"$KOJI_PKI_DIR"
1. On the koji builder machine, run
deploy-koji-nfs-client.sh
deploy-koji-builder.sh