Console dice roller tool for CI pass/fail simulation
A simple tool to randomly pass or fail. It is useful as a command or
module in a CI job to simulate, debug or build out CI pipelines.
While this is maintained by the Ubuntu OpenStack Engineering Team, it
is not specific to OpenStack use cases. Any CI pipeline can use
ci-dice as a way to simulate, confirm and/or debug the pipeline's
ci-dice - roll the dice
ci-dice.py - same as just ci-dice
ci-dice.sh - legacy bash version
Contact and development: freenode irc #openstack-charms
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install ci-dice, simply use the following command: