No description
Find a file
Ondřej Budai b93df4b524 rpmmd: require the path to dnf-json to be passed in
RPMMD had hardcoded path to dnf-json helper. This required all executables
using RPMMD to be run in the directory where dnf-json was located. This commit
makes RPMMD take the path to dnf-json as an argument. This allows its
consumers to specify whichever path they want.

Not a functional change
2020-06-10 16:56:28 +02:00
.github Remove RPM builds in GitHub Workflows 2020-05-22 07:44:44 -05:00
cmd rpmmd: require the path to dnf-json to be passed in 2020-06-10 16:56:28 +02:00
distribution osbuild-worker: don't flush cache between jobs 2020-06-07 19:22:52 +02:00
docs docs: update cockpit-composer repo url 2020-04-15 20:26:55 +02:00
image-types image-types/rhel8: add kvm, azure, and vmware 2020-05-27 22:47:14 +02:00
internal rpmmd: require the path to dnf-json to be passed in 2020-06-10 16:56:28 +02:00
osbuild@162797f206 submodule: bump to v16 2020-06-08 20:03:02 +02:00
repositories repositories/rhel8: add s390x and ppc64le repositories 2020-05-28 07:25:31 -05:00
schutzbot Use environment variables to control Ansible 2020-06-10 07:53:33 -05:00
test Expand native tests to include VHD/VMDK 2020-06-10 07:53:33 -05:00
tools image-info: support for analyzing tarballs 2020-06-08 21:22:54 +02:00
vendor upload/koji: add helpers to upload to koji 2020-05-19 13:54:53 +02:00
.gitignore gitignore: don't ignore files we do not generate 2020-03-21 19:50:21 +01:00
.gitmodules image-info: add test 2019-10-05 14:47:35 +02:00
.golangci.yml ci/lint: add integration tag 2020-03-17 20:36:58 +01:00
.travis.yml distro: drop fedora-30 2020-05-27 16:20:35 +02:00
codecov.yml codevoc: fix threshold 2020-05-17 10:12:06 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak documentation for new contributors 2020-05-29 22:23:10 +02:00
dnf-json dnf-json: add ssl certs to repo 2020-05-28 00:23:54 +02:00
go.mod upload/koji: add helpers to upload to koji 2020-05-19 13:54:53 +02:00
go.sum upload/koji: add helpers to upload to koji 2020-05-19 13:54:53 +02:00
golang-github-osbuild-composer.spec 14 2020-06-03 23:35:09 +02:00
LICENSE Revert "Fill in the license template" 2019-11-15 15:26:51 +01:00
Makefile makefile: change the indentation in release target 2020-05-28 00:31:30 +02:00
NEWS.md 14 2020-06-03 23:35:09 +02:00
osbuild-composer.spec 14 2020-06-03 23:35:09 +02:00
README.md README: update cockpit-composer repo url 2020-04-15 20:26:55 +02:00

OSBuild Composer

Operating System Image Composition Services

The composer project is a set of HTTP services for composing operating system images. It builds on the pipeline execution engine of osbuild and defines its own class of images that it supports building.

Multiple APIs are available to access a composer service. This includes support for the lorax-composer API, and as such can serve as drop-in replacement for lorax-composer.

You can control a composer instance either directly via the provided APIs, or through higher-level user-interfaces from external projects. This, for instance, includes a Cockpit Module or using the composer-cli command-line tool.

Project

About

Composer is a middleman between the workhorses from osbuild and the user-interfaces like cockpit-composer, composer-cli, or others. It defines a set of high-level image compositions that it supports building. Builds of these compositions can be requested via the different APIs of Composer, which will then translate the requests into pipeline-descriptions for osbuild. The pipeline output is then either provided back to the user, or uploaded to a user specified target.

The following image visualizes the overall architecture of the OSBuild infrastructure and the place that Composer takes:

overview

Consult the osbuild-composer(7) man-page for an introduction into composer, information on running your own composer instance, as well as details on the provided infrastructure and services.

Requirements

The requirements for this project are:

  • osbuild >= 11
  • systemd >= 244

At build-time, the following software is required:

  • go >= 1.12
  • python-docutils >= 0.13

Build

The standard go package system is used. Consult upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

mkdir build
go build -o build ./...

The man-pages require python-docutils and can be built via:

make man

Repository:

Pull request gating

Each pull request against osbuild-composer starts a series of automated tests. Tests run via GitHub Actions, Travis CI, and Jenkins. Each push to the pull request will launch theses tests automatically.

Jenkins only tests pull requests from members of the osbuild organization in GitHub. A member of the osbuild organization must say ok to test in a pull request comment to approve testing. Anyone can ask for testing to run by saying the bot's favorite word, schutzbot, in a pull request comment. Testing will begin shortly after the comment is posted.

Test results in Jenkins are available by clicking the Details link on the right side of the Schutzbot check in the pull request page.

License:

  • Apache-2.0
  • See LICENSE file for details.