ansible-lint-gitlab-ci


Nameansible-lint-gitlab-ci JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/devalphakilo/ansible-lint-gitlab-ci
SummaryConverts ansible-lint JSON output into GitLab friendly JUnit XML format
upload_time2024-05-01 21:00:04
maintainerNone
docs_urlNone
authorDevAlphaKilo
requires_python>=3.6
licenseNone
keywords ansible json gitlab ci/cd xml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Ansible Lint GitLab CI

The [ansible-lint](https://github.com/willthames/ansible-lint) JSON output to GitLab friendly JUnit converter.

### Installation

via pip:

```shell
pip install ansible-lint-gitlab-ci
```

### Updating

via pip:

```shell
pip install ansible-lint-gitlab-ci --upgrade
```

### Usage:

- You can run `ansible-lint -f json` on your playbook(s) and redirect output to pipe
  ```shell
  ansible-lint playbook.yml -f json | ansible-lint-gitlab-ci -o ansible-lint-gitlab-ci.xml
  ```
- You can use a temporary file to store the output of `ansible-lint`.
  After that run `ansible-lint-gitlab-ci` and pass generated file to it
  ```shell
  ansible-lint -f json your_fancy_playbook.yml > ansible-lint.json
  ansible-lint-gitlab-ci ansible-lint.json -o ansible-lint-gitlab-ci.xml
  ```

### Output

- If there are any lint errors, full JUnit XML will be created.
- If there are no errors, empty JSON will be created.

### License

The ansible-lint-gitlab-ci project is distributed under the [MIT] license.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/devalphakilo/ansible-lint-gitlab-ci",
    "name": "ansible-lint-gitlab-ci",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "ansible, json, gitlab, ci/cd, xml",
    "author": "DevAlphaKilo",
    "author_email": "DevAlphaKilo@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/37/3b/2d2956a6a73e6383adfabe7237001bba998dcfaea839d411b5484f4ad61c/ansible_lint_gitlab_ci-0.1.0.tar.gz",
    "platform": null,
    "description": "# Ansible Lint GitLab CI\n\nThe [ansible-lint](https://github.com/willthames/ansible-lint) JSON output to GitLab friendly JUnit converter.\n\n### Installation\n\nvia pip:\n\n```shell\npip install ansible-lint-gitlab-ci\n```\n\n### Updating\n\nvia pip:\n\n```shell\npip install ansible-lint-gitlab-ci --upgrade\n```\n\n### Usage:\n\n- You can run `ansible-lint -f json` on your playbook(s) and redirect output to pipe\n  ```shell\n  ansible-lint playbook.yml -f json | ansible-lint-gitlab-ci -o ansible-lint-gitlab-ci.xml\n  ```\n- You can use a temporary file to store the output of `ansible-lint`.\n  After that run `ansible-lint-gitlab-ci` and pass generated file to it\n  ```shell\n  ansible-lint -f json your_fancy_playbook.yml > ansible-lint.json\n  ansible-lint-gitlab-ci ansible-lint.json -o ansible-lint-gitlab-ci.xml\n  ```\n\n### Output\n\n- If there are any lint errors, full JUnit XML will be created.\n- If there are no errors, empty JSON will be created.\n\n### License\n\nThe ansible-lint-gitlab-ci project is distributed under the [MIT] license.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Converts ansible-lint JSON output into GitLab friendly JUnit XML format",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/devalphakilo/ansible-lint-gitlab-ci"
    },
    "split_keywords": [
        "ansible",
        " json",
        " gitlab",
        " ci/cd",
        " xml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fca8f22a936570e020a679213d645502b3902e23afd218962b6ba857589a7e71",
                "md5": "0a88c8f4df97c643ec2380a7190516bd",
                "sha256": "8dec5542602bd6590f330259c93d3d53605a36fe2cf2f9e3f1d8f295e95c2fb6"
            },
            "downloads": -1,
            "filename": "ansible_lint_gitlab_ci-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a88c8f4df97c643ec2380a7190516bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5185,
            "upload_time": "2024-05-01T21:00:02",
            "upload_time_iso_8601": "2024-05-01T21:00:02.011730Z",
            "url": "https://files.pythonhosted.org/packages/fc/a8/f22a936570e020a679213d645502b3902e23afd218962b6ba857589a7e71/ansible_lint_gitlab_ci-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "373b2d2956a6a73e6383adfabe7237001bba998dcfaea839d411b5484f4ad61c",
                "md5": "484cacd3896602fa471c0ef3fc73b5e1",
                "sha256": "3ea04c64f9c7212540718242f183a1b8707a4c0fbe6d00abe0f26059fb6514aa"
            },
            "downloads": -1,
            "filename": "ansible_lint_gitlab_ci-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "484cacd3896602fa471c0ef3fc73b5e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4434,
            "upload_time": "2024-05-01T21:00:04",
            "upload_time_iso_8601": "2024-05-01T21:00:04.715706Z",
            "url": "https://files.pythonhosted.org/packages/37/3b/2d2956a6a73e6383adfabe7237001bba998dcfaea839d411b5484f4ad61c/ansible_lint_gitlab_ci-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-01 21:00:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "devalphakilo",
    "github_project": "ansible-lint-gitlab-ci",
    "github_not_found": true,
    "lcname": "ansible-lint-gitlab-ci"
}
        
Elapsed time: 0.28742s