Skip to content

feat: add self-hosted GitHub runners for dialogporten#3707

Open
arealmaas wants to merge 2 commits into
mainfrom
arealmaas/chengdu-v2
Open

feat: add self-hosted GitHub runners for dialogporten#3707
arealmaas wants to merge 2 commits into
mainfrom
arealmaas/chengdu-v2

Conversation

@arealmaas

Copy link
Copy Markdown
Contributor

Description

Provisions per-repo ephemeral self-hosted GitHub Actions runners for Altinn/dialogporten, following the existing per-product pattern in infrastructure/gh-runners/.

  • New file: infrastructure/gh-runners/dialogporten.tf
  • Address space: 172.17.132.0/24 (next free /24 after platform/correspondence/broker/docs)
  • Prefix: dialog (≤ 11 lowercase alphanumeric chars)
  • 4.0 CPU / 8Gi memory and tags matching the other product runners

Runners register to the repo with the self-hosted label. On merge to main, altinn-org-gh-runners-deploy.yml runs terraform apply and the runner Container App Job is created.

Context

This unblocks an initial experiment in dialogporten to move lightweight, non-Docker, PR-triggered checks onto self-hosted runners (companion PR in Altinn/dialogporten). This PR must merge and deploy first — otherwise the dialogporten jobs that target self-hosted have no runner to pick them up.

🤖 Generated with Claude Code

Provision per-repo ephemeral runners (label: self-hosted) registered to
Altinn/dialogporten, following the existing per-product pattern in
infrastructure/gh-runners. Allocated the next free /24 (172.17.132.0/24)
and prefix "dialog".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@arealmaas arealmaas requested a review from a team as a code owner June 15, 2026 12:43
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@arealmaas, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 47 minutes and 25 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f7683d28-b91e-442c-94f9-0aa32ecd8546

📥 Commits

Reviewing files that changed from the base of the PR and between 33d2a9e and 43ac22c.

📒 Files selected for processing (2)
  • infrastructure/gh-runners/dialogporten-frontend.tf
  • infrastructure/gh-runners/dialogporten.tf
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch arealmaas/chengdu-v2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Repo-scoped ephemeral runner (Azure Container App Job) for
Altinn/dialogporten-frontend, alongside the dialogporten runner.
CIDR 172.17.133.0/24, prefix dpfrontend.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@arealmaas

Copy link
Copy Markdown
Contributor Author

Added infrastructure/gh-runners/dialogporten-frontend.tf — a repo-scoped ephemeral runner for Altinn/dialogporten-frontend (CIDR 172.17.133.0/24, prefix dpfrontend), alongside the dialogporten runner in this PR.

Companion PR that flips that repo's lightweight CI jobs to runs-on: self-hosted: Altinn/dialogporten-frontend#4357. This PR must be merged and applied before that one, or those jobs queue with no runner.

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