StackPractices

Tag: ci-cd

Browse 54 practical software engineering resources tagged with "ci-cd". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving ci-cd. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

CI/CD Pipelines and Delivery Automation

Continuous Integration and Continuous Delivery shorten the feedback cycle between writing code and shipping it. Good pipelines are fast, deterministic, secure, and treat failures as data rather than surprises.

The recipes and guides in this collection cover GitHub Actions, GitLab CI, deployment strategies, artifact management, security gates, and rollback procedures. Use them to build pipelines that teams can trust with every merge.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Manage Database Migrations Safely

How to version, apply, and rollback database schema changes using migration tools like Flyway,...

Deploy Containers to AWS ECS with Fargate

How to deploy Docker containers to AWS ECS using Fargate serverless compute with Terraform and...

Background Jobs

How to schedule and run background jobs using cron, task queues, and workers.

Bash Scripting for DevOps Automation and System Tasks

How to write reliable Bash scripts for automating deployments, system monitoring, log rotation, and...

Blue-Green Deployment Recipe

Deploy with zero downtime using blue-green environments, instant traffic switching, and automated...

CI/CD Pipeline Setup

Set up automated CI/CD pipelines for testing, building, and deploying applications with GitHub...

Container Image Security Scanning with Trivy

Scan Docker images for vulnerabilities, misconfigurations, and secrets using Trivy, integrate...

Cron Jobs

How to schedule and manage recurring tasks using cron syntax across Linux, Python, and Node.js.

Docker Basics

How to containerize an application, write a Dockerfile, and run containers with Docker Compose.

Local Microservices Development with Docker Compose

Orchestrate multi-service local environments with Docker Compose including databases, caches,...

Scan Docker Images for CVEs with Trivy and Grype

Scan Docker images for vulnerabilities before deployment using Trivy and Grype. Covers CI...

Environment Variables

How to read, set, and manage environment variables securely across Python, JavaScript, and Java.

Feature Flags: Rollout, Targeting, and Safe Rollback

Implement feature toggles to roll out, test, and revert functionality safely without redeploying...

Generate Sitemaps Live

How to build and serve live XML sitemaps from your application data, with multi-language support,...

Git Workflow

A practical branching strategy for teams: feature branches, pull requests, and clean commit history.

GitHub Actions CI/CD

How to build and deploy with GitHub Actions using workflows, matrices, caching, and secrets.

Across Multiple OS and Language Versions with GitHub

How to use GitHub Actions matrix strategy to test across multiple operating systems, language...

Share Workflow Logic with GitHub Actions Reusable Workflows

How to create and consume reusable workflows in GitHub Actions, covering inputs, secrets,...

Implement Graceful Shutdown and Zero-Downtime Restarts

How to implement graceful shutdown and zero-downtime restarts for web servers, workers, and...

Health Check Endpoint

How to implement a production-ready health check endpoint for monitoring and load balancers.