{"id":19347204,"url":"https://github.com/dcos/dcos-e2e","last_synced_at":"2025-04-23T05:31:54.795Z","repository":{"id":20286713,"uuid":"89350249","full_name":"dcos/dcos-e2e","owner":"dcos","description":"Spin up and manage DC/OS clusters in test environments","archived":false,"fork":false,"pushed_at":"2022-10-04T03:12:26.000Z","size":20089,"stargazers_count":61,"open_issues_count":29,"forks_count":20,"subscribers_count":61,"default_branch":"master","last_synced_at":"2024-04-09T22:30:07.525Z","etag":null,"topics":["dcos","dcos-testing-guild","minidcos"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcos.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-25T10:55:15.000Z","updated_at":"2023-05-10T03:52:49.000Z","dependencies_parsed_at":"2023-01-11T20:47:34.547Z","dependency_job_id":null,"html_url":"https://github.com/dcos/dcos-e2e","commit_stats":null,"previous_names":[],"tags_count":190,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcos%2Fdcos-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcos%2Fdcos-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcos%2Fdcos-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcos%2Fdcos-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcos","download_url":"https://codeload.github.com/dcos/dcos-e2e/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223909905,"owners_count":17223592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dcos","dcos-testing-guild","minidcos"],"created_at":"2024-11-10T04:14:57.025Z","updated_at":"2024-11-10T04:14:57.646Z","avatar_url":"https://github.com/dcos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|Actions build status|\n\n|Build Status|\n\n|codecov|\n\n|Library Documentation Status| **: Library**\n\n|CLI Documentation Status| **: miniDC/OS**\n\n|project|\n=========\n\n|project| is a tool for spinning up and managing DC/OS clusters in test environments.\nIt includes a Python library and miniDC/OS CLI tools.\n\nSee the full documentation on Read the Docs for the `library`_ and `miniDC/OS`_.\n\n.. contents::\n   :local:\n\nInstallation\n------------\n\n|project| consists of a Python `library`_ and `miniDC/OS`_.\n\nSee the full `miniDC/OS`_ documentation for CLI installation options.\n\nTo install the library, follow the `library installation instructions`_.\n\nPython Library\n--------------\n\nBelow is a small example of using |project| as a Python library with a Docker backend.\nOther backends include AWS and Vagrant.\nSee the `library`_ documentation for more details on these and other features.\n\n.. code:: python\n\n    from pathlib import Path\n\n    from dcos_e2e.backends import Docker\n    from dcos_e2e.cluster import Cluster\n\n    oss_installer = Path('/tmp/dcos_generate_config.sh')\n\n    cluster_backend = Docker()\n    with Cluster(cluster_backend=cluster_backend) as cluster:\n        cluster.install_dcos_from_path(\n            dcos_installer=oss_installer,\n            dcos_config={\n                **cluster.base_config,\n                **{\n                    'check_time': True,\n                },\n            },\n            ip_detect_path=cluster_backend.ip_detect_path,\n        )\n        (master, ) = cluster.masters\n        result = master.run(args=['echo', '1'])\n        print(result.stdout)\n        cluster.wait_for_dcos_oss()\n        cluster.run_with_test_environment(args=['pytest', '-x', 'test_tls.py'])\n\nminiDC/OS CLI\n-------------\n\n|project| also provides multiple command line interface tools.\nThese allow you to create, manage and destroy DC/OS clusters on various backends, such as Docker, Vagrant and AWS.\n\nA typical CLI workflow with the ``minidcos docker`` CLI may look like this:\n\n.. code-block:: bash\n\n   # Fix issues shown by ``minidcos docker doctor``\n   $ minidcos docker doctor\n   $ minidcos docker download-installer\n   $ minidcos docker create ./dcos_generate_config.sh --agents 0\n   default\n   $ minidcos docker wait\n   $ minidcos docker run --test-env --sync-dir /path/to/dcos/checkout pytest -k test_tls\n   ...\n   # Get onto a node\n   $ minidcos docker run bash\n   [master-0]# exit\n   $ minidcos docker destroy\n\n\nEach of these commands and more are described in detail in the full `minidcos docker CLI`_ documentation.\nOther CLI tools include ``minidcos aws`` and ``minidcos vagrant``.\n\nSee the full `miniDC/OS`_ documentation for information on other CLI tools provided by |project|.\n\n.. |Actions build status| image:: https://github.com/dcos/dcos-e2e/workflows/dcos-e2e-test/badge.svg\n.. |Build Status| image:: https://travis-ci.org/dcos/dcos-e2e.svg?branch=master\n   :target: https://travis-ci.org/dcos/dcos-e2e\n.. |codecov| image:: https://codecov.io/gh/dcos/dcos-e2e/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/dcos/dcos-e2e\n.. |Library Documentation Status| image:: https://readthedocs.org/projects/dcos-e2e/badge/?version=latest\n   :target: http://dcos-e2e.readthedocs.io/en/latest/?badge=latest\n   :alt: Library Documentation Status\n.. |CLI Documentation Status| image:: https://readthedocs.org/projects/minidcos/badge/?version=latest\n   :target: http://minidcos.readthedocs.io/en/latest/?badge=latest\n   :alt: CLI Documentation Status\n.. _Homebrew: https://brew.sh\n.. _Linuxbrew: https://docs.brew.sh/Homebrew-on-Linux\n.. _miniDC/OS: https://minidcos.readthedocs.io/en/latest/\n.. _minidcos docker CLI: https://minidcos.readthedocs.io/en/latest/dcos-docker-cli.html\n.. _library: https://dcos-e2e.readthedocs.io/en/latest/\n.. _backends: https://dcos-e2e.readthedocs.io/en/latest/backends.html\n.. |project| replace:: DC/OS E2E\n.. _library installation instructions: https://dcos-e2e.readthedocs.io/en/latest/installation.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcos%2Fdcos-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcos%2Fdcos-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcos%2Fdcos-e2e/lists"}