No description
Find a file
Christian Kellner 4dd2e6d814 test: SHARE_DIR can be externally defined
Change the use of SHARE_DIR across all scripts so that it will
only be set if it does not yet exist. This makes it possible
to change the location of it across all scripts at once.
2020-09-29 21:40:25 +01:00
.github ci: enable ShellCheck warnings 2020-09-17 19:53:06 +02:00
plugins builder: use 'server' instead of 'url' for config 2020-09-26 11:37:02 +01:00
schutzbot all: sync with composer changes 2020-09-25 22:33:31 +01:00
test test: SHARE_DIR can be externally defined 2020-09-29 21:40:25 +01:00
.editorconfig .editorconfig: added 2020-09-05 16:34:41 +02:00
.gitignore gitignore: ignore coverage files 2020-09-14 17:37:35 +02:00
.pylintrc pylintrc: copied from osbuilid 2020-09-11 23:18:04 +01:00
HACKING.md test: move run-builder into test/ 2020-09-29 21:40:25 +01:00
koji-osbuild.spec.in plugin/builder: use requests python package 2020-09-15 18:59:03 +02:00
LICENSE LICENSE: add ASL 2.0 2020-09-06 16:02:54 +02:00
meson.build schutzbot: add CI integration 2020-09-10 00:05:44 +02:00
meson_options.txt Support for generating rpms via meson 2020-09-08 16:58:06 +02:00
README.md README.md: include sample builder configuration 2020-09-26 11:37:02 +01:00
run-tests.sh run-tests: remove the container after use 2020-09-17 19:53:06 +02:00

Koji osbuild

This project provides osbuild integration with Koji. This is done via three plugins:

  • Koji hub plugin: Provides a new XMLRPC API endpoint that clients can use to create new osbuildImage Koji tasks.
  • Koji builder plugin: Handles osbuildImage Koji tasks and will talk to osbuild-composer to create new composes via composer's Koji API.
  • Koji cli plugin: Adds a new osbuild-command to the existing koji command line client. This will then use the new XMLRPC API to request a new compose.

Configuration

The builder plugin needs to be configured via a builder.conf file that can be located in either /usr/share/koji-osbuild or /etc/koji-osbuild.

[composer]
# The host, port and transport (https vs http) of osbuild composer
# NB: The 'https' transport is required for SSL/TLS authorization
server = https://composer.osbuild.org

# Authorization via client side certificates: can be either a pair of
# certificate and key files separated by comma or a file combining both.
ssl_cert = /share/worker-crt.pem, /share/worker-key.pem

# Verification of the server side: either a boolean (True / False) to
# enable or disable verification, or a path to a CA_BUNDLE file or a
# directory containing certificates of trusted CAs.
ssl_verify = /share/worker-ca.pem

[koji]
# The URL to the koji hub XML-RPC endpoint
server = https://koji.fedoraproject.org/kojihub

Development

See HACKING.md for how to develop and test this project.