M0ses / kanku

Kanku - Bridging the gap between Open-Build-Service and DevOPS
http://m0ses.github.io/kanku/
GNU General Public License v3.0
9 stars 6 forks source link

Implement multibuild for Images #26

Closed lethliel closed 6 years ago

lethliel commented 6 years ago

OBS Repository used:

https://build.opensuse.org/package/show/SUSE:SLE-15:GA/kiwi-templates-SLES15-JeOS

with KankuFile snippet:

use_module: Kanku::Handler::OBSCheck
    options:
      api_url: https://api.opensuse.org
      # Please have a look at
      # https://build.opensuse.org/project/show/home:M0ses:kanku:Images
      # to find more official Images
      project: SUSE:SLE-15:GA
      repository: SLES
      package: kiwi-templates-SLES15-JeOS

leads to:

[2018/02/20 14:59:51][DEBUG](14618) obs_direct_url = ''
[2018/02/20 14:59:51][ERROR](14618) $VAR1 = 'Neither vm_image_url nor obs_direct_url found
HINT: Try 

osc api /build/SUSE:SLE-15:GA/SLES/x86_64/kiwi-templates-SLES15-JeOS

for further debugging
';

[2018/02/20 14:59:51][DEBUG](14618) Finished job: kanku-job (37) with state 'failed'
[2018/02/20 14:59:51][ERROR](14618) Failed to create domain: kanku-vm
M0ses commented 6 years ago

In this example only the repository "SLES" is wrong - and all builds are disabled - multibuild should work as expected