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
| Type | Example | When |
|---|---|---|
| PATCH | v0.2.1 | Bug fix, no API change |
| MINOR | v0.3.0 | New feature, backwards-compatible |
| MAJOR | v1.0.0 | Breaking 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 versionResult: https://downloads.dev.imvee.de/satellite/v0.3.0/ is live.
Supported Platforms & Binaries
| Platform | Binary name |
|---|---|
| Linux x86_64 | imvee-satellite-agent-linux-amd64 |
| Linux ARM64 | imvee-satellite-agent-linux-arm64 |
| macOS Intel | imvee-satellite-agent-darwin-amd64 |
| macOS Apple Silicon | imvee-satellite-agent-darwin-arm64 |
| macOS Universal | imvee-satellite-agent-darwin-universal |
Additionally generated per release:
checksums.txt— SHA256 checksums of all binariesinstall.sh— Installer scriptVERSION— Version file
CI/CD Dependencies
Two tokens must be stored in GitLab for the release flow:
| Variable | Repo | Token type | Purpose |
|---|---|---|---|
SOCSUITE_TRIGGER_TOKEN | Satellite | Pipeline Trigger Token | Triggers the SOCSuite pipeline after release |
SATELLITE_DOWNLOAD_TOKEN | SOCSuite | Deploy 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
- Installation — Install and update the agent
- Requirements — Supported platforms and binaries