edf-hpc / clara

Cluster Administration tools
Other
18 stars 12 forks source link

Clara, a set of Cluster Administration Tools

!! Warning: this code is compatible only with Python3

Overview

clara is a set of cluster administration tools. The different tools are written as plugins that can be added or removed independently.

Clara provides the following plugins:

Release

Steps to produce release $VERSION (ex: 0.19700101):

  1. Update CHANGELOG.md to move entries under the [Unrelease] into a new release section.
  2. Bump version number in clara/version.py
  3. Then run:
git add CHANGELOG.md
git commit -m "Release $VERSION"
git tag -a v$VERSION -m "Release $VERSION"
  1. Finally push all the branches and tags.

To generate a tarball, run:

git archive --format=tar.gz --prefix=clara-$VERSION/ \
    v$VERSION > ../clara-$VERSION.tar.gz

Tests

For running tests please install: pytest pytest-mock mock and then run:

pytest

Under the project directory