BYTEBLOCKTECHNOLOGIES
Engineering · DevOps / DevSecOps

Releases that check themselves. And roll back on their own.

Automated build, test and release, with security checks in the pipeline. The same setup runs our clients' live systems.

Running
1
2
3
4
5
6
7
    Shaped on pipelines we run · demo data
    In the pipeline

    Seven guards between a merge and your users. Each one stops a specific way a release goes wrong.

    Without it

    A bad release stays down until someone is found

    $ pm2 restart app
    [app] crashed (1)
    [app] crashed (2)
    [app] crashed (3)
    … site down
    In the pipeline

    The previous release is put back on its own

    - name: Roll back
      if: failure()
      run: |
        cp -a .deploy-previous/. ./
        pm2 restart app
    # production stays on the old code

    Taken from pipelines we run · trimmed for reading

    Proof

    Pipelines behind live client systems. Used every day, shipped without anyone touching the server.

    Case studyProperty development ERPLive

    Merge to ship. Eight checks before a release takes traffic.

    A live ERP the client's sales and accounts teams use every day. A release is one merge. The build runs in CI, and if the new release does not come back healthy, the old one is put back on its own.

    checks on every release
    8
    merge to ship
    1
    uploads or secrets a deploy can touch
    0
    What the pipeline does
    • Builds in CI, so a broken build never reaches the server
    • Stops if a database change has not been signed off
    • Keeps the current release for rollback
    • Checks the server is running the exact commit
    • Rolls back on its own if it is not
    Deploy to productionLive
    1. Build the frontend in CI
    2. Stop if a database change is unapplied
    3. Refuse an empty build
    4. Snapshot the current release
    5. Ship the code, never uploads or .env
    6. Syntax check before restart
    7. Every module resolves
    8. Every environment key present
    9. Restart
    10. Healthy, and running this commit
    11. Public site answers
    ↺If any check fails: roll back on its own

    Steps from the real workflow

    More systems we ship and run.

    Technology servicesLive
    10pre-deploy backups kept

    A contract platform shipped in Docker to the client's own server

    Each commit builds an image. The database is backed up before every deploy, and a failed health check restores the previous image. The server is shared with another live app.

    Backup before deployAutomatic rollbackLocked-down server
    ConstructionLive
    5security findings, all fixed

    A security pass on a live material platform

    Network, headers, sign-in limits and uploads checked on the live server. Every finding fixed. A dependency audit now runs on every build, and backups run nightly.

    Dependency auditLocked-down serverSecrets and client data
    Technology servicesLive
    ~90 sfrom order to a running server

    A self-service cloud on a client's own data centre

    Customers order a virtual server and it is set up for them, with a three-tier reseller model and an operator back office.

    How it runs

    Nothing changes until the plan is agreed. Then the pipeline earns trust one release at a time.

    1. 01

      Look at how you ship today

      How code reaches the server, who can do it, and what happens when it breaks.

    2. 02

      A pipeline plan

      The checks, the packaging and the rollback, agreed before we change anything.

    3. 03

      Build it beside the old way

      The first deploys run with us watching, until the pipeline has earned trust.

    4. 04

      Run it with you

      Monitoring, backups and updates, or a handover your team can own.

    5. +

      Then, if you want it: a care plan with monitoring, fixes and improvement hours each month.

    Pipeline plan · example
    Your web app
    Ships on
    Merge to main, or a version tag
    Checks
    Types, lint, tests, dependency audit
    Package
    Docker image, tagged by commit
    Before deploy
    Database backup, old release kept
    Live when
    Health check reports this commit
    Otherwise
    Rolled back on its own
    Every night
    Database and uploads backed up
    Every build
    Dependencies audited
    What you get

    Shipping becomes a merge. And a bad release becomes a non-event.

    CI/CD

    Build, test and release on every merge, with nothing done by hand on the server.

    Containerised deployment

    Your app in Docker, the same image from CI to production.

    Monitoring

    Health checks, backup status and alerts when something stops answering.

    Security scanning

    Known flaws in dependencies fail the build. Servers locked down.

    Questions. What teams ask before they automate releases.

    • With how you ship now. We write down the steps, then automate them one at a time, keeping a way back at each step.

    Tell us how you ship today. We reply within one working day with a pipeline plan.

    Need this skill in your own team? See our engineers