Skip to content
A collection of active-data-recipes related to CI
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci_info
docs Create a new 'scheduler_analysis' recipe Jun 4, 2019
extra
recipes Print stack trace for ignored exceptions in the push_data recipe Nov 14, 2019
test Add test for push_health Jun 4, 2019
.editorconfig Initial Commit May 15, 2019
.gitignore Initial Commit May 15, 2019
.travis.yml
CODE_OF_CONDUCT.md
README.md Fix command to show recipe specific options Jun 20, 2019
doclint Initial Commit May 15, 2019
poetry.lock Update 'scheduler_analysis' to work with shadow schedulers Sep 16, 2019
pyproject.toml
tox.ini Create a new 'scheduler_analysis' recipe Jun 4, 2019

README.md

Build Status PyPI version

ci-recipes

ci-recipes is a repository of ActiveData recipes. A recipe is a small snippet that runs one or more active data queries and returns the output. Queries can sometimes be modified by command line arguments and output can sometimes be post-processed.

Each recipe should try to answer a single question.

Installation

First install poetry, then run:

$ git clone https://github.com/ahal/ci-recipes
$ cd ci-recipes
$ poetry install

You will need Python 3.7 or higher.

Usage

The poetry install command will create a virtualenv with all of the required dependencies installed. You can use poetry run <cmd> to run a single command within the virtualenv context. Or you can use poetry shell to spawn a new shell with the virtualenv activated. The commands below assume you have run the latter.

Run:

$ adr <recipe> <options>

For a list of recipes:

$ adr list

For recipe specific options see:

$ adr recipe <recipe> -- --help

To serve the web app locally:

$ adr-app

Recipes

See the recipe documentation for more information on which recipes are available and how to run them.

Development

To contribute to ci-recipes first follow the installation steps above. You can run tests with:

$ poetry run tox

Or:

$ poetry shell
$ tox
You can’t perform that action at this time.