act-runner

by gringolito

Helm chartv0.2.0App 0.2.11Verified publisher

Act Runners for Gitea Actions.

About this chart

Helm chart for Gitea Act Runner

Act Runners for Gitea Actions.

Installing the Chart

To install the chart with the release name act-runner

$ helm repo add gringolito https://gringolito.github.io/helm-charts
$ helm install act-runner gringolito/act-runner

Source Code

Maintainers

NameEmailUrl
Filipe Utzig[email protected]https://github.com/gringolito

Values

KeyTypeDefaultDescription
affinityobject{}Affinity and anti-affinity rules for runner pod scheduling. Affinity.
autoscaling.enabledboolfalseEnable horizontal pod autoscaling.
autoscaling.maxReplicasint100Maximum number of replicas.
autoscaling.minReplicasint1Minimum number of replicas.
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage for scaling.
autoscaling.targetMemoryUtilizationPercentageint80Target memory utilization percentage for scaling.
envlistSee values.yaml for default configurationDefine environment variables for the runner container.
envFromlist[]Define environment variables from existing ConfigMap or Secret data.
extraContainerslist[]Additional sidecar containers to run alongside the runner container.
extraVolumeMountslist[]Additional volume mounts for the runner container.
extraVolumeslist[]Additional volumes to attach to the runner pods.
global.commonLabelsobject{}Apply labels to all resources.
global.fullnameOverridestring""Override the fully qualified app name.
global.nameOverridestring""Override the name of the app.
image.namestring"gitea/act_runner"Specify the image name to use (relative to image.repository).
image.pullPolicystring"IfNotPresent"Specify the image pull policy. Valid values are Always, Never, IfNotPresent. imagePullPolicy.
image.pullSecretslist[]Specify the image pull secrets if pulling from private registry imagePullSecrets.
image.repositorystring"docker.io"Specify the image repository to use.
image.tagstring"0.2.11"Overrides the image tag whose default is the chart appVersion.
initContainerslist[]Init containers to run before the main runner container.
lifecycleobject{}Lifecycle hooks for the runner container. Lifecycle.
livenessProbeobject{}Liveness probe configuration for the runner container. LivenessProbe.
nodeSelectorobject{}Node selector for scheduling runner pods on specific nodes. nodeSelector.
persistence.accessModesstring"ReadWriteOnce"Access modes for the PersistentVolumeClaim.
persistence.enabledbooltrueEnable persistent storage for runner data.
persistence.mountPathstring"/data"Path inside the container where the volume will be mounted.
persistence.selectorobject{}Label selectors for the PersistentVolumeClaim.
persistence.sizestring"1Gi"Size of the PersistentVolumeClaim.
persistence.storageClassNamestring""Storage class name for the PersistentVolumeClaim.
podAnnotationsobject{}Annotations to add to the runner pods.
podLabelsobject{}Labels to add to the runner pods.
podPriorityClassNamestring""Priority class name for the runner pods. priorityClassName.
podSecurityContextobject{"fsGroup":1000}Pod security context configuration. Only applied when using rootless container. PodSecurityContext.
readinessProbeobject{}Readiness probe configuration for the runner container. ReadinessProbe.
replicasint1Number of runner replicas.
resourcesobject{}Resource requests and limits for the runner container. Resources.
runner.config.datastringSee values.yaml for default configurationSpecify runner's custom configuration in YAML format.
runner.config.enabledboolfalseEnable custom configuration for the runner deployment.
runner.dockerDind.enabledboolfalseEnable Docker in Docker with root user.
runner.dockerDind.imagestring"docker:23.0.6-dind"Docker DinD image repository and tag.
runner.instanceURLstring"https://gitea.example.com"Gitea instance URL where the runner will register.
runner.token.fromSecret.keystring""Specify the key in the secret that contains the Runner registration token.
runner.token.fromSecret.namestring""Specify the secret name containing the Runner registration token.
runner.token.valuestring""Set the Runner registration token value. If existing secret is specified this value is not used.
runner.updateStrategy.typestring"RollingUpdate"Specify the update strategy used to replace old Pods by new ones valid options are RollingUpdate, OnDelete. strategy
securityContextobject{}Security context configuration for the runner container. SecurityContext.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
terminationGracePeriodSecondsint10Termination grace period in seconds for the runner pods.
tolerationslist[]Tolerations for scheduling runner pods on nodes with taints. Tolerations.
topologySpreadConstraintslist[]Topology spread constraints for distributing runner pods across zones/nodes. TopologySpreadConstraints.

Deploy act-runner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has act-runner on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartact-runner is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply