Track
CI/CD, GitOps & Delivery lessons
52 short lessons on CI/CD, GitOps & Delivery. Each one starts from a real situation, shows how it works, and ends with a quiz. Free to read.
All 52 lessons
- Why version control: commits, history and GitBeginner · 5 min
Before Git, "final_v3_REAL.zip" was a workflow. Git gives every change a name, an author and a way back, and every clone holds the whole history.
- git init, add, commit, status and logBeginner · 5 min
The daily Git loop is four commands and one idea: the staging area, where you choose what goes into the next commit.
- Branches, merging and fast-forwardBeginner · 5 min
A branch is a movable label on a commit, not a copy of your project. That is why making one takes a millisecond and merging one is routine.
- Remotes: clone, fetch, pull and pushBeginner · 5 min
A remote is another copy of the repository, usually on GitHub. Four commands move commits between copies, and fetch is the safe one to run first.
- Undoing mistakes: restore, reset, revert and reflogBeginner · 6 min
Git has four different undo tools because there are four different mistakes. Pick by one question: has anyone else seen this commit?
- Merge conflicts and pull requestsBeginner · 5 min
A conflict is Git asking you to choose, not an error. A pull request is where that choice, and every other change, gets reviewed before it lands.
- .gitignore and keeping secrets out of GitBeginner · 5 min
A committed password can remain in history and copies even after the file is deleted. Prevent it with .gitignore and environment variables, and know the real response…
- Rebase, squash and branching strategiesBeginner · 5 min
A reviewer says 'please rebase and squash'. Do it right and the history reads like a story. Do it on a shared branch and you get an afternoon of duplicate commits and…
- CI/CD: build, test, deploy and whyIntermediate · 5 min
A release every six weeks is six weeks of changes landing at once, and when it breaks nobody knows which change did it. CI/CD makes releases small enough to be boring.
- GitHub Actions: workflows, jobs and runnersIntermediate · 5 min
A pipeline is a YAML file in your repository. Learn five words (workflow, event, job, step, runner) and you can read any of them, including the one that just failed.
- Pipeline stages, artifacts and cachingIntermediate · 5 min
An 18 minute pipeline usually spends 12 of them redoing work it did last time. Order the stages, cache the inputs, and pass the artifact on instead of rebuilding it.
- Deploy strategies: rolling, blue-green and canaryIntermediate · 6 min
Every deploy replaces v1 with v2 while users are watching. The strategy decides how many of them see a bad v2, and how fast you can take it back.
- Desired stateBeginner · 4 min
GitOps tools compare a desired declaration with live state, then reconcile according to configured sync policy. Drift correction and pruning deleted Git objects are…
- Sync statusBeginner · 4 min
Sync status shows live versus desired state differences.
- Self healBeginner · 4 min
Self heal corrects live drift from Git.
- PruneBeginner · 4 min
Prune deletes tracked resources absent from desired state.
- Application CRDBeginner · 4 min
Application CRD declares Git source destination and sync policy.
- Kustomize: overlays for dev, staging and prodIntermediate · 6 min
Dev needs one replica and prod needs six. Kustomize keeps one plain YAML base and puts each environment's differences in a small overlay, with no template language to…
- Helm: charts, values and releasesIntermediate · 5 min
The same Deployment YAML exists in three folders, differing by four values. Helm turns the repeated parts into a template, the differences into values, and each install…
- App of AppsBeginner · 4 min
App of Apps models grouped Argo applications.
- Sync wavesBeginner · 4 min
Sync waves order resources by wave annotation.
- Sync hooksBeginner · 4 min
Sync hooks run jobs at defined deployment phases.
- Rollback via GitBeginner · 4 min
Rollback via Git reverts desired configuration to known version.
- Progressive deliveryBeginner · 4 min
Progressive delivery shifts traffic across rollout versions gradually.
- Argo RBACBeginner · 4 min
Argo RBAC limits who can sync or administer apps.
- AppProjectBeginner · 4 min
AppProject constrains allowed sources and destinations.
- Drift detectionBeginner · 4 min
Drift detection compares live resources to desired manifests.
- Pipeline DAGsBeginner · 4 min
Model a pipeline as a graph of jobs with needs, so independent jobs run in parallel and a failed test stops the deploy jobs that depend on it.
- Artifact provenanceIntermediate · 4 min
Read a provenance record as a claim about how an artifact was built, and check its digest against the file before trusting it for a deploy or an audit.
- Build cachingIntermediate · 4 min
Order Dockerfile steps from least to most changed, so the dependency install stays cached while source edits rebuild only the steps that depend on them, and check the…
- Secret maskingIntermediate · 4 min
Keep secrets out of logs, understand that masking matches only the exact stored value, and rotate any secret that may have appeared in printed output, since masking…
- OIDC workload credentialsIntermediate · 4 min
Use OIDC to exchange a short-lived identity token for cloud access, and narrow the trust rule to one repository and branch so no other workflow can use it.
- Branch protectionIntermediate · 4 min
Protect the branch that deploys with platform rules for pull requests, reviews and checks, so an urgent push cannot skip the controls the team agreed, and confirm the…
- Required checksIntermediate · 4 min
Name each required check exactly as the workflow reports it, and check the pull request's check list, so a rename or path filter does not block merges forever.
- Reproducible buildsIntermediate · 4 min
Make a build reproducible by fixing its inputs and environment, then prove it by building twice and comparing hashes, using a diff tool when they differ.
- SBOM attestationsIntermediate · 5 min
An SBOM attestation is a signed statement that binds a list of image components to one exact image digest, so the list can be checked before deploy.
- SLSA basicsAdvanced · 4 min
SLSA provenance is a signed build record that says what artifact was made, by which builder, from which source, so consumers can check where software came from.
- Artifact registriesAdvanced · 4 min
An artifact registry stores images by digest, and tags are movable names that can point to new content, so a deploy must pin the digest to run what was reviewed.
- Deployment environmentsAdvanced · 4 min
A deployment environment combines its own secrets and variables with protection rules, and promotion moves one tested artifact through dev, staging and production in…
- Blue green deploymentAdvanced · 4 min
Blue green deployment runs two identical environments and makes the release a traffic switch, which gives a quick rollback if the data layer still works with the old…
- Canary rolloutAdvanced · 5 min
A canary rollout sends a small, growing share of traffic to a new version, and its value depends on a step gate that compares the canary with the stable version.
- Automated rollbackAdvanced · 4 min
Automated rollback is a rule that aborts a rollout when a measured metric fails its condition, returning traffic to the stable version without waiting for a person.
- Argo CD reconciliationAdvanced · 5 min
Argo CD reconciliation compares the manifests in Git with the live objects in the cluster and reports Synced or OutOfSync, so Git stays the source of desired state.
- Prune and self healAdvanced · 5 min
Prune deletes tracked objects that Git no longer defines, and self heal reverts live drift, and both act without review, so each needs a deliberate choice per…
- ApplicationSetsAdvanced · 4 min
An ApplicationSet generates many Argo CD applications from one template and a set of parameters, so a whole fleet changes through one reviewed definition and its…
- Helm templatingAdvanced · 5 min
Helm renders chart templates from merged values into plain manifests, and a missing or mistyped value can render silently as an empty setting that a later pod fails on.
- Kustomize overlaysAdvanced · 5 min
Kustomize builds a base with overlays that change only environment differences, and a diff of the built output shows exactly what each environment receives before any…
- Drift alertsAdvanced · 5 min
Drift is a gap between code and live infrastructure, and a scheduled refresh-only check reports it without changing anything, so an owner can decide what to do.
- Feature flagsAdvanced · 5 min
A feature flag changes behavior at run time, and a stable targeting key and a safe default decide whether a rollout is predictable for each user and each failure case.
- Database migration safetyAdvanced · 5 min
PostgreSQL schema changes take table locks, and a waiting ALTER can queue every later query behind it, so migrations need short lock waits and small steps.
- Release incident responseAdvanced · 5 min
Release incident response starts with reducing harm, such as a rollback, then uses one lead, one operator and a clear timeline to coordinate the recovery.
- Progressive delivery: operational verificationAdvanced · 4 min
Progressive delivery moves traffic only when operational verification passes, which means checks on user-facing error rate and tail latency, compared with the stable…