You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
fix: b
This commit is contained in:
@@ -112,20 +112,26 @@ spec:
|
|||||||
- name: buildkitd
|
- name: buildkitd
|
||||||
image: moby/buildkit:v0.12.0-rootless
|
image: moby/buildkit:v0.12.0-rootless
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /usr/bin/rootlesskit
|
||||||
args:
|
args:
|
||||||
- -c
|
- --net=slirp4netns
|
||||||
- |
|
- --copy-up=/etc
|
||||||
mkdir -p /run/buildkit && \
|
- --copy-up=/run
|
||||||
/usr/bin/rootlesskit \
|
- --propagation=rslave
|
||||||
--net=slirp4netns \
|
- /usr/bin/buildkitd
|
||||||
--copy-up=/etc \
|
- --addr=unix:///run/buildkit/buildkitd.sock
|
||||||
--copy-up=/run \
|
- --oci-worker-no-process-sandbox
|
||||||
--propagation=rslave \
|
- --containerd-worker=false
|
||||||
/usr/bin/buildkitd \
|
- --debug
|
||||||
--addr=unix:///run/buildkit/buildkitd.sock \
|
lifecycle:
|
||||||
--oci-worker-no-process-sandbox \
|
preStart:
|
||||||
--containerd-worker=false
|
exec:
|
||||||
|
command: ["/bin/sh", "-c", "mkdir -p /run/buildkit"]
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command: ["buildctl", "debug", "workers"]
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
env:
|
env:
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: /home/user
|
value: /home/user
|
||||||
@@ -166,7 +172,7 @@ spec:
|
|||||||
value: "1048576"
|
value: "1048576"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: volume
|
- name: volume
|
||||||
mountPath: /home/user/.local/share
|
mountPath: /run/buildkit
|
||||||
subPath: buildkit-data
|
subPath: buildkit-data
|
||||||
- name: volume
|
- name: volume
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
@@ -174,14 +180,11 @@ spec:
|
|||||||
- name: volume
|
- name: volume
|
||||||
mountPath: /home/user/.docker
|
mountPath: /home/user/.docker
|
||||||
subPath: docker-config
|
subPath: docker-config
|
||||||
- name: tmp
|
- name: volume
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
|
subPath: tmp-data
|
||||||
volumes:
|
volumes:
|
||||||
- name: volume
|
- name: volume
|
||||||
emptyDir:
|
emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
sizeLimit: 10Gi
|
sizeLimit: 10Gi
|
||||||
- name: tmp
|
|
||||||
emptyDir:
|
|
||||||
medium: Memory
|
|
||||||
sizeLimit: 1Gi
|
|
||||||
|
Reference in New Issue
Block a user