Commit Graph

9 Commits

Author SHA1 Message Date
William Douglas e815252e2f Use dnf for mock's package_manager
Configure the dist tag to use dnf rather than yum as Clear Linux
doesn't use yum for the package manager.
2018-11-07 17:48:57 -08:00
William Douglas 4aedc7a00b Add hosts.example
Give a hosts.example and move hosts to be ignored.
2018-11-07 17:48:57 -08:00
George T Kramer d3a608059b Parameterize kojid capacity
Because the kojid capacity is difficult and error-prone to calculate
automatically, let the user define this.  Default the kojid capacity to
what is listed in the pagure documentation.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-11-07 17:47:12 -08:00
George T Kramer c20e9e6a58 Handle edge case when computing kojid capacity
The kojid capacity can never be zero, must always be at least one.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-11-07 17:35:24 -08:00
George T Kramer 1a1a715c3f Add installation of koji to script 2018-11-06 11:15:58 -08:00
George T Kramer 809bf1ea20 Automatically determine capacity for kojid
The capacity for kojid should scale according to the number of
processing units available because building packages is largely a
CPU-bound task.  Defaulting to a safe capacity of one-fourth the number
of processing units.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-11-02 17:14:59 -07:00
George T Kramer ff3cf3fe71 Make external repository usage optional
Making external repository usage optional based on how it's defined or
not defined in parameter.sh so users do not need to edit any script
besides this one.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-10-25 12:51:35 -07:00
George T Kramer d831850b5f Add missing build root requirement
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-10-25 10:38:23 -07:00
William Douglas a1ac13f792 Initial koji setup and configuration with ansible on Clear 2018-10-22 13:46:38 -07:00