Skip to content

Add autoscaling runner examples for Azure and release 0.2.0 - #7

Merged
olljanat-ai merged 2 commits into
mainfrom
claude/tender-meitner-ajhg0z
Nov 12, 2026
Merged

olljanat-ai merged 2 commits into
mainfrom
claude/tender-meitner-ajhg0z

Conversation

@olljanat-ai

Copy link
Copy Markdown
Member

Summary

Ready-to-deploy autoscaling self-hosted setups on Azure, both pushing to Azure Container Registry without secrets.

  • examples/azure-devops-managed-pool (Bicep), a Managed DevOps Pool:
    • stateless Ubuntu 24.04 agents with Docker preinstalled
    • scales with the queue, with automatic standby agents
    • optional VNet injection for private-endpoint registries
    • a user-assigned managed identity with AcrPush, plus the required Dev Center and Dev Center project
    • pipelines need only a variable group (CONTAINER_REGISTRY, AZURE_CLIENT_ID) and - task: ContainerBuild@0
  • examples/github-arc-aks (setup script and Helm values), Actions Runner Controller on AKS:
    • a runner scale set that scales from zero, in Docker-in-Docker mode
    • AKS workload identity: OIDC issuer, a managed identity with AcrPush, and a federated credential for the runner service account
    • CONTAINER_REGISTRY is set once in the pod template, so workflows need only runs-on: container-build and uses: onek8s/container-build-extension@v0
  • A new CI job examples validates both:
    • bicep build must produce no warnings, so unknown properties fail the job
    • helm template of the actual gha-runner-scale-set chart, checking the workload identity label and the service account
  • Bumps the version to 0.2.0, which ships the Azure Container Registry identity support from Log in to Azure Container Registry with Entra identities (workload identity, managed identity, OIDC) #6.

Testing

  • bicep build (Bicep CLI 0.49.2) is clean. A deliberately invalid property is reported (BCP037), which confirms the Microsoft.DevOpsInfrastructure/pools@2024-10-19 schema is really being checked.
  • helm template with gha-runner-scale-set 0.15.1 renders:
    • the azure.workload.identity/use label and serviceAccountName: container-build-runner
    • CONTAINER_REGISTRY on the runner container
    • the dind sidecar, sharing /home/runner/_work, which holds RUNNER_TEMP for the scan and SBOM files
  • bash -n setup.sh passes. npm run check passes: 79 tests and the build.
  • Not deployed to a real Azure subscription from this environment.

Generated by Claude Code

- examples/azure-devops-managed-pool: Bicep for a Managed DevOps Pool
  whose agents push to ACR with a user-assigned managed identity
- examples/github-arc-aks: Actions Runner Controller on AKS with
  Docker-in-Docker and AKS workload identity (setup script + values)
- CI validates the Bicep (no warnings) and renders the Helm chart
- Bump version to 0.2.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQazVvi679PqLz7o1C1
brace-expansion 1.1.22 (transitive dependency of tfx-cli) was published
on 2026-11-11 and is blocked by safe-chain's 48 hour minimum package age
in CI. Use the previous release until it has aged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQazVvi679PqLz7o1C1
@olljanat-ai
olljanat-ai merged commit bb93d33 into main Nov 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants