Development Environment
Fedora Infrastructure ansible:
- osbs cluster playbook
- osbs atomic-reactor role
- osbs-client role
- osbs-common
- osbs-namespace
- osbs-on-openshift
- ansible-ansible-openshift-ansible role
Fedora Infrastructure SOP:
- https://src.fedoraproject.org/rpms/osbs-client
- https://src.fedoraproject.org/rpms/atomic-reactor
- https://src.fedoraproject.org/rpms/koji-containerbuild
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