mirror of
https://github.com/clearlinux/koji-setup-scripts.git
synced 2026-04-28 11:03:50 +00:00
8e0085e302ec98332dbf81e1cd694c46e8dc35e3
The mash utility has not been ported to python3. There is also no comparable replacement utility of a similar scope that can do a similar job. There is pungi utility, which is the replacement for mash. However, pungi is Fedora's build process encapsulated into a single tool and is doing too much for simply creating repos for distribution. To avoid this complexity, koji does have a dist-repo subcommand. However, this takes too long to execute at around 15 minutes on powerful hardware. In lieu of not wanting to maintain mash any further, write a small bash script that performs the same function using artifacts for koji on the disk. Signed-off-by: George T Kramer <george.t.kramer@intel.com>
Assumes:
* All scripts are run as the root user
* Basic configurations (e.g. network, time, etc.) have been applied to the host to allow applications to run well
How these scripts work:
#. Edit parameters.sh as needed
#. Run (playbook does only the following)
#. deploy-koji.sh
#. bootstrap-build.sh
#. 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:
#. On the koji master machine, run
#. deploy-koji-nfs-server.sh
#. On the koji builder machine, run
#. deploy-koji-nfs-client.sh
#. deploy-koji-builder.sh
Description
Languages
Shell
100%