aboutsummaryrefslogtreecommitdiffstats
path: root/.github/arc_config
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2023-07-24 12:19:13 +0200
committerTaras Madan <tarasmadan@google.com>2023-07-25 09:23:24 +0000
commitea375f8320bc8a00deb4199787bed09633328377 (patch)
tree26a5b7644d3959502025e3e0adfa4232c77473ba /.github/arc_config
parent876ac09776767ab1ce15e134d0a3fa89110def6e (diff)
ci.yml: run any-env tests on k8s-env
Diffstat (limited to '.github/arc_config')
-rw-r--r--.github/arc_config/runner.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/arc_config/runner.yaml b/.github/arc_config/runner.yaml
new file mode 100644
index 000000000..6dd1c89e1
--- /dev/null
+++ b/.github/arc_config/runner.yaml
@@ -0,0 +1,38 @@
+# Copyright 2023 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+apiVersion: actions.summerwind.dev/v1alpha1
+kind: RunnerDeployment
+metadata:
+ name: k8s-action-runner
+ namespace: actions-runner-system
+spec:
+ template:
+ spec:
+ repository: google/syzkaller
+ resources:
+ requests:
+ cpu: "31"
+ memory: "26Gi"
+ limits:
+ memory: "28Gi"
+ labels:
+ - k8s-env
+
+---
+
+apiVersion: actions.summerwind.dev/v1alpha1
+kind: HorizontalRunnerAutoscaler
+metadata:
+ name: k8s-action-runner-autoscaler
+ namespace: actions-runner-system
+spec:
+ scaleTargetRef:
+ kind: RunnerDeployment
+ name: k8s-action-runner
+ minReplicas: 3
+ maxReplicas: 10
+ metrics:
+ - type: TotalNumberOfQueuedAndInProgressWorkflowRuns
+ repositoryNames:
+ - google/syzkaller