{ "info": { "author": "Reid Beels", "author_email": "reid@thedyrt.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# await-ccb\n\nGiven a git SHA, waits for a corresponding [Google Cloud Container Builder](https://cloud.google.com/container-builder/) build to complete successfully.\n\n- If a successful build exists, exits 0.\n- If a running or queued build exists, polls until no running builds are found\n or the --poll-limit is reached. Exits 0 if any are successful, 1 on failure.\n- If no running/queued build is found in the initial search, repeats the search\n up to --search-limit times to see if a running build appears.\n\n## Install\n\n pip install await-ccb\n\n## Usage\n\n```\nUsage:\n await-ccb -c credentials.json -r repo-name -s git-sha\n [-t -p my-project --poll-interval 5 --poll-limit 360 --search-limit 5]\n await-ccb --help\n await-ccb --version\n\nOptions:\n -c CREDENTIALS_JSON, --credentials CREDENTIALS_JSON\n Path to service account credentials in Google JSON format\n\n -p PROJECT, --project PROJECT\n Google Code Project ID, defaults to project from credentials\n\n -r REPO, --repo REPO\n Repo name, as known to CCB (e.g. github-thedyrt-await-ccb)\n\n -s SHA, --sha SHA\n Git SHA to observer builds for\n\n -t, --trigger\n Trigger a build if none are found. Requires an existing build trigger\n to be configured for the repo in the Google Cloud Console.\n\n --search-limit LIMIT\n Number of attempts to make in the initial search for running builds\n [Default: 3]\n\n --poll-limit LIMIT\n Number of poll requests to make before giving waiting on running builds\n to complete. Total polling time is --poll-limit * --poll-interval.\n [Default: 360]\n\n --poll-interval SECONDS\n Number of seconds to wait between requests\n [Default: 5]\n\n -h, --help\n Show this help\n\n --version\n Show version info\n\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thedyrt/await-ccb", "keywords": "google cloud container builder", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "await-ccb", "package_url": "https://pypi.org/project/await-ccb/", "platform": "", "project_url": "https://pypi.org/project/await-ccb/", "project_urls": { "Homepage": "https://github.com/thedyrt/await-ccb" }, "release_url": "https://pypi.org/project/await-ccb/0.1.3/", "requires_dist": [ "google-auth", "google-auth-httplib2", "google-api-python-client", "docopt" ], "requires_python": "", "summary": "Waits for Google Cloud Container Build to complete", "version": "0.1.3" }, "last_serial": 3804396, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a172415897a4ba716d3695efa9f21f65", "sha256": "c91a657098ef94c633e98490812aec8c23501fe5d9e193c4dd54f7e0e85d81c3" }, "downloads": -1, "filename": "await_ccb-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a172415897a4ba716d3695efa9f21f65", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5486, "upload_time": "2018-04-24T18:03:56", "url": "https://files.pythonhosted.org/packages/e9/d9/cebc0e244b0c45f6c1615b76db9c237a05d35dff7389b5457e5c1356bb9f/await_ccb-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e82369a54935ac6e012200220a30e82", "sha256": "0b86e4a9d9ca6851fa707ec57b294612a7369166096ead7b798ff0bc747a477d" }, "downloads": -1, "filename": "await_ccb-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3e82369a54935ac6e012200220a30e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3596, "upload_time": "2018-04-24T18:03:57", "url": "https://files.pythonhosted.org/packages/ce/0e/7a2c6d65ec5df2f38291d53257bcec092db95eb7b6762b3a17c96121cca6/await_ccb-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3fbeb0e6a93cd55713a9742e6c8500e0", "sha256": "4f6ef781bae5e29c4b1570aaf786d4b9c8c1ed573a5356b0d55de9a72bd09872" }, "downloads": -1, "filename": "await_ccb-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3fbeb0e6a93cd55713a9742e6c8500e0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5556, "upload_time": "2018-04-24T18:11:41", "url": "https://files.pythonhosted.org/packages/cf/a0/0591f1e60a794782b8c7159add6c27841ff7d0fbf65db660288ce077b96f/await_ccb-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "292958482a7e84ff41ab7cb7a74c959a", "sha256": "ed7c09af08777d00b503e22f1dc7a0bd8c9a4bc567c966ce7956810d3fc5bfd7" }, "downloads": -1, "filename": "await_ccb-0.1.1.tar.gz", "has_sig": false, "md5_digest": "292958482a7e84ff41ab7cb7a74c959a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3608, "upload_time": "2018-04-24T18:11:42", "url": "https://files.pythonhosted.org/packages/74/fb/9fa9566b71a82f269b61114fdc25895e8a3aedb296afa99af5695802cfc4/await_ccb-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4ccf5eef4f9736633de4fb2438e01904", "sha256": "b68f310fafcff3ccf45a314b727537b4344f7d7eac4650d8f32eb582b932e907" }, "downloads": -1, "filename": "await_ccb-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4ccf5eef4f9736633de4fb2438e01904", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5675, "upload_time": "2018-04-24T19:44:47", "url": "https://files.pythonhosted.org/packages/de/65/b40656f9e77ac54e1f25da847f3db5c3b83837b18a89227cf81b031068d8/await_ccb-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3dcbb3f45196815d360fe0910db78beb", "sha256": "ab64a1995d9110e66be66731abfb8f75a3c7288230b1b27bbf4d5734e423f569" }, "downloads": -1, "filename": "await_ccb-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3dcbb3f45196815d360fe0910db78beb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3729, "upload_time": "2018-04-24T19:44:48", "url": "https://files.pythonhosted.org/packages/43/5c/789a31c81918ded208dbc2fb58ae53e1d3acbe55fbd3268b7c711b85f051/await_ccb-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "64cd4fdcffa35f1794b3e3f43db6f506", "sha256": "02fca54cc84aa594c0d05c93b863887fcad63c8343df4eacb6b4c5a2698a51bb" }, "downloads": -1, "filename": "await_ccb-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64cd4fdcffa35f1794b3e3f43db6f506", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5834, "upload_time": "2018-04-24T20:11:55", "url": "https://files.pythonhosted.org/packages/6f/ac/61f07b078215a83b92cd45ebcab4e2d8f84157ff4a61c1310135173e8bcd/await_ccb-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9708b18c434fbc7b24074b961918df18", "sha256": "21e80decab9b1e41ff36e527d3b9b480d45e6ed660aa8be1f2aaaf51fc98a158" }, "downloads": -1, "filename": "await_ccb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9708b18c434fbc7b24074b961918df18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3874, "upload_time": "2018-04-24T20:11:56", "url": "https://files.pythonhosted.org/packages/96/02/d9668c4adad7223e2f1083243d56bd3d904a805376c460d9869ebba84e02/await_ccb-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64cd4fdcffa35f1794b3e3f43db6f506", "sha256": "02fca54cc84aa594c0d05c93b863887fcad63c8343df4eacb6b4c5a2698a51bb" }, "downloads": -1, "filename": "await_ccb-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64cd4fdcffa35f1794b3e3f43db6f506", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5834, "upload_time": "2018-04-24T20:11:55", "url": "https://files.pythonhosted.org/packages/6f/ac/61f07b078215a83b92cd45ebcab4e2d8f84157ff4a61c1310135173e8bcd/await_ccb-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9708b18c434fbc7b24074b961918df18", "sha256": "21e80decab9b1e41ff36e527d3b9b480d45e6ed660aa8be1f2aaaf51fc98a158" }, "downloads": -1, "filename": "await_ccb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9708b18c434fbc7b24074b961918df18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3874, "upload_time": "2018-04-24T20:11:56", "url": "https://files.pythonhosted.org/packages/96/02/d9668c4adad7223e2f1083243d56bd3d904a805376c460d9869ebba84e02/await_ccb-0.1.3.tar.gz" } ] }