Skip to content

Carnival software provisioning and automation tool core repository

License

Notifications You must be signed in to change notification settings

carnival-org/carnival

Repository files navigation

Carnival

Tests PyPI version PyPI Documentation Status

MIT

Software provisioning tool

  • Runs on MacOs and Linux
  • Tested on Ubuntu and CentOS
  • Uses mypy strict typing mode mypy.ini
  • Safe, full run chain is validated before run

Example

See carnival_tasks_example.py

Install

$ pip3 install carnival

Docs

Documentation available at readthedocs.org

Competion

  • for Bash: place eval "$(_CARNIVAL_COMPLETE=bash_source carnival)" in .bashrc
  • for ZSH: place eval "$(_CARNIVAL_COMPLETE=zsh_source carnival)" in .zshrc

Develop

Run tests

$ make dev  # Run docker containers for testing
$ make test_deps  # Install test dependencies
$ make test  # run static analyzers and tests
$ make qs  # Run static analyzers only
$ make nodev  # Stop docker containers

Run carnival from dev env

$ python3 -m carnival --help