#239 Fix kojiprofile selection in cliClient.container_build_koji
Merged by cqi. Opened by cqi.
cqi/rpkg fix-container-build  into  master

Download 239.patch

kojiprofile or deprecated kojiconfig should be selected according to
whether current client is compatible with kojiconfig or not. Tests are
added for command container-build with koji.

Also fix the default value of koji_config_type and add tests to ensure
_compat_kojiconfig is set correctly.

Signed-off-by: Chenxiong Qi cqi@redhat.com

rebased

Tested this change by a scratch build https://koji.stg.fedoraproject.org/koji/taskinfo?taskID=90135600

Looks good to me. Tests pass locally for me.

rebased

rebased

rebased

Tested again in Koji and Brew, container build tasks are created, and those tasks fail due to other reasons.

  • Koji task: https://koji.stg.fedoraproject.org/koji/taskinfo?taskID=90156955
  • Brew task: 13951735

Pull-Request has been merged by cqi

Metadata