@@ -15,7 +15,7 @@ services:
1515 - agent-ssh-dir:/ssh-dir # Mounts the agent-ssh-dir volume to the /ssh-dir path inside the container
1616 # The healthcheck command checks if the conductor_ok file exists in the /ssh-dir directory.
1717 healthcheck :
18- test : [ "CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1" ]
18+ test : ["CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1"]
1919 # Checks if the conductor_ok file exists in the /ssh-dir path
2020 interval : 5s
2121 timeout : 10s
@@ -42,7 +42,7 @@ services:
4242 condition : service_completed_successfully # Depends on the successful completion of the sidekick_service
4343 # The healthcheck command checks if the find-name.sh script can be executed successfully.
4444 healthcheck :
45- test : [ "CMD-SHELL", "/usr/local/bin/find-name.sh || exit 0" ]
45+ test : ["CMD-SHELL", "/usr/local/bin/find-name.sh || exit 0"]
4646 interval : 5s
4747 timeout : 10s
4848 retries : 50
@@ -78,7 +78,7 @@ services:
7878 sidekick_service :
7979 condition : service_completed_successfully # Depends on the successful completion of the sidekick_service
8080 healthcheck :
81- test : [ "CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1" ]
81+ test : ["CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1"]
8282 # Checks if the conductor_ok file exists in the /ssh-dir path
8383 interval : 5s
8484 timeout : 10s
@@ -99,7 +99,7 @@ services:
9999 sidekick_service :
100100 condition : service_completed_successfully # Depends on the successful completion of the sidekick_service
101101 healthcheck :
102- test : [ "CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1" ]
102+ test : ["CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1"]
103103 # Checks if the conductor_ok file exists in the /ssh-dir path
104104 interval : 5s
105105 timeout : 10s
@@ -109,7 +109,7 @@ services:
109109 # The healthcheck command for each agent checks if the authorized_keys file exists in the /home/jenkins/.ssh directory.
110110 # The /home/jenkins/.ssh directory in each agent container is mapped to the agent-ssh-dir volume on the host.
111111 default_agent :
112- image : jenkins/ssh-agent:6.9 .0
112+ image : jenkins/ssh-agent:6.10 .0
113113 container_name : desktop-jenkins_agent-1
114114 profiles :
115115 - default
@@ -119,7 +119,7 @@ services:
119119 jenkins_controller :
120120 condition : service_started
121121 healthcheck :
122- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
122+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
123123 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
124124 interval : 5s
125125 timeout : 10s
@@ -149,7 +149,7 @@ services:
149149 jenkins_controller :
150150 condition : service_started
151151 healthcheck :
152- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
152+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
153153 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
154154 interval : 5s
155155 timeout : 10s
@@ -167,7 +167,7 @@ services:
167167 jenkins_controller :
168168 condition : service_started
169169 healthcheck :
170- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
170+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
171171 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
172172 interval : 5s
173173 timeout : 10s
@@ -189,7 +189,7 @@ services:
189189 ports :
190190 - " 3000:3000"
191191 healthcheck :
192- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
192+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
193193 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
194194 interval : 5s
195195 timeout : 10s
@@ -211,7 +211,7 @@ services:
211211 ports :
212212 - " 3000:3000"
213213 healthcheck :
214- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
214+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
215215 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
216216 interval : 5s
217217 timeout : 10s
@@ -232,7 +232,7 @@ services:
232232 sidekick_service :
233233 condition : service_completed_successfully # Depends on the successful completion of the sidekick_service
234234 healthcheck :
235- test : [ "CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1" ]
235+ test : ["CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1"]
236236 # Checks if the conductor_ok file exists in the /ssh-dir path
237237 interval : 5s
238238 timeout : 10s
@@ -253,7 +253,7 @@ services:
253253 - " 3000:3000"
254254 - " 5000:5000"
255255 healthcheck :
256- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
256+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
257257 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
258258 interval : 5s
259259 timeout : 10s
@@ -275,7 +275,7 @@ services:
275275 ports :
276276 - " 3000:3000"
277277 healthcheck :
278- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
278+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
279279 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
280280 interval : 5s
281281 timeout : 10s
@@ -297,7 +297,7 @@ services:
297297 ports :
298298 - " 3000:3000"
299299 healthcheck :
300- test : [ "CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1" ]
300+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
301301 # Checks if the authorized_keys file exists in the /home/jenkins/.ssh path
302302 interval : 5s
303303 timeout : 10s
0 commit comments