Line 1:
Line 1:
This howto is for using the Koozali.org Koji Build Farm (http://koji.koozali.org/koji).
This howto is for using the Koozali.org Koji Build Farm (http://koji.koozali.org/koji).
−
{{Note box|Warning: The Koji farm is still in development and locked inside the koozali compound, so you will need to have VPN access until we open it up to the world.}}
+
{{Note box|This is no longer the case (Aug 2024):Warning: The Koji farm is still in development and locked inside the koozali compound, so you will need to have VPN access until we open it up to the world.
+
+
Koji is now publically available, but you are advised to get a login in order that you can fully utilise it.}}
Official Koji documentation can be found at: https://docs.pagure.org/koji/
Official Koji documentation can be found at: https://docs.pagure.org/koji/
+
We are slowly migrating smeserver to newer build tools, which includes git for source management and koji for managing the builds.
+
Here we will try to explain how to setup and use Koji within the development process.
−
We are slowliy migrating smeserver to newer build tools, which includes git for source management and koji for managing the builds.
+
Another document worth reading is [[Howto interact with gitea and koji to do an rpm build for SME1|here]]. This document is up to date as of Aug 2024.
−
−
Here we will try to explain how to setup and use Koji within the development process.
== Web Interface ==
== Web Interface ==
Line 52:
Line 54:
=== Build from git ===
=== Build from git ===
−
For now, this is the only way we can do a build from git on koji, but in the future this will be incorporated into the 'make build'. <syntaxhighlight lang="bash">
+
For now, this is the only way we can do a build from git on koji, but in the future this will be incorporated into the 'make build'. (Aug 2024) This has now been done. <syntaxhighlight lang="bash">
koji build sme11-test git+https://src.koozali.org/smeserver/<pkg>.git?#<tag>
koji build sme11-test git+https://src.koozali.org/smeserver/<pkg>.git?#<tag>
koji build sme11-contribs-test git+https://src.koozali.org/smecontribs/<pkg>.git?#<tag>
koji build sme11-contribs-test git+https://src.koozali.org/smecontribs/<pkg>.git?#<tag>