packer-ami-workflow


Namepacker-ami-workflow JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/MacHu-GWU/packer_ami_workflow-project
SummaryA workflow for large scale Amazon Machine Image build project.
upload_time2024-06-21 19:06:25
maintainerSanhe Hu
docs_urlNone
authorSanhe Hu
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
.. image:: https://readthedocs.org/projects/packer-ami-workflow/badge/?version=latest
    :target: https://packer-ami-workflow.readthedocs.io/en/latest/
    :alt: Documentation Status

.. image:: https://github.com/MacHu-GWU/packer_ami_workflow-project/actions/workflows/main.yml/badge.svg
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/actions?query=workflow:CI

.. image:: https://codecov.io/gh/MacHu-GWU/packer_ami_workflow-project/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/MacHu-GWU/packer_ami_workflow-project

.. image:: https://img.shields.io/pypi/v/packer-ami-workflow.svg
    :target: https://pypi.python.org/pypi/packer-ami-workflow

.. image:: https://img.shields.io/pypi/l/packer-ami-workflow.svg
    :target: https://pypi.python.org/pypi/packer-ami-workflow

.. image:: https://img.shields.io/pypi/pyversions/packer-ami-workflow.svg
    :target: https://pypi.python.org/pypi/packer-ami-workflow

.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/blob/main/release-history.rst

.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project

------

.. image:: https://img.shields.io/badge/Link-Document-blue.svg
    :target: https://packer-ami-workflow.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/Link-API-blue.svg
    :target: https://packer-ami-workflow.readthedocs.io/en/latest/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg
    :target: `install`_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
    :target: https://pypi.org/pypi/packer-ami-workflow#files


Welcome to ``packer_ami_workflow`` Documentation
==============================================================================
.. image:: https://packer-ami-workflow.readthedocs.io/en/latest/_static/packer_ami_workflow-logo.png
    :target: https://packer-ami-workflow.readthedocs.io/en/latest/

我在生产实践中使用 packer 来构建 `Amazon Machine Image <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html>`_ 总结了一套最佳实践, 用于维护 AMI 数量非常多, Provision 逻辑非常复杂的项目. 其核心思想是将一个复杂的 provision 过程分拆成多个 step, 然后这些 step 按照顺序组合成一个 workflow, 运维人员可以每隔一段时间就重新运行一次这个 workflow 以更新镜像.

为了方便开发人员能快速上手这套最佳实践, 我设计了一套目录结构以及框架, 使得即时没有经验的开发者都可以用类似填表那样的傻瓜式操作管理复杂项目.


.. _install:

Install
------------------------------------------------------------------------------

``packer_ami_workflow`` is released on PyPI, so all you need is to:

.. code-block:: console

    $ pip install packer-ami-workflow

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade packer-ami-workflow

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MacHu-GWU/packer_ami_workflow-project",
    "name": "packer-ami-workflow",
    "maintainer": "Sanhe Hu",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "husanhe@gmail.com",
    "keywords": null,
    "author": "Sanhe Hu",
    "author_email": "husanhe@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/da/25afb9e441078bfadab10c48beca058f80121fe30b19c72847558e42979a/packer_ami_workflow-0.1.2.tar.gz",
    "platform": "Windows",
    "description": "\n.. image:: https://readthedocs.org/projects/packer-ami-workflow/badge/?version=latest\n    :target: https://packer-ami-workflow.readthedocs.io/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/packer_ami_workflow-project/actions/workflows/main.yml/badge.svg\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/packer_ami_workflow-project/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/MacHu-GWU/packer_ami_workflow-project\n\n.. image:: https://img.shields.io/pypi/v/packer-ami-workflow.svg\n    :target: https://pypi.python.org/pypi/packer-ami-workflow\n\n.. image:: https://img.shields.io/pypi/l/packer-ami-workflow.svg\n    :target: https://pypi.python.org/pypi/packer-ami-workflow\n\n.. image:: https://img.shields.io/pypi/pyversions/packer-ami-workflow.svg\n    :target: https://pypi.python.org/pypi/packer-ami-workflow\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/blob/main/release-history.rst\n\n.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project\n\n------\n\n.. image:: https://img.shields.io/badge/Link-Document-blue.svg\n    :target: https://packer-ami-workflow.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n    :target: https://packer-ami-workflow.readthedocs.io/en/latest/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Install-blue.svg\n    :target: `install`_\n\n.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n    :target: https://github.com/MacHu-GWU/packer_ami_workflow-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n    :target: https://pypi.org/pypi/packer-ami-workflow#files\n\n\nWelcome to ``packer_ami_workflow`` Documentation\n==============================================================================\n.. image:: https://packer-ami-workflow.readthedocs.io/en/latest/_static/packer_ami_workflow-logo.png\n    :target: https://packer-ami-workflow.readthedocs.io/en/latest/\n\n\u6211\u5728\u751f\u4ea7\u5b9e\u8df5\u4e2d\u4f7f\u7528 packer \u6765\u6784\u5efa `Amazon Machine Image <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html>`_ \u603b\u7ed3\u4e86\u4e00\u5957\u6700\u4f73\u5b9e\u8df5, \u7528\u4e8e\u7ef4\u62a4 AMI \u6570\u91cf\u975e\u5e38\u591a, Provision \u903b\u8f91\u975e\u5e38\u590d\u6742\u7684\u9879\u76ee. \u5176\u6838\u5fc3\u601d\u60f3\u662f\u5c06\u4e00\u4e2a\u590d\u6742\u7684 provision \u8fc7\u7a0b\u5206\u62c6\u6210\u591a\u4e2a step, \u7136\u540e\u8fd9\u4e9b step \u6309\u7167\u987a\u5e8f\u7ec4\u5408\u6210\u4e00\u4e2a workflow, \u8fd0\u7ef4\u4eba\u5458\u53ef\u4ee5\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u5c31\u91cd\u65b0\u8fd0\u884c\u4e00\u6b21\u8fd9\u4e2a workflow \u4ee5\u66f4\u65b0\u955c\u50cf.\n\n\u4e3a\u4e86\u65b9\u4fbf\u5f00\u53d1\u4eba\u5458\u80fd\u5feb\u901f\u4e0a\u624b\u8fd9\u5957\u6700\u4f73\u5b9e\u8df5, \u6211\u8bbe\u8ba1\u4e86\u4e00\u5957\u76ee\u5f55\u7ed3\u6784\u4ee5\u53ca\u6846\u67b6, \u4f7f\u5f97\u5373\u65f6\u6ca1\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\u90fd\u53ef\u4ee5\u7528\u7c7b\u4f3c\u586b\u8868\u90a3\u6837\u7684\u50bb\u74dc\u5f0f\u64cd\u4f5c\u7ba1\u7406\u590d\u6742\u9879\u76ee.\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``packer_ami_workflow`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n    $ pip install packer-ami-workflow\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n    $ pip install --upgrade packer-ami-workflow\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A workflow for large scale Amazon Machine Image build project.",
    "version": "0.1.2",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/packer_ami_workflow/0.1.2#downloads",
        "Homepage": "https://github.com/MacHu-GWU/packer_ami_workflow-project"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e682a606eb6561735247762e1772b03fa09606dd0de6e1bb0cadf409e37fe9b",
                "md5": "22d74db8ed169cf8f8327b9744e70c7e",
                "sha256": "c4a296068594bdcf028043630386ca2ad6e12e64923c5a55483f1df029e5d0dd"
            },
            "downloads": -1,
            "filename": "packer_ami_workflow-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22d74db8ed169cf8f8327b9744e70c7e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 25209,
            "upload_time": "2024-06-21T19:06:23",
            "upload_time_iso_8601": "2024-06-21T19:06:23.403838Z",
            "url": "https://files.pythonhosted.org/packages/5e/68/2a606eb6561735247762e1772b03fa09606dd0de6e1bb0cadf409e37fe9b/packer_ami_workflow-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4da25afb9e441078bfadab10c48beca058f80121fe30b19c72847558e42979a",
                "md5": "0aad7f61df23fb10e0568bd8400e0435",
                "sha256": "a92e8846d9b277db297181a80f1a1d014c44f057ef9829060ab9a95e8c3f609f"
            },
            "downloads": -1,
            "filename": "packer_ami_workflow-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0aad7f61df23fb10e0568bd8400e0435",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24739,
            "upload_time": "2024-06-21T19:06:25",
            "upload_time_iso_8601": "2024-06-21T19:06:25.323484Z",
            "url": "https://files.pythonhosted.org/packages/e4/da/25afb9e441078bfadab10c48beca058f80121fe30b19c72847558e42979a/packer_ami_workflow-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-21 19:06:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MacHu-GWU",
    "github_project": "packer_ami_workflow-project",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "packer-ami-workflow"
}
        
Elapsed time: 1.02746s