#56 Log container-build task results
Merged by lsedlar. Opened by lucarval.
lucarval/rpkg container-build-log-result  into  master

Download 56.patch

This change is to enhance the user experience with the new workflow of osbs and koji-containerbuild by displaying the URL for accessing the created build and listing repositories that can be used to pull the image.

rebased

rebased

Verified locally, sample output:

$ rhpkg-stage container-build --target="extras-rhel-7.2-candidate"
Created task: 20003141
Task info: https://brew.instance/brew/taskinfo?taskID=20003141
Watching tasks (this may be safely interrupted)...
20003141 buildContainer (noarch): free
20003141 buildContainer (noarch): free -> open (brew.builder)
  20003142 createContainer (x86_64): free
  20003142 createContainer (x86_64): free -> open (brew.builder)
  20003142 createContainer (x86_64): open (brew.builder) -> closed
  0 free  1 open  1 done  0 failed
20003141 buildContainer (noarch): open (brew.builder) -> closed
  0 free  0 open  2 done  0 failed
20003141 buildContainer (noarch) completed successfully
koji_builds:
  https://brew.instance/brew/buildinfo?buildID=1000105
repositories:
  docker.registry:8888/rhel7/rsyslog:extras-rhel-7.2-candidate-20160602133826
  docker.registry:8888/rhel7/rsyslog:7.2-21.vrutkovs.test12
  docker.registry:8888/rhel7/rsyslog:7.2
  docker.registry:8888/rhel7/rsyslog:latest

Looks good to me. I will wait for response from @cqi before merging this. Once merge, I will build a new package.

I have been told this is a blocker and should be done ASAP. Therefore I will merge without more review.

Pull-Request has been merged by lsedlar

Metadata