Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
88 lines (54 sloc) 2.85 KB

OSBS notes

Fedora's Openshift Build System

Upstream

Development Environment

Documentation

Deployment

Fedora Infrastructure ansible:

Fedora Infrastructure SOP:

Packages

Misc

Rebuild of container buildroot

$ docker build -t buildroot --rm --no-cache /etc/osbs/buildroot

Update packages on target using ansible

$ ansible $target -m package -a "name=koji-containerbuild state=latest"

Check for build running in openshift

$ oc login
$ oc status
$ oc -n osbs-fedora describe build <my-build>

Get builds for a namespace

$ oc -n namespace get build

Cancel a build

$ oc -n namespace cancel-build <my-build>

Clean old builds

$ oc adm prune builds --keep-complete=2 --keep-failed=1 --keep-younger-than=24h0m0s --orphans --confirm

Docker insecure-registry : To add the insecure registry need to edit the /etc/sysconfig/docker and modify the OPTIONS parameter

historical bugzilla FLIBS