Skip to content

Insights / Tag

#ci/cd

  1. DevOps · Illustrative scenario

    npm ci fails: reproduce the resolver configuration

    Reproduce the resolver that created the lockfile before deciding whether the dependency graph should change.

    Dopstack Engineering · · 9 min read

  2. DevOps · Illustrative scenario

    Git force-with-lease: bind both commit IDs

    Know exactly which old remote commit may be replaced and which reviewed candidate will replace it.

    Dopstack Engineering · · 9 min read

  3. DevOps · Illustrative scenario

    Git revert merge: verify the tree before reintroduction

    Choose the mainline from actual parents, then carry an unrelated mainline change through rollback and reintroduction; inspect final file content as well as ancestry.

    Dopstack Engineering · · 9 min read

  4. DevOps · Illustrative scenario

    Terraform saved plans: bind approval to the artifact

    Treat code revision, state target, binary plan digest and approval as one record; regeneration creates a new approval decision.

    Dopstack Engineering · · 9 min read

  5. Security · Illustrative scenario

    Docker build secrets: keep tokens out of image layers

    A temporary BuildKit mount solves credential transport. A disposable dummy-token probe shows what it does, what cache hides and what your build can still leak.

    Dopstack Engineering · · 11 min read

  6. DevOps

    GitHub Actions queues: stop stale deployments

    A deployment queue preserves waiting work. It still needs a release contract that rejects an older artifact after a newer one is active.

    Dopstack Engineering · · 8 min read

  7. DevOps

    GitHub Actions AWS OIDC: match the actual subject

    An environment changes the deployment identity. A renamed repository can change it again. Diagnose the token before changing the role.

    Dopstack Engineering · · 6 min read

  8. DevOps

    GitHub Actions cache misses: trace keys, paths and scope

    A green workflow does not prove a cache was saved, and a restored cache does not prove the primary key matched.

    Dopstack Engineering · · 7 min read

  9. DevOps

    Docker multi-stage builds: shrink the runtime boundary

    A small image is useful only if the application still starts correctly and the build has not copied its secrets into the release artifact.

    Dopstack Engineering · · 7 min read

  10. Security

    Hardening GitHub Actions against supply-chain attacks

    The tj-actions incident showed what a compromised action can read. Here is how to limit the damage and fix the cause.

    Dopstack Engineering · · 5 min read