ansible-lint-gitlab


Nameansible-lint-gitlab JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/devalphakilo/ansible-lint-gitlab
SummaryConverts ansible-lint JSON output into GitLab friendly format (JUnit XML, Codeclimate)
upload_time2024-05-15 00:51:15
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

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
```

### Updating

via pip:

```shell
pip install ansible-lint-gitlab --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` 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.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",
    "name": "ansible-lint-gitlab",
    "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/97/f1/d75e9336facc1fdfa0df7c4bdf62409da6b44bddc61667a714d7d6f96dd0/ansible_lint_gitlab-1.0.0.tar.gz",
    "platform": null,
    "description": "# Ansible Lint GitLab\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\n```\n\n### Updating\n\nvia pip:\n\n```shell\npip install ansible-lint-gitlab --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` 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.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 format (JUnit XML, Codeclimate)",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/devalphakilo/ansible-lint-gitlab"
    },
    "split_keywords": [
        "ansible",
        " json",
        " gitlab",
        " ci/cd",
        " xml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f6376d460df113e311c50c50efe25ee13982c9a694bfc1171c6cf1a43602717",
                "md5": "7203998ed2affe6f9925c2cdd93ec49d",
                "sha256": "d8d817bbf51191f620eed809d76e745a2c3aa946f78999ec8893f34e447f9c5c"
            },
            "downloads": -1,
            "filename": "ansible_lint_gitlab-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7203998ed2affe6f9925c2cdd93ec49d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5156,
            "upload_time": "2024-05-15T00:51:13",
            "upload_time_iso_8601": "2024-05-15T00:51:13.936727Z",
            "url": "https://files.pythonhosted.org/packages/4f/63/76d460df113e311c50c50efe25ee13982c9a694bfc1171c6cf1a43602717/ansible_lint_gitlab-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97f1d75e9336facc1fdfa0df7c4bdf62409da6b44bddc61667a714d7d6f96dd0",
                "md5": "aa85e06b8356693962e42ee67d829ae4",
                "sha256": "bc2c79308a347c47aaca732540ad8ca790c15506fa863a652af6e0f9caba050b"
            },
            "downloads": -1,
            "filename": "ansible_lint_gitlab-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "aa85e06b8356693962e42ee67d829ae4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4466,
            "upload_time": "2024-05-15T00:51:15",
            "upload_time_iso_8601": "2024-05-15T00:51:15.428439Z",
            "url": "https://files.pythonhosted.org/packages/97/f1/d75e9336facc1fdfa0df7c4bdf62409da6b44bddc61667a714d7d6f96dd0/ansible_lint_gitlab-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 00:51:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "devalphakilo",
    "github_project": "ansible-lint-gitlab",
    "github_not_found": true,
    "lcname": "ansible-lint-gitlab"
}
        
Elapsed time: 4.80858s