Book Image

DevOps Unleashed with Git and GitHub

By : Yuki Hattori
Book Image

DevOps Unleashed with Git and GitHub

By: Yuki Hattori

Overview of this book

Git and GitHub are absolutely crucial for DevOps, playing a multifaceted role in streamlining the software development lifecycle and enabling smoother collaboration between development and operations teams. DevOps Unleashed with Git and GitHub enables you to harness the power of Git and GitHub to streamline workflows, drive collaboration, and fuel innovation. Authored by an expert from GitHub, the book starts by guiding you through Git fundamentals and delving into DevOps and the developer experience. As you progress, you’ll understand how to leverage GitHub's collaboration and automation features, and even use GitHub Copilot for enhanced productivity. You'll also learn how to bridge the DevOps gap, maintain code quality, and implement robust security measures. Additionally, hands-on exercises will equip you to elevate your developer experience, foster teamwork, and drive innovation at the speed of DevOps. By the end of this DevOps book, you’ll have mastered the Git fundamentals, conquered collaboration challenges, and unleashed the power of GitHub as you transform your DevOps workflows.
Table of Contents (14 chapters)
Free Chapter
Part 1: Foundations of Git, GitHub, and DevOps
Part 2: GitHub Excellence and CI/CD Fundamentals
Part 3: Beyond DevOps

Feature release strategies

So far, we have focused on releasing the infrastructure and the service as a whole, but now, we will focus on releasing the features within the service. For feature releases, we introduce a release style called the feature flag and release train.

Feature flag

Feature flag deployment is a technique used in software development and delivery that involves toggling on or off certain features of an application without deploying new code. This method allows for more granular control over feature release, testing, and rollback, enabling a more dynamic and flexible approach to software management.

The main drawback of using feature flags for anything is that feature flags can easily become a technical liability. Unused feature flags can clutter up the code base. Feature flags enable features for specific users or groups, as shown in the following diagram:

Figure 5.12 – Feature flag

Figure 5.12 – Feature flag

Dark launches are typically released...