You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/CI/docker-compose.yml
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,17 +115,26 @@ services:
115
115
command: ["sleep", "infinity"] # This is necessary because of the issue described in https://github.com/moby/moby/issues/42275. What is added here is a hack/workaround.
116
116
117
117
dirac-pilot:
118
-
image: registry.cern.ch/cernvm/five/cernvm-five
118
+
image: ${CI_REGISTRY_IMAGE}/${HOST_OS}-dirac
119
119
container_name: pilot
120
120
hostname: pilot
121
121
user: "${DIRAC_UID}:${DIRAC_GID}"
122
122
depends_on:
123
123
- dirac-server
124
124
volumes:
125
-
- ${CVMFS_DIR}:/cvmfs:ro
125
+
- type: bind
126
+
source: ${CVMFS_DIR}
127
+
target: /cvmfs
128
+
bind:
129
+
propagation: rslave
126
130
ulimits:
127
131
nofile: 8192
128
132
pull_policy: always
133
+
healthcheck:
134
+
test: ["CMD", "ls", "${CVMFS_DIR}"]
135
+
timeout: 20s
136
+
retries: 10
137
+
start_period: 60s
129
138
command: ["sleep", "infinity"] # This is necessary because of the issue described in https://github.com/moby/moby/issues/42275. What is added here is a hack/workaround.
0 commit comments