Skip to content

peinser/github-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build & Distribute GitHub Actions Runner Container

GitHub Actions Runner

This repository contains the definition of Peinser's self-hosted GitHub Actions Runner, which contains serveral utilities that we use frequently.

Helm

The values.yaml is provided to ease the installation of the GitHub runner on our Kubernetes platform. In particular, it relates to the installation processed described here. For completeness, we list the instructions that have to be executed in order to install this particular runner.

INSTALLATION_NAME="k8s-be-lanaken"
NAMESPACE="github-runners"
GITHUB_PAT="<PAT>"
helm install --update "${INSTALLATION_NAME}" \
    -f values.yaml \
    --namespace "${NAMESPACE}" \
    --set githubConfigSecret.github_token="${GITHUB_PAT}" \
    oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set

Note that, before configuring, a image pull secret has to be provided in order for the namespace to be able to download from harbor.peinser.com.

TODO

  • Do not use GitHub PAT. Use GitHub App instead.
  • Versioning of releases. Including builds to Harbor.