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
Swap out openSUSE_Leap_15.2 for openSUSE_Leap_15.1, openSUSE_Leap_15.0, or openSUSE_Tumbleweed if you’re using a different version of openSUSE.
With the repository added, import its GPG key:
sudo zypper --gpg-auto-import-keys refresh
Finally, upgrade the package cache to include the new snappy repository:
sudo zypper dup --from snappy
Snap can now be installed with the following:
sudo zypper install snapd
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands: