ci-cd

  • A coverage report that only measures changed lines

    Total coverage moves so slowly that it tells you nothing about the change in front of you, and the question a reviewer wants answered is whether the new…

  • Compose profiles before profiles: two files and a merge

    Wanting the mail catcher and phpMyAdmin locally but not in CI, without maintaining two full compose files, is the problem profiles eventually solve. In 2018 the answer is…

  • Wildcard certificates, and the DNS challenge

    ACME v2 landed in March and wildcards need a different proof. The certificate is the easy part; the API token that can rewrite your zone is not.

  • GitLab CI stages are not jobs, and the difference matters

    Jobs in the same stage run in parallel and jobs in later stages wait for all of the previous stage, which is obvious once stated and produces surprising…

  • webpack 4 needs almost no configuration

    One line replaced about eighty. The defaults are almost always right, and the cost is that they are invisible when they are not.

  • The build cache misses on a file mode change

    A build that rebuilds from scratch on CI while being fully cached locally is usually not a Docker problem — it is that the checkout produced different file…

  • nginx -t before every reload, in the deploy script

    systemctl reload nginx with a broken configuration leaves the old one running and reports success in a way that is easy to miss, right up until the next…

  • Laravel 5.6 and logging you can configure

    Logging moved into a config file, and stacks are why it matters — a different format per destination, decided without touching a service provider.

  • Symfony 4 and the bundle that does not exist

    A new project used to arrive with forty megabytes of vendor code and one route. The framework got smaller, and the interesting part is what happens at install…

  • Alerting that people do not learn to ignore

    340 alerts in a month, four of which mattered. An alert channel nobody reads is the same as no alerting, and the cause is alerting on causes.