NAME

Kanku::Handler::OBSCheck

SYNOPSIS

Here is an example how to configure the module in your jobs file or KankuFile

  -
    use_module: Kanku::Handler::OBSCheck
    options:
      api_url: https://api.opensuse.org/public
      project: devel:kanku:images
      package: openSUSE-Leap-15.0-JeOS
      repository: images_leap_15_0

DESCRIPTION

This handler downloads a file from a given url to the local filesystem and sets vm_image_file.

OPTIONS

  api_url             : API url to OBS server

  base_url            : Url to use for download

  project             : project name in OBS

  package             : package name to search for in project

  repository          : repository name to search for in project/package

  skip_all_checks     : skip checks all checks on project/package on obs side before downloading image

  skip_check_project  : skip check of project state before downloading image

  skip_check_package  : skip check of package state before downloading image

  skip_download       : no changes detected in OBS skip downloading image file if found in cache

  offline             : proceed in offline mode (skip download and lookup last
                        downloaded image in database)

CONTEXT

getters

  offline

  skip_all_checks

setters

  vm_image_url

  api_url

DEFAULTS

NONE