From aed5b2b186b98eff9d9135e394f7d26326e526c0 Mon Sep 17 00:00:00 2001 From: Kyle Anderson Date: Fri, 30 Sep 2016 09:39:20 -0700 Subject: [PATCH] Added travis deployment to pypi. Fixes #27 --- .travis.yml | 9 +++++++++ CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ README.md | 4 ++-- 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.travis.yml b/.travis.yml index dfdedda..d16adf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,3 +12,12 @@ script: - ./itests/install-chronos.sh - ./itests/start-chronos.sh - make test && make itests + +deploy: + - provider: pypi + user: yelplabs + password: + secure: "Im92teoC11SVnrDjrMGe/KMbXkzwDRh7kpaP8EfByQfqSR7T2ON2BbZngpQp0nc7qn6QKo2HNcAA0M2nnMDCIm+b0XMvgYxpPbFdzzDRI7jiNlgbZmdMtGU3scR88dGmO+Yct2Xau5zo3CPuVgvXE0Qr9wXRV5NDwHu7w3eciKXwAaPeX9pt76x9nlLpf8S0le5OCRObQbxzTve2pWC5BhoLFucP2Azx1auv9WKbL4qN7i0iG/VGQCS0mpQE+sr6AJCsIMTfFvRTEvCgFXyeCjwemHm/Rt0I3HIVkOnDj7Okl4bBSoVxZ0Y5kYFHrFNZ9ld69gNVV0cQRNGFVYCU5hMw+y5Xmut6Erf28BfPUuzsKgim6LQoyAe7FRXx3MKQoNiQtsQp9r3atMaWKrvTwwsXva+nshWjnY0UlQYAr4wzxK7q26gA5UPlIp39DYIfnYe/JWFxCEd+HYUqylM6npg8drPPBqAKDNUnYE1aKawXEsCOZDsQ2T965t10BAnMR3vrh/zIS9H8MAeDg2GzJOzQvDIvhXNQ2ybgZDefUmyEDoYMA4xQMcSQMtJ+XboEmvsXJdpwMJcCfZ7NpQUbL4MLSxYeedppDhKCOdhlGd8tN3WYK2L/ENVmTaioOb4C9q1c+hGs5sNbnQXzucBIwLSTMo4ZJUbwb9TCT9+brkw=" + on: + tags: true + repo: asher/chronos-python diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c6675d3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,40 @@ +# Change Log + +## [v0.37.0](https://github.com/asher/chronos-python/tree/v0.37.0) (2016-09-29) +[Full Changelog](https://github.com/asher/chronos-python/compare/v0.36.0...v0.37.0) + +**Merged pull requests:** + +- Add metrics endpoint [\#26](https://github.com/asher/chronos-python/pull/26) ([Rob-Johnson](https://github.com/Rob-Johnson)) + +## [v0.36.0](https://github.com/asher/chronos-python/tree/v0.36.0) (2016-09-13) +**Closed issues:** + +- Client doesn't deal with unauthorized access correctly [\#17](https://github.com/asher/chronos-python/issues/17) +- parent job [\#16](https://github.com/asher/chronos-python/issues/16) +- new version in pypi [\#12](https://github.com/asher/chronos-python/issues/12) +- An issue with connect method [\#2](https://github.com/asher/chronos-python/issues/2) +- Can't find the package on PyPi [\#1](https://github.com/asher/chronos-python/issues/1) + +**Merged pull requests:** + +- retry other chronos servers on connection errors [\#24](https://github.com/asher/chronos-python/pull/24) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- Add method to get undocumented job graph [\#23](https://github.com/asher/chronos-python/pull/23) ([keshavdv](https://github.com/keshavdv)) +- Fix typo in README [\#22](https://github.com/asher/chronos-python/pull/22) ([keshavdv](https://github.com/keshavdv)) +- Python 3 support [\#21](https://github.com/asher/chronos-python/pull/21) ([navidurrahman](https://github.com/navidurrahman)) +- raise an exception when unauthorized [\#19](https://github.com/asher/chronos-python/pull/19) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- Update docs chronos [\#18](https://github.com/asher/chronos-python/pull/18) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- fail if more than one of the 'one-of' parameters exist [\#15](https://github.com/asher/chronos-python/pull/15) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- release 0.34.0 [\#13](https://github.com/asher/chronos-python/pull/13) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- add /job/stat/{job\_name} and /scheduler/stats/\* endpoints [\#11](https://github.com/asher/chronos-python/pull/11) ([Rob-Johnson](https://github.com/Rob-Johnson)) +- Deal with chronos jobs that have spaces in the name [\#10](https://github.com/asher/chronos-python/pull/10) ([solarkennedy](https://github.com/solarkennedy)) +- Added to pypi [\#8](https://github.com/asher/chronos-python/pull/8) ([keshavdv](https://github.com/keshavdv)) +- Allow a list of servers to be passed in to the client [\#7](https://github.com/asher/chronos-python/pull/7) ([keshavdv](https://github.com/keshavdv)) +- Run itests in a docker container [\#6](https://github.com/asher/chronos-python/pull/6) ([keshavdv](https://github.com/keshavdv)) +- Added unit test framework [\#5](https://github.com/asher/chronos-python/pull/5) ([solarkennedy](https://github.com/solarkennedy)) +- Added basic itest framework with travis integration [\#4](https://github.com/asher/chronos-python/pull/4) ([solarkennedy](https://github.com/solarkennedy)) +- Correctly pass in username and password in the connect method [\#3](https://github.com/asher/chronos-python/pull/3) ([solarkennedy](https://github.com/solarkennedy)) + + + +\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/README.md b/README.md index 033b759..612b9c7 100644 --- a/README.md +++ b/README.md @@ -14,19 +14,19 @@ This is a Python client library for the [Chronos](https://mesos.github.io/chrono git clone git@github.com/asher/chronos-python python setup.py install + # or + pip install chronos-python ## Usage Examples Create a ``ChronosClient`` - >>> import chronos >>> client = chronos.connect("chronos.mesos.server.com:8080") # or specify multilple servers that will be tried in order >>> client = chronos.connect(["chronos1.mesos.server.com:8080", "chronos2.mesos.server.com:8080"]) - List all jobs: >>> client.list()