I’ve been using my Ostranauts mods to learn more about CI/CD. Every change gets checked automatically, and when I tag a release, GitLab builds the download for me.

What runs

Every branch push and merge request runs a Python helper that checks the mod’s JSON and version numbers. For mods with a plugin the mod and plugin versions have to match AND a release tag has to match them, which catches version mix-ups before anything gets packaged.

Pushing a version tag like v0.3.3 starts the build and creates a GitLab release with a link to the install ZIP. Tags give me a separate step where I quintuple check that everything is okay. I use the same Python helper locally and in CI, so I only have one packaging process to keep up with.

Building the plugins

Bigger Thrusters and Put On Your Suit need some libraries from my copy of Ostranauts to compile so I run those builds with the .NET 10 SDK on my own private GitLab runner (the worker that picks up the build job). It runs in a Podman container without root access, with the game libraries mounted as read-only, and those libraries never end up in the repository or the download.

GitLab keeps the ZIP as a job artifact, which is just the saved output of that build. Each release links to its own job, so a later build doesn’t change which ZIP an older release points to.

These checks catch data and packaging problems, but I still have to test how the mods actually behave in the game myself.