GithubHelp home page GithubHelp logo

pombredanne / koji-containerbuild Goto Github PK

View Code? Open in Web Editor NEW

This project forked from containerbuildsystem/koji-containerbuild

0.0 1.0 0.0 242 KB

Container build support for Koji buildsystem

License: GNU Lesser General Public License v2.1

Python 100.00%

koji-containerbuild's Introduction

Koji containerbuild

This package extends Koji buildsystem with plugin which allows building containers via OpenShift buildsystem. Additionally it provides CLI tool to submit builds based on koji CLI.

Most likely you'll need to run own OpenShift instance. See OpenShift documentation how to setup that.

Build a package

To build the current release, use the following command in the repo directory:

tito build --rpm

Plugin installation

Koji hub

If you already use any Koji hub plugin you need to use same path for this plugin too. Default path used by Koji hub is /usr/lib/koji-hub-plugins.

Modify `/etc/koji-hub.conf`:

  • set PluginPath to a directory which contains hub_containerbuild.py from this package.
  • add hub_containerbuild value to Plugins. If you have already some plugin enabled use space as a separator between names.

Finally (graceful) restart httpd daemon.

Koji builder

osbs package is required. In Fedora it is part of official repositories. Additionally you'll need to modify /etc/osbs.conf with addresses to OpenShift buildystem instance and registry. Follow osbs documentation if you find any.

Similarly to Koji hub you'll need to find out which path will be used for plugins. Default path used by Koji builder is /usr/lib/koji-builder-plugins.

  • set PluginPath to a directory which contains builder_containerbuild.py from this package.
  • add builder_containerbuild value to Plugins. Similarly to Koji hub use space to separate existing plugin names.

Koji CLI

Package provides CLI binary with interface similar to upstream koji CLI. It adds only single new command - container-build which allows submitting container builds to Koji hub. To configure CLI you'll need to copy [koji] section in /etc/koji.conf to [koji-containerbuild] and optionally adapt configuration there.

koji-containerbuild's People

Contributors

mikem23 avatar pbabinca avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.