{ "info": { "author": "Andrew Leech", "author_email": "andrew@alelec.net", "bugtrack_url": null, "classifiers": [], "description": "gitlab-release\n===============\n\nThis Python utility is used to upload specific release\nfiles from a gitlab-ci build to the `Tags` release page on gitlab.\n\nThis allows a file or (generated) zip with arbitrary structure to be added to \na release for convenient download, as opposed to the artifacts which are \nsomewhat constrained to always be zipped with a folder structure taken \ndirectly from the filesystem.\n\nIt can be used in a ``.gitlab-ci.yml`` stage like:\n\n::\n\n release:\n stage: release\n image: python3\n script:\n - pip3 install gitlab-release\n - gitlab-release *.zip\n only:\n - tags\n\nOr if you want to bundle a bunch of files into a zip and upload that\n\n::\n\n release:\n stage: release\n image: python3\n script:\n - pip3 install gitlab-release\n - gitlab-release --zip \"release-${CI_COMMIT_TAG}.zip\" *\n only:\n - tags\n\nOr if you just want links to your job artifacts added to the release:\n\n::\n\n release:\n stage: release\n image: python3\n script:\n - pip3 install gitlab-release\n - gitlab-release --link-artifact *.zip\n artifacts:\n paths:\n # Must include files passed to gitlab_release\n - ./*.zip\n only:\n - tags\n\nOn any tagged release the files specified on the command line will then be\navailable on the `Tags` tab of your project.\n\n`gitlab-release` requires Python 3.\n\n\nSetting up the required private token\n---------------------------------------\n\nThis tool requires you to put a copy of a ``PRIVATE_TOKEN`` in a\nsecret CI variable for the project to give it access to post the files\nback to the project.\n\nFor this create a new `Personal Access Token` at\nhttps://gitlab.com/profile/personal_access_tokens and use that. (You\ncould also use your personal token from\nhttps://gitlab.com/profile/account, but this is `not recommended`.)\n\nMake sure you enable `Access your API` when creating the token. The\n`name` of the token is just for you to remeber what it's for, it wont\naffeect operation.\n\nAdd it to a secret variable called ``PRIVATE_TOKEN`` for the project you\u2019re\nbuilding at ``https://gitlab.com///settings/ci_cd>``.\n\n\nUsage\n-----\n\n::\n\n usage: gitlab-release [-h] [--server SERVER] [--project_id PROJECT_ID]\n [--release_tag RELEASE_TAG] [--timeout TIMEOUT]\n [--ignore_cert] [--job-id JOB_ID] [--artifact-zip]\n [--zip ZIP] [--description DESCRIPTION]\n [--link-artifact] [--private-token PRIVATE_TOKEN]\n [files [files ...]]\n\n\n\n========================= ===== \npositional arguments \n========================= =====\nfiles file names and/or globs of files to upload\n========================= ===== \n\n\n========================= ===== \noptional arguments \n========================= ===== \n--description DESCRIPTION Release description to be put in front of the files\n--timeout TIMEOUT Timeout for http requests\n--ignore_cert Ignore ssl certificate failures\n--link-artifact Link files as artifact from the current job instead of uploading\n--artifact-zip Link artifacts zip from current job\n--job-id JOB_ID Override the job number used for artifacts\n--zip ZIP Add all provided files to provided zip name and upload that\n--server SERVER url of gitlab server (default: $CI_PROJECT_URL)\n--project_id PROJECT_ID Unique id of project, available in Project Settings/General (default: $CI_PROJECT_ID)\n--release_tag RELEASE_TAG Tag to upload files against (default: $CI_BUILD_TAG)\n--private_token login token with permissions to commit to repo\n-h, --help show this help message and exit\n========================= ===== \n\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-release", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gitlab-release", "package_url": "https://pypi.org/project/gitlab-release/", "platform": "", "project_url": "https://pypi.org/project/gitlab-release/", "project_urls": { "Homepage": "https://gitlab.com/alelec/gitlab-release" }, "release_url": "https://pypi.org/project/gitlab-release/3.5/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Utility for use in gitlab ci to upload files (from build) to the current projects release (tag)", "version": "3.5" }, "last_serial": 5479796, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "942ef31cc7d31dc20df32b73df0c0e66", "sha256": "b5a6688292c0d93fb4197fc2561a07c92d3a676faf6a24dbfa05ddd6b29323cc" }, "downloads": -1, "filename": "gitlab_release-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "942ef31cc7d31dc20df32b73df0c0e66", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5509, "upload_time": "2017-06-09T00:59:50", "url": "https://files.pythonhosted.org/packages/20/1b/841caef7b259ad525506733f380ffeb6c3499fe7fea1b5460b80fb632642/gitlab_release-1.0-py3-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "23b33c6f0afbfdb8be04d709654a6c38", "sha256": "b2b37053aa75fdf99d4b580b31986fe52d455efd5a03aab0cd0dbba7b5346115" }, "downloads": -1, "filename": "gitlab_release-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "23b33c6f0afbfdb8be04d709654a6c38", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5584, "upload_time": "2017-06-09T01:05:04", "url": "https://files.pythonhosted.org/packages/c6/84/5baa86d1c906a7b4b08af0352017a402927f2d4a011e2994c5e5e5ee40bc/gitlab_release-1.1-py3-none-any.whl" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "7140c91f9432b13fc178f42519e41cfb", "sha256": "d8e1993d7b50cff7a204b41e2e8a9f27e748d3aeade5d78ddd26b787fa610e50" }, "downloads": -1, "filename": "gitlab_release-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7140c91f9432b13fc178f42519e41cfb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5597, "upload_time": "2017-06-23T04:52:35", "url": "https://files.pythonhosted.org/packages/c5/6a/901b93b866f36615f17fb971d0538352725af0904449a53b8a105e9db600/gitlab_release-1.2-py3-none-any.whl" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "d9f3c2eb3352deedfeca62d14367dca3", "sha256": "1223c5c9787d326ae9ec1eae761b57e6f2b9183d6c2388a79047832c0e40bdc3" }, "downloads": -1, "filename": "gitlab_release-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d9f3c2eb3352deedfeca62d14367dca3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5737, "upload_time": "2017-07-20T07:41:55", "url": "https://files.pythonhosted.org/packages/ec/91/ec3582e85065adc47475f44ba9be40429504e84317d39addac07f0e732bd/gitlab_release-1.3-py3-none-any.whl" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "f8a90900135e8a250a3d12bd3d34e679", "sha256": "5d318651afc992e5234f702663da5cb4d8828eb20dca9cbaa68d39a5fd21761d" }, "downloads": -1, "filename": "gitlab_release-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "f8a90900135e8a250a3d12bd3d34e679", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5719, "upload_time": "2017-07-20T07:54:57", "url": "https://files.pythonhosted.org/packages/51/b1/2cf95ce39d5c9b584a51c7e5075ca2342663e866e0f07209fcc1c2bb27b4/gitlab_release-1.4-py3-none-any.whl" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "7882b42daa425169203d264afa956ebc", "sha256": "29063d00449d3c876a85192a77881a0d036efd8d4ec3792277b7720d45c7862f" }, "downloads": -1, "filename": "gitlab_release-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "7882b42daa425169203d264afa956ebc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5716, "upload_time": "2017-07-20T07:59:04", "url": "https://files.pythonhosted.org/packages/23/88/e3197826c0de5dba4b81680b1a55dceed881cfad263c7282251ac6faf1bc/gitlab_release-1.5-py3-none-any.whl" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "d8fb64e1ca0e8ef420ba1443b6cfea4d", "sha256": "13448454be221dbded085da59688694a813f3f745717ab9ea9a5e8dc630dc48c" }, "downloads": -1, "filename": "gitlab_release-1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "d8fb64e1ca0e8ef420ba1443b6cfea4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5688, "upload_time": "2017-07-20T08:04:58", "url": "https://files.pythonhosted.org/packages/4d/42/f868a096b7f5d83aefbaa1f2727843a5f2ffd12984285b64e248f58f3b41/gitlab_release-1.6-py3-none-any.whl" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "a5ce67db530cf6cb2bc8ab49ec913f95", "sha256": "d031eb33446ca1c4f71d4712d94ddfcc8326df5d49a55d1b37aa620eb38b414f" }, "downloads": -1, "filename": "gitlab_release-2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a5ce67db530cf6cb2bc8ab49ec913f95", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5635, "upload_time": "2017-07-20T20:46:43", "url": "https://files.pythonhosted.org/packages/a0/14/5e76f11a2dd242dc475f77d1e13993453d26ca8adf20722da6e5f395f0e7/gitlab_release-2.0-py3-none-any.whl" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "4f5d865d327bca3614cd2cf203ce3e34", "sha256": "e167d56bf9cb102708b2f27c15115e963ff8854ef45ce698155202472cc70447" }, "downloads": -1, "filename": "gitlab_release-2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4f5d865d327bca3614cd2cf203ce3e34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5698, "upload_time": "2017-07-27T00:08:33", "url": "https://files.pythonhosted.org/packages/43/34/961985bb604603cbfa6374c7bb949e531959f85a03d89b1f0a8dd2c63553/gitlab_release-2.1-py3-none-any.whl" } ], "2.2": [ { "comment_text": "", "digests": { "md5": "dd8f7f68b083119d7ecf784dd5b00db7", "sha256": "c9a85806b0c83a395503534a893a1152624be371fdceb30a9d2c47efb7e18cbe" }, "downloads": -1, "filename": "gitlab_release-2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "dd8f7f68b083119d7ecf784dd5b00db7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5699, "upload_time": "2017-07-27T00:19:15", "url": "https://files.pythonhosted.org/packages/f1/9b/7bd82a1f29446d1303e7963227c792dbe4889c0acda3d02282e7c7c29c8a/gitlab_release-2.2-py3-none-any.whl" } ], "2.3": [ { "comment_text": "", "digests": { "md5": "e84ea8e1d678016da0d1723d521f8851", "sha256": "3ec34ecdb929e5360b44eeef635ccfa7fecc2e1261ec1caf5afc292bf19e21d8" }, "downloads": -1, "filename": "gitlab_release-2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e84ea8e1d678016da0d1723d521f8851", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5739, "upload_time": "2017-08-04T23:39:42", "url": "https://files.pythonhosted.org/packages/a4/97/ee87231840516da9820c02b447868955d46d250f25b7d7f73727120d7cf2/gitlab_release-2.3-py3-none-any.whl" } ], "2.4": [ { "comment_text": "", "digests": { "md5": "ae35702dcb607cfbc869e0da62235679", "sha256": "aa52dd73cc629a6c71317c050aff9826155553b2ad14be45f4e57b36fe99d7e4" }, "downloads": -1, "filename": "gitlab_release-2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ae35702dcb607cfbc869e0da62235679", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5013, "upload_time": "2018-04-03T05:58:00", "url": "https://files.pythonhosted.org/packages/4a/38/548c12072e408f14c424bfce25cdf59ab2f87f9026f1fb722d5d28c04f7f/gitlab_release-2.4-py3-none-any.whl" } ], "2.5": [ { "comment_text": "", "digests": { "md5": "46722f7e5fbbe5177c90b26ab3c4b5a0", "sha256": "4640f29739356ed021011627d72ed39b4f6d801a3b82de27582fc1797f2e5520" }, "downloads": -1, "filename": "gitlab_release-2.5-py3-none-any.whl", "has_sig": false, "md5_digest": "46722f7e5fbbe5177c90b26ab3c4b5a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5315, "upload_time": "2019-03-19T10:35:21", "url": "https://files.pythonhosted.org/packages/2c/c6/56c8e198ab54ddcc3f43cf2d3b44abcd02f3a54b73e06f2bb9c16b9a8753/gitlab_release-2.5-py3-none-any.whl" } ], "2.6": [ { "comment_text": "", "digests": { "md5": "af0c46a3ab1550a8b051f63b6e5ba90c", "sha256": "339f7c0217f5137f8565952c490034584fb54e7db6e772ee33dbcb23449bd623" }, "downloads": -1, "filename": "gitlab_release-2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "af0c46a3ab1550a8b051f63b6e5ba90c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5387, "upload_time": "2019-03-19T10:52:00", "url": "https://files.pythonhosted.org/packages/83/c6/bf63d285862e2294d8c7816290531a68e003a33ceaeb0ee0ff3e4798890d/gitlab_release-2.6-py3-none-any.whl" } ], "2.7": [ { "comment_text": "", "digests": { "md5": "492f2093c2246d079c5e6575480dbc50", "sha256": "1338d3f73b612e55d589c790b54c13aa6dc06157087194595900d7a8ffa843ff" }, "downloads": -1, "filename": "gitlab_release-2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "492f2093c2246d079c5e6575480dbc50", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5391, "upload_time": "2019-03-19T11:19:18", "url": "https://files.pythonhosted.org/packages/1b/3d/6df2c54a0e6893781c066637db5ea42fddcf08704543394b5b54b7129a92/gitlab_release-2.7-py3-none-any.whl" } ], "3.0": [ { "comment_text": "", "digests": { "md5": "fe585b3cd036fb80b606cbabe2fe33a7", "sha256": "8b287416b1a039d1139161f05d611a429865b7fa888f9a4a3eff25216b02e45b" }, "downloads": -1, "filename": "gitlab_release-3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fe585b3cd036fb80b606cbabe2fe33a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5598, "upload_time": "2019-03-19T20:40:18", "url": "https://files.pythonhosted.org/packages/15/22/86da5eb6e79ca07d400b80810ba99cd12702bd67d9eb4d9ba1884f27703e/gitlab_release-3.0-py3-none-any.whl" } ], "3.1": [ { "comment_text": "", "digests": { "md5": "eaa53d01e1df0e58eb18ddf73ae36136", "sha256": "b23ae955c1379677c97e5d97e24f1fa9df880fc62473167733675dd9529df2a4" }, "downloads": -1, "filename": "gitlab_release-3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "eaa53d01e1df0e58eb18ddf73ae36136", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5797, "upload_time": "2019-03-19T21:13:37", "url": "https://files.pythonhosted.org/packages/9a/de/8dfd3ac5703e81a2b398d2ff4a6e8dab08f2857d75a90b18dacf0185292a/gitlab_release-3.1-py3-none-any.whl" } ], "3.2": [ { "comment_text": "", "digests": { "md5": "97bc2b3b565b4b755f495d897cd30496", "sha256": "439a6d63a43ce460902e6780663e9c03daac5f5ae0a180735e5af8ea17c316b2" }, "downloads": -1, "filename": "gitlab_release-3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "97bc2b3b565b4b755f495d897cd30496", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5798, "upload_time": "2019-03-19T21:33:55", "url": "https://files.pythonhosted.org/packages/4d/f1/6067b4278c33a27abf2bd0a5db204feb97a80fa27f65f34710b760243b33/gitlab_release-3.2-py3-none-any.whl" } ], "3.3": [ { "comment_text": "", "digests": { "md5": "3738d0a1a273e1fdc113fb1f59311f55", "sha256": "3c291685e816287012738801a5eab282bb24dddbfad5a4a24cc6cf54ec78ec3b" }, "downloads": -1, "filename": "gitlab_release-3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3738d0a1a273e1fdc113fb1f59311f55", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5842, "upload_time": "2019-06-07T06:59:20", "url": "https://files.pythonhosted.org/packages/0d/45/3f25d8923181a8009d09178d9a27352b231bd40a224ff0ae454ed5b23d97/gitlab_release-3.3-py3-none-any.whl" } ], "3.5": [ { "comment_text": "", "digests": { "md5": "f9c108c99bb35560e9a6c02cc5196d74", "sha256": "b7779bb22815f40f02e9b5871925717afa95ec968b47f8424eff2c3bbfb73219" }, "downloads": -1, "filename": "gitlab_release-3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f9c108c99bb35560e9a6c02cc5196d74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5916, "upload_time": "2019-07-03T06:35:12", "url": "https://files.pythonhosted.org/packages/93/ee/8da5eea6a0a775c91ee5a8462539e0a2eeddcb4e31ad493b766eb77cbeb1/gitlab_release-3.5-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9c108c99bb35560e9a6c02cc5196d74", "sha256": "b7779bb22815f40f02e9b5871925717afa95ec968b47f8424eff2c3bbfb73219" }, "downloads": -1, "filename": "gitlab_release-3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f9c108c99bb35560e9a6c02cc5196d74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5916, "upload_time": "2019-07-03T06:35:12", "url": "https://files.pythonhosted.org/packages/93/ee/8da5eea6a0a775c91ee5a8462539e0a2eeddcb4e31ad493b766eb77cbeb1/gitlab_release-3.5-py3-none-any.whl" } ] }