InfraMaxx

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.

Start with the first lesson

All 52 lessons

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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?

  6. 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.

  7. .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…

  8. 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…

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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…

  14. Sync statusBeginner · 4 min

    Sync status shows live versus desired state differences.

  15. Self healBeginner · 4 min

    Self heal corrects live drift from Git.

  16. PruneBeginner · 4 min

    Prune deletes tracked resources absent from desired state.

  17. Application CRDBeginner · 4 min

    Application CRD declares Git source destination and sync policy.

  18. 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…

  19. 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…

  20. App of AppsBeginner · 4 min

    App of Apps models grouped Argo applications.

  21. Sync wavesBeginner · 4 min

    Sync waves order resources by wave annotation.

  22. Sync hooksBeginner · 4 min

    Sync hooks run jobs at defined deployment phases.

  23. Rollback via GitBeginner · 4 min

    Rollback via Git reverts desired configuration to known version.

  24. Progressive deliveryBeginner · 4 min

    Progressive delivery shifts traffic across rollout versions gradually.

  25. Argo RBACBeginner · 4 min

    Argo RBAC limits who can sync or administer apps.

  26. AppProjectBeginner · 4 min

    AppProject constrains allowed sources and destinations.

  27. Drift detectionBeginner · 4 min

    Drift detection compares live resources to desired manifests.

  28. 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.

  29. 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.

  30. 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…

  31. 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…

  32. 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.

  33. 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…

  34. 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.

  35. 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.

  36. 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.

  37. 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.

  38. 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.

  39. 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…

  40. 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…

  41. 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.

  42. 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.

  43. 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.

  44. 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…

  45. 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…

  46. 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.

  47. 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…

  48. 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.

  49. 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.

  50. 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.

  51. 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.

  52. 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…