DevOps

DevOps practices, CI/CD pipelines, containerisation with Docker, and GitHub workflows. Bridge the gap between development and operations.

Github Logo

Managing GitHub Environment Secrets & Variables via CLI

This guide explains how to use the GitHub CLI (gh) to manage configuration data for your environments. This is particularly useful for CI/CD pipelines where you need to toggle between “Production,” “Staging,” or “Development” settings. Prerequisites 1. Understanding Secrets vs. Variables 2. Setting Environment Secrets To set a secret for...

Github Logo

How to Delete All GitHub Actions Workflow Runs with the GitHub CLI (gh)

GitHub’s Actions UI is great for day-to-day viewing, but it’s not designed for bulk cleanup. If you’ve just enabled Actions on an older repository, migrated from Bitbucket, or iterated on workflows in a test-heavy phase, your run history can become cluttered fast. This guide shows how to delete workflow runs...

Github Logo

GitHub CLI Secrets: Automate Branch Protection Rulesets

Key Takeaways Why Automate Repository Setup? If you are a DevOps engineer or a team lead, creating a new repository often feels like a tedious administrative tax. You spin up the project, but then face a checklist of repetitive UI clicks: navigating to settings, finding the branches tab, configuring pull...

GitHub Device Activation screen

Install and Use the GitHub CLI (gh) on Ubuntu (Step-by-Step)

Key Takeaways The GitHub CLI (gh) brings the pull request, issue tracking, and repository management experience directly to your command line, reducing context switching between your terminal and the browser. While many users encounter the frustrating Command ‘gh’ not found error, this guide focuses on the proactive, correct installation procedure...

AWS-CDK Logo

How Do You Implement VPC Peering with AWS CDK?

Managing infrastructure as code (IaC) is preferred for reproducibility. Below are the two primary methods to implement peering using AWS CDK in TypeScript. Method 1: The High-Level Construct (Recommended) This method is concise and uses CDK’s abstraction to handle the heavy lifting. Method 2: The Low-Level CfnVPCPeeringConnection Use this if...

install docker

Docker Command Explained: Architecture, Flags & Internals

Key Takeaways What Is the docker Command and How Does It Work Internally? The docker command is a CLI client that talks to dockerd through a REST API over a Unix socket (/var/run/docker.sock) or TCP. It sends high-level instructions (create, pull, run) that get translated into low-level container lifecycle operations...

git

15 Advanced Git Tricks Developers Love Using

Introduction to Advanced Git Features Git is far more than just a version control system—it’s the backbone of modern software collaboration. Whether you’re managing microservices, automating CI/CD pipelines, or contributing to open source, mastering advanced Git features transforms you from a casual user into a DevOps powerhouse. This guide dives...

install docker

How to Install Docker in Ubuntu

In our extensive testing across dev-ops environments, we’ve found that a “default” Docker installation often leaves significant performance and security gaps on Ubuntu systems. Whether you are running Ubuntu 22.04 LTS, 24.04 LTS, or the latest 24.10 release, simply running apt install is no longer sufficient for modern production standards....

install docker

How to Install Docker and Docker Compose on Ubuntu 22.04 Linux

Docker and Docker Compose are two amazing tools that let you run containerized applications on Ubuntu (and every other flavor of Linux). Docker is super simple to use, and it’s fantastic for testing new programs. Although Docker is available on Windows, I find the entire experience much smoother on Linux-based...

Translate »