Replies: 2 comments
-
my runner setup: apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: brahma-org-runner
namespace: buildagents
spec:
replicas: 5
selector:
matchLabels:
app: github-runner
template:
metadata:
labels:
app: github-runner
spec:
organization: Brahma
dockerEnabled: true
dockerdWithinRunnerContainer: false
serviceAccountName: eks-buildagents-sa
image: ***.dkr.ecr.us-east-2.amazonaws.com/build-agent:v1.0
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
dockerVolumeMounts:
- mountPath: /var/lib/docker
name: docker-graph-storage
subPathExpr: $(POD_NAME)-docker
- mountPath: /runner/_work/$(POD_NAME)
name: build-file-system
subPathExpr: $(POD_NAME)-work
volumeMounts:
- mountPath: /runner/_work/$(POD_NAME)
name: build-file-system
subPathExpr: $(POD_NAME)-work
dockerEnv:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
resources:
limits:
memory: 2Gi
requests:
cpu: 500m
memory: 512Mi
volumes:
- name: docker-graph-storage
ephemeral:
volumeClaimTemplate:
metadata:
labels:
type: docker-agent-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "gp2"
resources:
requests:
storage: 20Gi
- name: build-file-system
ephemeral:
volumeClaimTemplate:
metadata:
labels:
type: build-agent-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "gp2"
resources:
requests:
storage: 20Gi |
Beta Was this translation helpful? Give feedback.
0 replies
-
inside the runner: what my task print: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
makefile rule
.PHONY: build-common
build-common: ## - execute build common tasks clean and mod tidy
@ go version
but within my runner I have access to my tools:
docker commands are running properly, btw.
Beta Was this translation helpful? Give feedback.
All reactions