Skip to content

Commit 1c17fb1

Browse files
committed
cosi: update lint test to enable DinD
Update COSI's presubmit (on pull-request) prow job (lint) to enable/allow docker-in-docker. Signed-off-by: sanjalkatiyar <[email protected]>
1 parent aefb999 commit 1c17fb1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/jobs/kubernetes-sigs/container-object-storage-interface/container-object-storage-interface.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ presubmits:
7070
always_run: true
7171
decorate: true
7272
path_alias: sigs.k8s.io/container-object-storage-interface
73+
labels:
74+
preset-dind-enabled: "true" # build uses docker, requires DinD
7375
annotations:
7476
testgrid-dashboards: sig-storage-container-object-storage-interface
7577
testgrid-tab-name: lint
@@ -88,6 +90,9 @@ presubmits:
8890
requests:
8991
cpu: 4
9092
memory: 6Gi
93+
# docker-in-docker needs privileged mode
94+
securityContext:
95+
privileged: true
9196
env:
9297
- name: GOMAXPROCS # workaround for go not respecting cgroup resource limits/requests
9398
valueFrom:

0 commit comments

Comments
 (0)