Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 1855fd3

Browse files
committed
Add process for module building in Stream 9
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
1 parent 65eee33 commit 1855fd3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

modules/ROOT/pages/techinfo/buildsystem.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,41 @@ This page covers the CentOS Stream Build System.
1010

1111
== Module Build Service
1212

13+
=== Process for module building in Stream 9
14+
15+
* Make sure you have the latest version of `centpkg` installed--0.6.6 or later is required.
16+
17+
* Build the module in CentOS Stream:
18+
----
19+
# get a Kerberos ticket
20+
kinit _username_@REDHAT.COM
21+
22+
# clone the module repository
23+
centpkg clone modules/_modulename_
24+
25+
# change to the directory
26+
cd _modulename_
27+
28+
# switch to the module’s stream branch
29+
centpkg switch-branch _streamname_
30+
31+
# build the module for EL9, optionally as a scratch build
32+
centpkg module-build --scratch --buildrequires platform:el9
33+
# or
34+
centpkg module-build --buildrequires platform:el9
35+
----
36+
* If the module build was submitted successfully, the module build ID will be reported.
37+
You can monitor the progress of the build in the MBS and Koji by running `centpkg module-build-watch _moduleID_`.
38+
An even simpler way to do this is by adding the `--watch` flag when submitting the build. (eg., `centpkg module-build --watch ...`)
1339

1440
== GitLab
1541

1642
The "source code" (spec files and so on) is hosted on GitLab at link:https://gitlab.com/redhat/centos-stream/rpms[].
43+
Module definitions (modulemd YAML files) are hosted on GitLab at link:https://gitlab.com/redhat/centos-stream/modules[].
1744
All GitLab activity is forwarded to Fedora Messaging, and you can see these messages at the following URL: link:https://apps.fedoraproject.org/datagrepper/raw?rows_per_page=1&delta=127800&category=gitlab[].
1845

1946
== Links and references
2047
* link:https://gitlab.com/redhat/centos-stream/rpms[] - our gitlab organization for RPMs (repositories will be public once everything is in place)
2148
* link:https://kojihub.stream.centos.org/koji/[] - The current build system URL
49+
* link:https://mbs.stream.centos.org/[] - The module build service URL
2250
* link:https://fedoraproject.org/wiki/Using_the_Koji_build_system[] - This is a Fedora guide on how to trigger a build in Koji (you can ignore the `fedpkg` parts)

0 commit comments

Comments
 (0)