obs-img-utils provides a command line utility and API for images in Open Build Service.
It provides the following commands:
- Downloading images based on conditions
- Get list of packages in an image
- Get version info for a specific package
To install the package use the following commands as root:
$ zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/<distribution>
$ zypper refresh
$ zypper in python3-obs-img-utils
- lxml
- Click
- PyYaml
The CLI provides multiple subcommands to initiate image testing:
-
obs-img-utils download
Download the image with optional condition checking for version and packages.
-
obs-img-utils packages list
Show a list of packages in the given image.
-
obs-img-utils packages show
Show version information for provided package.
Please submit issues and requests to Github.
Contributions to obs-img-utils are welcome and encouraged. See CONTRIBUTING for info on getting started.
Copyright (c) 2019 SUSE LLC. All rights reserved.
Distributed under the terms of GPL-3.0+ license, see LICENSE for details.