Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)*
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is already in the README earlier on, isn't it?


## 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()
Expand Down