commit | 940afab6b1f247ea2692fd4ed48dfb85fdc30a13 | [log] [tgz] |
---|---|---|
author | Jiang Yan Xu <yan@jxu.me> | Fri May 01 12:02:23 2015 -0700 |
committer | Jiang Yan Xu <yan@jxu.me> | Tue May 05 14:36:10 2015 -0700 |
tree | 98f35a7a3d6ec4734d5c7c939d1534e5de987d76 | |
parent | af4a2914e0614cf1c8662cbed98db6aa369dd709 [diff] |
Fix a test so that now tox doesn't require the mesos.native egg. - This makes it easier to get people started.
Mysos is an Apache Mesos framework for running MySQL instances. It dramatically simplifies the management of a MySQL cluster and is designed to offer:
Mysos is also being proposed as a project in the Apache Incubator.
A user guide is available. Documentation improvements are always welcome, so please send patches our way.
The project maintains an IRC channel, #mysos
on irc.freenode.net
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Mysos uses Mesos Python bindings which consist of two Python packages. mesos.interface
is on PyPI and gets automatically installed but mesos.native
is platform dependent. You need to either build the package on your machine (instructions) or download a compiled one for your platform (e.g. Mesosphere hosts the eggs for some Linux platforms).
Since pip
doesn't support eggs, you need to convert eggs into wheels using wheel convert
, then drop them into the 3rdparty
folder. See the README file for more information.
Make sure tox is installed and just run:
tox
Tox also builds the Mysos source package and drops it in .tox/dist
.
The Vagrant test uses the sdist
Mysos package in .tox/dist
so be sure to run tox
first. Then:
vagrant up # Wait for the VM and Mysos API endpoint to come up (http://192.168.33.17:55001 becomes available). ./vagrant/test.sh
test.sh
verifies that Mysos successfully creates a MySQL cluster and then deletes it.