A monorepo deploys each service independently with its own version. How do you trigger and version releases?
AdvancedScenarioRunners, ARC, Monorepos & Releases
Answer
Situation read → Per-package versioning.
What I'd do →
- Tags with prefixes:
api-v1.4.0,web-v2.1.0; triggeron: push: tags: ["*-v*"]. - Parse service and version:
svc=${GITHUB_REF_NAME%-v*}; ver=${GITHUB_REF_NAME##*-v}. - Or release-please in manifest mode (
release-please-config.jsonwith packages), creating per-package release PRs and tags. - Deploy only the tagged service via the reusable deploy workflow.
Why → Independent tags keep changelogs and rollbacks per service.
Interview tip → Mention release-please manifest mode for monorepos.
More on Runners, ARC, Monorepos & Releases
You must build on runners that can reach an internal Artifactory. Design the runner setup.AdvancedPersistent self-hosted runners keep failing because a previous job left files and Docker images. Fix the root cause.BeginnerDesign ARC for a company with Linux build jobs, Docker image builds, and GPU tests.AdvancedYou need to upgrade ARC across 10 clusters with zero dropped jobs. Plan it.AdvancedA monorepo has 30 services; every PR builds all of them. Redesign.AdvancedDesign a release workflow for a CLI tool that publishes binaries for Linux, macOS and Windows.Intermediate