| Crates.io | microci |
| lib.rs | microci |
| version | 0.1.2 |
| created_at | 2025-12-26 10:37:59.914816+00 |
| updated_at | 2025-12-28 09:34:27.311415+00 |
| description | Porting of MicroCI tool - Minimalist Continuous Integration Tool |
| homepage | https://microci.dev |
| repository | |
| max_upload_size | |
| id | 2005545 |
| size | 16,747 |
!!! NOT READY FOR PRODUCTION !!!
This rust port of MicroCI is not finished, please use the C++ version for production.
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:
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.
Using microCI on the developer's desktop is very simple:
microCI | bash
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.
To run on the server, it is sufficient to expose webhooks that, when
triggered, execute microCI in the respective project folders.
jq and yq utilitiesThe installation is equally simple, just copy the executable to a folder in the PATH.
To remove the microCI from the system delete the file copied to the PATH.
sudo curl -fsSL https://github.com/geraldolsribeiro/microci/releases/latest/download/microCI \
-o /usr/bin/microCI
sudo chmod 755 /usr/bin/microCI
You can use any Docker container for execution, both public ones from Docker HUB and those you develop internally.
The simplest and safest way to use microCI to read from or write to
repositories are to access them through an SSH key.
Below are some features that may be present in the next releases.
root in the working directoryFor 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
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:
{
"insecure-registries": ["11.22.33.44:5000", "192.168.1.1:5000"]
}
0.40.0 Ported to MacOS0.39.0 Bugfixes and minor code refactor0.38.0 Add option --update-dev to use development version0.37.0 Execute Nth step; List steps; bugfixes0.36.0 Allows to run devices inside the container without the --privileged flag0.35.0 Plugin vhdl-format0.34.0 Plugin Doxygen0.33.0 Global environment file parsing0.32.0 Integration config file generation0.31.0 Plugin template0.30.0 Plugin pikchr0.29.0 Plugin docmd0.28.0 Translation support added0.27.0 Plugin pandoc0.26.3 Update clang-tidy0.26.0 Offline mode0.25.6 Plugin git_publish with branch selection support (p.e. gh-pages)0.24.0 Plugin docker_build0.23.0 Plugin fetch download from GitHub (advanced)0.22.0 Plugin fetch download from GitHub (folder)0.21.0 Plugin flawfinder0.20.0 Docker image intmain/microci_clang0.19.0 Documentation with intmain/docmd0.18.0 Plugin minio0.17.0 Plugin skip; Execution status0.16.1 Plugin refactoring; Default execution as non-root0.15.2 Plugin fetch URL and gitlab folder0.14.1 Plugin beamer0.13.0 Docker network configuration0.12.0 Plugins clang-format and junit2html0.11.1 Discord channel notification0.10.1 Multiple template added0.9.0 Plugin plantuml0.8.0 Plugin clang-tidy0.7.0 Plugin cppcheck0.6.1 Plugin git_publish0.5.0 Volume mounting; SSH key copy0.4.0 Building microCI by microCI0.3.0 Configuration files creation0.2.0 Plugin mkdocs0.1.0 Plugin bash and git_deploy0.0.1 Proof of concept/Initial versionMIT License
Copyright (c) 2022-2025 Geraldo Luis da Silva Ribeiro
░░░░░░░░░░░░░░░░░
░░░░░░░█▀▀░▀█▀░░░
░░░█░█░█░░░░█░░░░
░░░█▀▀░▀▀▀░▀▀▀░░░
░░░▀░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.