a command line tool that implements a development workflow for Ceph
Project description
ceph-workbench
==============
ceph-workbench is a command line tool that implements a development
workflow for `Ceph <http://ceph.com>`_
Documentation : http://ceph-workbench.readthedocs.org/
Home page : https://pypi.python.org/pypi/ceph-workbench
Installation
============
* Install docker http://docs.docker.com/engine/installation/
* function ceph-workbench() { docker run --rm dachary/ceph-workbench ceph-workbench "$@"; }
* ceph-workbench --help
Hacking
=======
* Get the code : git clone --recursive http://ceph-workbench.dachary.org/root/ceph-workbench.git
* Set up the dev environment
::
deactivate || true ; source bootstrap
* Run the tests
::
deactivate || true ; bash run-tests.sh
* Run a single test
::
tox -e py27 -- -s -k test_run tests/test_ceph_qa_suite.py
* Check the documentation : rst2html < README.rst > /tmp/a.html
Release management
==================
* Prepare a new version
- version=1.3.0 ; perl -pi -e "s/^version.*/version = $version/" setup.cfg ; for i in 1 2 ; do python setup.py sdist ; amend=$(git log -1 --oneline | grep --quiet "version $version" && echo --amend) ; git commit $amend -m "version $version" ChangeLog setup.cfg ; git tag -a -f -m "version $version" $version ; done
* Publish a new version
- python setup.py sdist upload --sign
- git push ; git push --tags
- docker rmi dachary/ceph-workbench
- docker build --tag dachary/ceph-workbench docker
- docker login
- docker push dachary/ceph-workbench
* pypi maintenance
- python setup.py register # if the project does not yet exist
- trim old versions at https://pypi.python.org/pypi/ceph-workbench
==============
ceph-workbench is a command line tool that implements a development
workflow for `Ceph <http://ceph.com>`_
Documentation : http://ceph-workbench.readthedocs.org/
Home page : https://pypi.python.org/pypi/ceph-workbench
Installation
============
* Install docker http://docs.docker.com/engine/installation/
* function ceph-workbench() { docker run --rm dachary/ceph-workbench ceph-workbench "$@"; }
* ceph-workbench --help
Hacking
=======
* Get the code : git clone --recursive http://ceph-workbench.dachary.org/root/ceph-workbench.git
* Set up the dev environment
::
deactivate || true ; source bootstrap
* Run the tests
::
deactivate || true ; bash run-tests.sh
* Run a single test
::
tox -e py27 -- -s -k test_run tests/test_ceph_qa_suite.py
* Check the documentation : rst2html < README.rst > /tmp/a.html
Release management
==================
* Prepare a new version
- version=1.3.0 ; perl -pi -e "s/^version.*/version = $version/" setup.cfg ; for i in 1 2 ; do python setup.py sdist ; amend=$(git log -1 --oneline | grep --quiet "version $version" && echo --amend) ; git commit $amend -m "version $version" ChangeLog setup.cfg ; git tag -a -f -m "version $version" $version ; done
* Publish a new version
- python setup.py sdist upload --sign
- git push ; git push --tags
- docker rmi dachary/ceph-workbench
- docker build --tag dachary/ceph-workbench docker
- docker login
- docker push dachary/ceph-workbench
* pypi maintenance
- python setup.py register # if the project does not yet exist
- trim old versions at https://pypi.python.org/pypi/ceph-workbench
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ceph-workbench-1.5.6.tar.gz
(81.1 kB
view hashes)