A Self-Hosted Approach to Automatic CI/CD Using Open-Source Tools on Low-Power Devices

The software development process has widely adopted Continuous Integration and delivery (CI/CD), offering a comprehensive approach to streamlining the development process. Both features are commonly offered by third-party services or cloud-hosted environments, like Amazon AWS or GitHub. While these offerings are widely available and perfect for large projects and companies, they may not be suitable for smaller projects. Factors like the desire to maintain code and deployment locally or cost considerations can drive the search for alternative solutions. This paper presents an infrastructure primarily based on open-source services that address these specific needs. It is suitable for both development and the automatic deployment of small, locally deployed projects. The solution underwent six months of testing in a lab environment on a low-power device, namely the Raspberry Pi 4B, which was used to both build new versions of the software and host it. The solution leverages the GitHub self-hosted runner to build Docker images from the code directly on the target device. The images are then pushed into a local Docker Registry. This ensures that the code can be used on multiple architectures (namely ARM64 and AMD64) by simply pulling an appropriate image that is cross-built, thanks to Docker buildx. The built images can then be automatically updated to deploy or be deployed on different hardware. The solution is suitable for small projects or teams with constrained budgets thanks to the self-hosting of all the components, the low purchase price, and the power efficiency of low-power devices like the Raspberry Pi.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/informatics62280.2024.10900901
Primary Topic
Cloud Computing and Remote Desktop Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Self-Hosted Approach to Automatic CI/CD Using Open-Source Tools on Low-Power Devices

Jiří Hynek, Tomáš Hruška, Kristýna Zaklová, Juraj Lazúr et al.
Cloud Computing and Remote Desktop Technologies
article

A Self-Hosted Approach to Automatic CI/CD Using Open-Source Tools on Low-Power Devices

Jiří Hynek, Tomáš Hruška, Kristýna Zaklová, Juraj Lazúr, Petr John
article en

Abstract

The software development process has widely adopted Continuous Integration and delivery (CI/CD), offering a comprehensive approach to streamlining the development process. Both features are commonly offered by third-party services or cloud-hosted environments, like Amazon AWS or GitHub. While these offerings are widely available and perfect for large projects and companies, they may not be suitable for smaller projects. Factors like the desire to maintain code and deployment locally or cost considerations can drive the search for alternative solutions. This paper presents an infrastructure primarily based on open-source services that address these specific needs. It is suitable for both development and the automatic deployment of small, locally deployed projects. The solution underwent six months of testing in a lab environment on a low-power device, namely the Raspberry Pi 4B, which was used to both build new versions of the software and host it. The solution leverages the GitHub self-hosted runner to build Docker images from the code directly on the target device. The images are then pushed into a local Docker Registry. This ensures that the code can be used on multiple architectures (namely ARM64 and AMD64) by simply pulling an appropriate image that is cross-built, thanks to Docker buildx. The built images can then be automatically updated to deploy or be deployed on different hardware. The solution is suitable for small projects or teams with constrained budgets thanks to the self-hosting of all the components, the low purchase price, and the power efficiency of low-power devices like the Raspberry Pi.

Brno University of Technology (CZ)
Openalex Percentile: Top 65%
Cloud Computing and Remote Desktop Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Self-Hosted Approach to Automatic CI/CD Using Open-Source Tools on Low-Power Devices — Jiří Hynek, Tomáš Hruška, et al. · (2024) | TGRS Research Map | TGRS