img-proof


Nameimg-proof JSON
Version 7.28.0 PyPI version JSON
download
home_pagehttps://github.com/SUSE-Enceladus/img-proof
SummaryPackage for automated testing of cloud images.
upload_time2024-05-13 17:50:17
maintainerNone
docs_urlNone
authorSUSE
requires_python>=3.4
licenseGPLv3+
keywords img-proof img_proof
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Continuous testing & Linting](https://github.com/SUSE-Enceladus/img-proof/workflows/Continuous%20testing%20&%20Linting/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/img-proof/badge/?version=latest)](https://img-proof.readthedocs.io/en/latest/?badge=latest)
[![Py Versions](https://img.shields.io/pypi/pyversions/img-proof.svg)](https://pypi.org/project/img-proof/)
[![License](https://img.shields.io/pypi/l/img-proof.svg)](https://pypi.org/project/img-proof/)

[![img-proof](https://raw.githubusercontent.com/SUSE-Enceladus/img-proof/master/docs/source/_images/logo.png "img-proof Logo")](https://github.com/SUSE-Enceladus/img-proof)

overview
========

**img-proof** (IPA) provides a command line utility to test
images in the Public Cloud (AWS, Azure, GCE, etc.).

With **img-proof** you can now test custom images in a cloud framework agnostic way
with one tool and one API. In the first release, **img-proof** supports the
openSUSE and SLES distributions. It also supports the three largest
cloud frameworks (AWS, Azure and GCE). However, it is intended to be
distribution agnostic and framework transparent so both are easily
extensible.

For each distribution there are specific synchronization points that
must be provided. These currently include soft reboot and system update.
The synch points not only test functionality but also act as dividers to
separate distinct sections of a test suite. For example you can run a
test to ensure the proper repos exist before and after a system update.
The system update synch point will guarantee the order of tests.
Speaking of tests, if you're already familiar with Pytest conventions
there's no need to learn a whole new unit testing framework. **img-proof** is
written in Python and leverages the Pytest framework through Testinfra.

Installation
============

To install the package use the following commands as root:

```shell
$ zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/<distribution>
$ zypper refresh
$ zypper in python3-img-proof
```

Requirements
============

-   boto3
-   apache-libcloud
-   azure-common
-   azure-mgmt-compute
-   azure-mgmt-network
-   azure-mgmt-resource
-   Click
-   paramiko
-   pytest
-   PyYaml
-   testinfra
-   oci

# [Docs](https://img-proof.readthedocs.io/en/latest/)

Tests
=====

**img-proof** uses the Testinfra package for writing unit tests. Testinfra
leverages Pytest and provides modules such as Package, Process and
Service to test the state of images. See the [Testinfra
Docs](https://testinfra.readthedocs.io/en/latest/) for more information
on writing infrastructure tests.

> **img-proof** currently passes the Pytest option `-x` (stop on first
> failure) through as `--early-exit`. If there's an interest or need for
> any other options/args please submit an issue to
> [Github](https://github.com/SUSE-Enceladus/img-proof/issues).

CLI Overview
============

The CLI provides multiple subcommands to initiate image testing:

* `img-proof test`

   Test image in the given framework using the supplied test files.

* `img-proof results`

   Invokes the default show subcommand `img-proof results show 1`.

* `img-proof results clear`

   Clear the results from the history file.

* `img-proof results delete`

   Delete the specified history item from the history log.

* img-proof results list`

   Display list of results history.

* `img-proof results show`

   Display the results or log file for a history item.

* `img-proof list`

   Print a list of test files or test cases.

Issues/Enhancements
===================

Please submit issues and requests to
[Github](https://github.com/SUSE-Enceladus/img-proof/issues).

Contributing
============

Contributions to **ipa** are welcome and encouraged. See
[CONTRIBUTING](https://github.com/SUSE-Enceladus/img-proof/blob/master/CONTRIBUTING.md)
for info on getting started.

License
=======

Copyright (c) 2018 SUSE LLC.

Distributed under the terms of GPL-3.0+ license, see
[LICENSE](https://github.com/SUSE-Enceladus/img-proof/blob/master/LICENSE)
for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SUSE-Enceladus/img-proof",
    "name": "img-proof",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": null,
    "keywords": "img-proof img_proof",
    "author": "SUSE",
    "author_email": "public-cloud-dev@susecloud.net",
    "download_url": "https://files.pythonhosted.org/packages/d0/d6/0f4b7ce088ba405c791ea4e076415f8d887f56a2977c51b043c7969dc1d5/img_proof-7.28.0.tar.gz",
    "platform": null,
    "description": "![Continuous testing & Linting](https://github.com/SUSE-Enceladus/img-proof/workflows/Continuous%20testing%20&%20Linting/badge.svg)\n[![Documentation Status](https://readthedocs.org/projects/img-proof/badge/?version=latest)](https://img-proof.readthedocs.io/en/latest/?badge=latest)\n[![Py Versions](https://img.shields.io/pypi/pyversions/img-proof.svg)](https://pypi.org/project/img-proof/)\n[![License](https://img.shields.io/pypi/l/img-proof.svg)](https://pypi.org/project/img-proof/)\n\n[![img-proof](https://raw.githubusercontent.com/SUSE-Enceladus/img-proof/master/docs/source/_images/logo.png \"img-proof Logo\")](https://github.com/SUSE-Enceladus/img-proof)\n\noverview\n========\n\n**img-proof** (IPA) provides a command line utility to test\nimages in the Public Cloud (AWS, Azure, GCE, etc.).\n\nWith **img-proof** you can now test custom images in a cloud framework agnostic way\nwith one tool and one API. In the first release, **img-proof** supports the\nopenSUSE and SLES distributions. It also supports the three largest\ncloud frameworks (AWS, Azure and GCE). However, it is intended to be\ndistribution agnostic and framework transparent so both are easily\nextensible.\n\nFor each distribution there are specific synchronization points that\nmust be provided. These currently include soft reboot and system update.\nThe synch points not only test functionality but also act as dividers to\nseparate distinct sections of a test suite. For example you can run a\ntest to ensure the proper repos exist before and after a system update.\nThe system update synch point will guarantee the order of tests.\nSpeaking of tests, if you're already familiar with Pytest conventions\nthere's no need to learn a whole new unit testing framework. **img-proof** is\nwritten in Python and leverages the Pytest framework through Testinfra.\n\nInstallation\n============\n\nTo install the package use the following commands as root:\n\n```shell\n$ zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/<distribution>\n$ zypper refresh\n$ zypper in python3-img-proof\n```\n\nRequirements\n============\n\n-   boto3\n-   apache-libcloud\n-   azure-common\n-   azure-mgmt-compute\n-   azure-mgmt-network\n-   azure-mgmt-resource\n-   Click\n-   paramiko\n-   pytest\n-   PyYaml\n-   testinfra\n-   oci\n\n# [Docs](https://img-proof.readthedocs.io/en/latest/)\n\nTests\n=====\n\n**img-proof** uses the Testinfra package for writing unit tests. Testinfra\nleverages Pytest and provides modules such as Package, Process and\nService to test the state of images. See the [Testinfra\nDocs](https://testinfra.readthedocs.io/en/latest/) for more information\non writing infrastructure tests.\n\n> **img-proof** currently passes the Pytest option `-x` (stop on first\n> failure) through as `--early-exit`. If there's an interest or need for\n> any other options/args please submit an issue to\n> [Github](https://github.com/SUSE-Enceladus/img-proof/issues).\n\nCLI Overview\n============\n\nThe CLI provides multiple subcommands to initiate image testing:\n\n* `img-proof test`\n\n   Test image in the given framework using the supplied test files.\n\n* `img-proof results`\n\n   Invokes the default show subcommand `img-proof results show 1`.\n\n* `img-proof results clear`\n\n   Clear the results from the history file.\n\n* `img-proof results delete`\n\n   Delete the specified history item from the history log.\n\n* img-proof results list`\n\n   Display list of results history.\n\n* `img-proof results show`\n\n   Display the results or log file for a history item.\n\n* `img-proof list`\n\n   Print a list of test files or test cases.\n\nIssues/Enhancements\n===================\n\nPlease submit issues and requests to\n[Github](https://github.com/SUSE-Enceladus/img-proof/issues).\n\nContributing\n============\n\nContributions to **ipa** are welcome and encouraged. See\n[CONTRIBUTING](https://github.com/SUSE-Enceladus/img-proof/blob/master/CONTRIBUTING.md)\nfor info on getting started.\n\nLicense\n=======\n\nCopyright (c) 2018 SUSE LLC.\n\nDistributed under the terms of GPL-3.0+ license, see\n[LICENSE](https://github.com/SUSE-Enceladus/img-proof/blob/master/LICENSE)\nfor details.\n",
    "bugtrack_url": null,
    "license": "GPLv3+",
    "summary": "Package for automated testing of cloud images.",
    "version": "7.28.0",
    "project_urls": {
        "Homepage": "https://github.com/SUSE-Enceladus/img-proof"
    },
    "split_keywords": [
        "img-proof",
        "img_proof"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e35fdf541207c3ed6bc649d091bd635681670fa4bb1bc8422435c6939f945e28",
                "md5": "f4d69d7a6c0447b93442d20cc0daaedc",
                "sha256": "0178492a3f2aac16adf4c463892f9a3b21b6940a303025143d435c5bebddf707"
            },
            "downloads": -1,
            "filename": "img_proof-7.28.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f4d69d7a6c0447b93442d20cc0daaedc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4",
            "size": 71944,
            "upload_time": "2024-05-13T17:50:02",
            "upload_time_iso_8601": "2024-05-13T17:50:02.503554Z",
            "url": "https://files.pythonhosted.org/packages/e3/5f/df541207c3ed6bc649d091bd635681670fa4bb1bc8422435c6939f945e28/img_proof-7.28.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0d60f4b7ce088ba405c791ea4e076415f8d887f56a2977c51b043c7969dc1d5",
                "md5": "3060d8305683864f34b7a61c193aef35",
                "sha256": "fbc853f8d26627e1a9a89cc658b7d9fefebcf95c88e02badadd82b0c4cf73079"
            },
            "downloads": -1,
            "filename": "img_proof-7.28.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3060d8305683864f34b7a61c193aef35",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 107215,
            "upload_time": "2024-05-13T17:50:17",
            "upload_time_iso_8601": "2024-05-13T17:50:17.879941Z",
            "url": "https://files.pythonhosted.org/packages/d0/d6/0f4b7ce088ba405c791ea4e076415f8d887f56a2977c51b043c7969dc1d5/img_proof-7.28.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-13 17:50:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SUSE-Enceladus",
    "github_project": "img-proof",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "img-proof"
}
        
Elapsed time: 0.25046s