gitea-runner: ram scratch space
This commit is contained in:
@@ -29,8 +29,9 @@ data:
|
||||
network: "host"
|
||||
privileged: false
|
||||
options:
|
||||
workdir_parent:
|
||||
valid_volumes: []
|
||||
workdir_parent: /scratch
|
||||
valid_volumes:
|
||||
- /scratch/**
|
||||
docker_host: ""
|
||||
force_pull: true
|
||||
force_rebuild: false
|
||||
|
||||
@@ -61,11 +61,17 @@ spec:
|
||||
mountPath: /config
|
||||
- name: runner-data
|
||||
mountPath: /data
|
||||
- name: runner-scratch
|
||||
mountPath: /scratch
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
- name: runner-scratch
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
sizeLimit: 5Gi
|
||||
- name: runner-config
|
||||
configMap:
|
||||
name: runner-config
|
||||
|
||||
Reference in New Issue
Block a user