Welcome to microCI
microCI is a powerful tool designed to streamline the creation of continuous-integration pipelines by generating portable, auditable scripts for executing tasks in Docker containers. This ensures that every step in the process is fully reproducible across various environments:
- Developer's machines
- Servers for automatic builds after commits
- Servers for deployment to production
With microCI, the same tool, free of dependencies, can be used seamlessly in both development and production environments. For complete documentation, visit microci.dev.
The complete documentation can be found at microci.dev.
On the desktop
Using microCI on the developer's desktop is very simple:
In the above command, microCI reads a .microCI.yml file containing the
description of the pipeline steps and generates a script for executing these
steps. This script is written to standard output and can be chained with other
tools or passed to a bash interpreter for execution.
A file called .microCI.log is generated with all messages, warnings, errors
from all executed commands and can be analyzed to resolve any problems that may
occur.
On the server
To run on the server, it is sufficient to expose webhooks that, when
triggered, execute microCI in the respective project folders.
Minimum requirements
bashdockerjqyq
Docker Container
You can use any Docker container for execution, both public ones from Docker HUB and those you develop internally.
Integration with github, gitlab, ...
The simplest and safest way to use microCI to read from or write to
repositories are to access them through an SSH key.
Debian dependencies
For building standalone microCI binary the following dependencies should be installed:
sudo apt install gettext clang-format libspdlog-dev libfmt-dev libyaml-cpp-dev libssl-dev libcrypto++-dev
Docker private repository
In some cases, running a private registry without SSL is necessary to add the
IP of the registry server to the insecure-registries section of the
/etc/docker/daemon.json file.
Example:
Versions
0.38.0Add option--update-devto use development version0.37.0Execute Nth step; List steps; bugfixes0.36.0Allows to run devices inside the container without the--privilegedflag0.35.0Pluginvhdl-format0.34.0PluginDoxygen0.33.0Global environment file parsing0.32.0Integration config file generation0.31.0Plugintemplate0.30.0Pluginpikchr0.29.0Plugindocmd0.28.0Translation support added0.27.0Pluginpandoc0.26.3Updateclang-tidy0.26.0Offline mode0.25.6Plugingit_publishwith branch selection support (p.e.gh-pages)0.24.0Plugindocker_build0.23.0Pluginfetchdownload from GitHub (advanced)0.22.0Pluginfetchdownload from GitHub (folder)0.21.0Pluginflawfinder0.20.0Docker imageintmain/microci_clang0.19.0Documentation withintmain/docmd0.18.0Pluginminio0.17.0Pluginskip; Execution status0.16.1Plugin refactoring; Default execution as non-root0.15.2PluginfetchURL and gitlab folder0.14.1Pluginbeamer0.13.0Docker network configuration0.12.0Pluginsclang-formatandjunit2html0.11.1Discord channel notification0.10.1Multiple template added0.9.0Pluginplantuml0.8.0Pluginclang-tidy0.7.0Plugincppcheck0.6.1Plugingit_publish0.5.0Volume mounting; SSH key copy0.4.0Building microCI by microCI0.3.0Configuration files creation0.2.0Pluginmkdocs0.1.0Pluginbashandgit_deploy0.0.1Proof of concept/Initial version