{ "info": { "author": "qiqiming", "author_email": "tiedanqi@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# python-ecs-deploy\n\n[![GitHub](https://img.shields.io/github/license/qiqiming/python-ecs-deploy.svg)](https://github.com/qiqiming/python-ecs-deploy/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/python-ecs-deploy.svg?style=popout)](https://pypi.org/project/python-ecs-deploy/)\n\ninspired by , rewrite use python3\n\nThis script use ecs client of boto3 to instigate an automatic blue/green deployment.\nIt only updates the tag of the images in the task definition with the same image name you provided\nThis allows you to easily implement CI/CD\n\n## usage\n```\necs-deploy\n\noptional arguments:\n -h, --help show this help message and exit\n -k AWS_ACCESS_KEY, --aws-access-key AWS_ACCESS_KEY AWS Access Key ID. May also be set as environment variable AWS_ACCESS_KEY_ID\n -s AWS_SECRET_ACCESS_KEY, --aws-secret-key AWS_SECRET_ACCESS_KEY AWS Secret Access Key. May also be set as environment variable AWS_SECRET_ACCESS_KEY\n -r region_name, --region region_name AWS Region Name. May also be set as environment variable AWS_DEFAULT_REGION\n -c cluster_name, --cluster cluster_name Name of ECS cluster\n -n service_name, --service-name service_name Name of service to deploy\n -i images [images ...], --images images [images ...] Name of Docker image to run(support multiple images)\n ex: --images repo/image:1.0 repo2/image2:8.0\n --scale nums Modifies the number(positive) of container instances of the current Task Definition\n```\n\n## example\n\nYou have a task definition that contains two docker images(aaa/foo:1.0, bbb/bar:2.0)\n\nUpdate the service with the new image:\n\n```\necs-deploy -c test_cluster -n test_service -i aaa/foo:1.1 bbb/bar:3.0\n```\n\nScale current service number of tasks\n\n```\necs-deploy -c test_cluster -n test_service --scale 5\n```\n\n## Installation\n\n```\npip install python-ecs-depl\n```\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://github.com/qiqiming/python-ecs-deploy", "keywords": "python aws-ecs ecs", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-ecs-deploy", "package_url": "https://pypi.org/project/python-ecs-deploy/", "platform": "", "project_url": "https://pypi.org/project/python-ecs-deploy/", "project_urls": { "Homepage": "https://github.com/qiqiming/python-ecs-deploy" }, "release_url": "https://pypi.org/project/python-ecs-deploy/0.0.4/", "requires_dist": [ "boto3" ], "requires_python": "", "summary": "This script use ecs client of boto3 to instigate an automatic blue/green deployment.", "version": "0.0.4" }, "last_serial": 4292755, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "cf6d1e89277a59c71d32eeeeb0ea0aec", "sha256": "e95f37b67dd95843999077e52214afc9ac653c8c1631378ffa3790a7c4d494eb" }, "downloads": -1, "filename": "python-ecs-deploy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cf6d1e89277a59c71d32eeeeb0ea0aec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4084, "upload_time": "2018-09-16T15:38:17", "url": "https://files.pythonhosted.org/packages/a4/94/399ea0075153a76f2b03f21d215b0ead4f1b2d52f6015782e72f72e1a357/python-ecs-deploy-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "4de8775a20a93adafcc7031861e73b12", "sha256": "ab96a79f4e454bc67fa2eea126a9c79b08f29d8d7440095cccdff33ca126096f" }, "downloads": -1, "filename": "python_ecs_deploy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4de8775a20a93adafcc7031861e73b12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6093, "upload_time": "2018-09-20T13:47:58", "url": "https://files.pythonhosted.org/packages/83/da/2e09bca370a2697bdd443f692da30c50d409b450aa6dae37c78557af4b5a/python_ecs_deploy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d14ef5594a357e39758c4ebbd88d6b1f", "sha256": "60a5a2cf5794d47dcba58e97a73cc420305658ccc06133060428c932a525116c" }, "downloads": -1, "filename": "python-ecs-deploy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d14ef5594a357e39758c4ebbd88d6b1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4985, "upload_time": "2018-09-20T13:48:00", "url": "https://files.pythonhosted.org/packages/c2/42/dbe17f5fa00db7eb8c9d7b21e2f22cf49c3fda39ad1f4543b5c0f28f93fd/python-ecs-deploy-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4de8775a20a93adafcc7031861e73b12", "sha256": "ab96a79f4e454bc67fa2eea126a9c79b08f29d8d7440095cccdff33ca126096f" }, "downloads": -1, "filename": "python_ecs_deploy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4de8775a20a93adafcc7031861e73b12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6093, "upload_time": "2018-09-20T13:47:58", "url": "https://files.pythonhosted.org/packages/83/da/2e09bca370a2697bdd443f692da30c50d409b450aa6dae37c78557af4b5a/python_ecs_deploy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d14ef5594a357e39758c4ebbd88d6b1f", "sha256": "60a5a2cf5794d47dcba58e97a73cc420305658ccc06133060428c932a525116c" }, "downloads": -1, "filename": "python-ecs-deploy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d14ef5594a357e39758c4ebbd88d6b1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4985, "upload_time": "2018-09-20T13:48:00", "url": "https://files.pythonhosted.org/packages/c2/42/dbe17f5fa00db7eb8c9d7b21e2f22cf49c3fda39ad1f4543b5c0f28f93fd/python-ecs-deploy-0.0.4.tar.gz" } ] }