George T Kramer f35848b8e0 Reduce disk and CPU usage during mash creation
Because the mash script will always need to run on the kojimaster
server, it has local access to RPMs.  Rather than copying the data,
create a symlink to the data.  This reduces disk usage and allows the
mash hosting location to be flexible.

Because the mash is re-generated every time kojira runs and creates a
new koji repository, by nature, the mash is an iterative process.
Existing repository metadata is always available (excpet for the first
run).  Pass this existing metadata to createrepo_c so that it may more
efficiently diff and recalculate the updated metadata in order to reduce
CPU and disk usage.

By reducing disk and CPU usage, this reduces the impact of running this
process on a kojimaster which is a shared system responsible for hosting
many resources.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-10-24 12:49:33 -07:00
2018-11-07 17:48:57 -08:00
2018-11-07 17:48:57 -08:00

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
No description provided
Readme 123 KiB
Languages
Shell 100%