I built a self-hosted CI/CD platform with persistent queue, encrypted secrets, and rollback UI — here's what I learned
The article discusses the development of Deploy Center, a self-hosted CI/CD platform designed to simplify deployment processes for small teams. It highlights the architecture choices made, including the use of a persistent queue and encrypted secrets, as well as the implementation of role-based access control. The author shares insights on what worked well and what could be improved in future iterations of the platform.
- ▪Deploy Center is a self-hosted CI/CD deployment platform built using TypeScript, Express, React, MySQL/MariaDB, and Redis.
- ▪The platform features a persistent queue using BullMQ to ensure jobs are not lost during restarts and includes a retry policy.
- ▪Encrypted environment variables are implemented for security, with a unique encryption key for each project.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 2958272) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Sabry Dawood Posted on May 24 I built a self-hosted CI/CD platform with persistent queue, encrypted secrets, and rollback UI — here's what I learned #opensource #devops #typescript #react For the past several months I've been building Deploy Center, a self-hosted CI/CD deployment platform. v3.0 shipped recently, and I want to share the architecture decisions, what worked, and what I'd do differently.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).