IMVEEDev Portal

Release Process

How a new release of the Satellite Agent is created, built and distributed. This guide is aimed at developers with push access to the Satellite repository.

Semantic Versioning

The Satellite Agent uses Semantic Versioning: vMAJOR.MINOR.PATCH

TypeExampleWhen
PATCHv0.2.1Bug fix, no API change
MINORv0.3.0New feature, backwards-compatible
MAJORv1.0.0Breaking change in the protocol to SOCSuite

Triggering a Release

A new release is triggered exclusively by a Git tag on main. No manual binary upload needed — CI handles everything.

git tag v0.3.0
git push origin v0.3.0

:::warn [Tag from main only] Release tags (v*.*.*) should only be set on the main branch. Tags on develop or feature branches do trigger the pipeline, but do not produce a stable release. :::


CI Flow

Satellite pipeline  (triggered by tag v*.*.*)
  │
  ├── 1. check
  │     ├── lint:go       (golangci-lint run ./...)
  │     ├── lint:shell    (shellcheck scripts/*.sh)
  │     └── test:unit     (go test -race ./...)
  │
  ├── 2. build
  │     └── build:binaries
  │           → dist/ (all platforms, see table below)
  │           → checksums.txt
  │
  └── 3. release  (only for v* tags)
        ├── release:publish
        │     → Upload binaries to GitLab Generic Package Registry
        │
        └── release:trigger-socsuite-downloads
              → Triggers SOCSuite pipeline with SATELLITE_VERSION=v0.3.0
                (via SOCSUITE_TRIGGER_TOKEN)

        SOCSuite pipeline  (automatically triggered)
          │
          ├── 4. build:downloads
          │     → Docker image pulls binaries from Satellite Package Registry
          │       (via SATELLITE_DOWNLOAD_TOKEN)
          │     → Image pushed as socsuite/downloads:v0.3.0 + :latest
          │
          └── 5. deploy:dev
                → kubectl set image downloads=...downloads:v0.3.0
                → Downloads server serves new version

Result: https://downloads.dev.imvee.de/satellite/v0.3.0/ is live.


Supported Platforms & Binaries

PlatformBinary name
Linux x86_64imvee-satellite-agent-linux-amd64
Linux ARM64imvee-satellite-agent-linux-arm64
macOS Intelimvee-satellite-agent-darwin-amd64
macOS Apple Siliconimvee-satellite-agent-darwin-arm64
macOS Universalimvee-satellite-agent-darwin-universal

Additionally generated per release:

  • checksums.txt — SHA256 checksums of all binaries
  • install.sh — Installer script
  • VERSION — Version file

CI/CD Dependencies

Two tokens must be stored in GitLab for the release flow:

VariableRepoToken typePurpose
SOCSUITE_TRIGGER_TOKENSatellitePipeline Trigger TokenTriggers the SOCSuite pipeline after release
SATELLITE_DOWNLOAD_TOKENSOCSuiteDeploy Token (read_package_registry)Allows the downloads image build to pull binaries from the Satellite Package Registry

Tokens are stored in GitLab under Settings → CI/CD → Variables. The Deploy Token (socsuite-downloads-reader) is created on the Satellite project.

:::info [Local build] For local multi-arch builds use make build-all:

make build-all   # linux/darwin × amd64/arm64
make release     # + checksums.txt, RELEASE_NOTES.md

:::


See Also

On this page