{ "info": { "author": "Andrew Leech", "author_email": "andrew@alelec.net", "bugtrack_url": null, "classifiers": [], "description": "Gitlab CI Merge Request Tested?\n===============================\n\nWe use informal testing alongside automated CI testing which is documented in our\nmerge requests.\n\nOnce a project member has done some testing, the basic test steps are documented in a\ncomment on the merge request with the tested label attached to that comment by addding\nthe text \"~tested\" to the comment.\n\nThis python script is run as the last step of ci and uses the gitlab api to\ninspect Merge Requests covering the current commit to see if they have a \"tested\" comment.\nIf not, the \"untested\" label is added to the MR.\nIf the tested comment does exist, the \"untested\" label is removed and the \"tested\" one added.\n\nIf the tested comment is not present, the CI job is failed.\n\n\nIt can be used in a gitlab-ci.yml stage like:\n\n.. code:: yaml\n\n stages:\n - test\n - build\n - release\n - tested\n\n < ... snip ... >\n\n mr_tested:\n only:\n - branches\n stage: tested\n image: python:3\n script:\n - pip install gitlab_ci_mr_tested\n - gitlab_ci_mr_tested --token \"${PRIVATE_TOKEN}\" --label \"tested\" --add-untested \"untested\"\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/alelec/gitlab-ci-mr-tested", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gitlab-ci-mr-tested", "package_url": "https://pypi.org/project/gitlab-ci-mr-tested/", "platform": "", "project_url": "https://pypi.org/project/gitlab-ci-mr-tested/", "project_urls": { "Homepage": "https://gitlab.com/alelec/gitlab-ci-mr-tested" }, "release_url": "https://pypi.org/project/gitlab-ci-mr-tested/1.5/", "requires_dist": [ "python-gitlab", "click" ], "requires_python": "", "summary": "Utility for use in gitlab ci to check merge requests have been marked tested", "version": "1.5" }, "last_serial": 4789103, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "4747953a609109c3cc650cb85f5e11ee", "sha256": "b4b77d7c4ade7ce02135e6c8ded3459d3a6b7a0406247bfcbc09901c1365c436" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4747953a609109c3cc650cb85f5e11ee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3702, "upload_time": "2018-10-18T01:07:28", "url": "https://files.pythonhosted.org/packages/2c/cd/a44988dc4f813b8a1e8b53911a562ff93c2b51ba7976716dee8afdc1a370/gitlab_ci_mr_tested-1.0-py3-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "943b716f0d1d8d90089864ed3cf3e4de", "sha256": "117cc2763a7f0bea01a2220fc7359169c9658959e3dad64c8965fe27b50307a9" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "943b716f0d1d8d90089864ed3cf3e4de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3699, "upload_time": "2018-10-18T01:19:08", "url": "https://files.pythonhosted.org/packages/15/29/68b0fb880f2acd7d331826e3e03fcf77c523a1e9eccc10e7b0fd077ef4c7/gitlab_ci_mr_tested-1.1-py3-none-any.whl" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "0a6b9d43824215028cf3b55a6a41c233", "sha256": "329d875b8890352bf4ac90298884a4b58c7d5d4471c1f3daf27477bc21c38f5b" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0a6b9d43824215028cf3b55a6a41c233", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3703, "upload_time": "2018-10-18T22:37:46", "url": "https://files.pythonhosted.org/packages/78/62/d809d19373bf76cc6fb31c0fe46ae8f9cba453d4ab2395f16077a11e660a/gitlab_ci_mr_tested-1.2-py3-none-any.whl" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "060224bc5a9a1f5d03a73644d5d68d58", "sha256": "c129c4bc588cfde7998f404ae96f26641fbc958b0e0b82d875cd67cbc98cb828" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "060224bc5a9a1f5d03a73644d5d68d58", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3845, "upload_time": "2018-10-19T00:07:17", "url": "https://files.pythonhosted.org/packages/b3/78/2e8914174a84c616b1c4627df4c277a7b1c5cb37ca9ee4891c8e50cf1372/gitlab_ci_mr_tested-1.3-py3-none-any.whl" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "524d1e19dacab70a5616335be906ae59", "sha256": "1f202d2c7ff2d949b1d85eb68522612bd72605ed5aeb85a76ba9938a92acc1c6" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "524d1e19dacab70a5616335be906ae59", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3918, "upload_time": "2019-02-06T23:57:36", "url": "https://files.pythonhosted.org/packages/ab/ea/1415d17562c8e0d8fb6f559830d18044b655447e3768d4e274b873ba6868/gitlab_ci_mr_tested-1.4-py3-none-any.whl" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "c64c256bf497e4d94825e4debcf6e648", "sha256": "3efa6fe7290342ea1064d26b45c59867d4080f83818e92c7747a9df62cb08298" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c64c256bf497e4d94825e4debcf6e648", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3923, "upload_time": "2019-02-07T00:11:44", "url": "https://files.pythonhosted.org/packages/87/96/2d2439fe4546bdd22ee7c7b5fd863dfbc7bd12d2a62d896da6ad5019509e/gitlab_ci_mr_tested-1.5-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c64c256bf497e4d94825e4debcf6e648", "sha256": "3efa6fe7290342ea1064d26b45c59867d4080f83818e92c7747a9df62cb08298" }, "downloads": -1, "filename": "gitlab_ci_mr_tested-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c64c256bf497e4d94825e4debcf6e648", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3923, "upload_time": "2019-02-07T00:11:44", "url": "https://files.pythonhosted.org/packages/87/96/2d2439fe4546bdd22ee7c7b5fd863dfbc7bd12d2a62d896da6ad5019509e/gitlab_ci_mr_tested-1.5-py3-none-any.whl" } ] }