From Fedora Project Wiki

< Infrastructure‎ | Factory2

Revision as of 20:53, 30 August 2017 by Jkaluza (talk | contribs) (→‎Factory 2.0 Services)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Factory 2.0 Services

Goal of this page is to provide list of all Factor 2.0 micro-services with general information and scope of each service.

Module Build Service (MBS)

Service to build a module in Koji.

  • Takes URL to SCM repository with particular commit hash and branch containing the modulemd input file defining the module.
  • Submits the builds of components from the modulemd file to Koji in right order to build a module.
    • Builds all the packages in separate Koji buildroot and tags them to separate per module build tag.
    • Can reuse already built RPMs from previous module builds to save time and resources.
  • Once the module is built, creates separate "module" type build in Koji using Content-Generator.
  • Sends mbs.module.state.change messages to fedmsg bus about the progress of a rebuild.
  • Has REST API to query the module builds.
  • Contains the mbs-build script which can be used to submit new module build to MBS or build module locally in Mock.

On Demand Compose Service (ODCS)

Service to create compose using Pungi from artifacts in Koji on demand.

  • Currently generates RPM repository from packages in Koji. These can be defined by:
    • a) Koji tag + list of packages from the tag to include in a compose.
    • b) Module name:stream:version
  • It can be told to include RPM dependencies or Module dependencies of the packages/modules in a compose.
  • Once the compose is done, it is available on HTTP URL which can be found in REST API.
  • The compose is available only for certain time and then is deleted.
  • Any expired compose can be regenerated later.

Greenwave

Waiverdb

Freshmaker