Skip to content

Commit fcf2edb

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents f525026 + 560215e commit fcf2edb

File tree

18 files changed

+73
-36
lines changed

18 files changed

+73
-36
lines changed

.github/workflows/updatecli.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
# This step installs Updatecli in the runner using the updatecli-action
2525
- name: Install Updatecli in the runner
26-
uses: updatecli/updatecli-action@v2.83.0
26+
uses: updatecli/updatecli-action@v2.84.0
2727

2828
# This step runs Updatecli in Dry Run mode
2929
# It uses the "diff" command of updatecli with the specified config and values files

.gitpod/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This Dockerfile is used to create a Gitpod workspace with GitHub CLI installed.
22

33
# We start from the Gitpod full workspace image which includes a broad range of development tools.
4-
FROM gitpod/workspace-full:2025-05-09-11-18-24
4+
FROM gitpod/workspace-full:2025-06-04-16-54-45
55

66
# The RUN command executes a series of commands in the new layer of the image and commits the results.
77
# The following commands are executed:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ Please let us know the following details when you open an issue:
6868

6969
The tutorials have been tested with:
7070
- Docker version `28.0.4`
71-
- Docker Compose version `2.35.1`
71+
- Docker Compose version `2.36.0`

build-docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ services:
6363
timeout: 10s
6464
retries: 5
6565
default_agent:
66-
image: jenkins/ssh-agent:6.16.0-jdk21
66+
image: jenkins/ssh-agent:6.18.0-jdk21
6767
container_name: desktop-jenkins_agent-1
6868
profiles:
6969
- default

docker-compose.yaml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ services:
1414
volumes:
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.
17+
networks:
18+
- jenkins-net
1719
healthcheck:
1820
test: ["CMD-SHELL", "[ -f /ssh-dir/conductor_ok ] || exit 1"]
1921
# Checks if the conductor_ok file exists in the /ssh-dir path
@@ -38,6 +40,8 @@ services:
3840
- dotnet
3941
- default
4042
# This service depends on the sidekick_service (generating SSH keys and JCasc token) completing successfully.
43+
networks:
44+
- jenkins-net
4145
depends_on:
4246
sidekick_service:
4347
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -76,6 +80,10 @@ services:
7680
# Mounting the token as "container secret" makes it available in JCasc as the variable ${CASC_RELOAD_TOKEN}
7781
- ./secrets/jcasc_token:/run/secrets/CASC_RELOAD_TOKEN:ro
7882
# This service depends on the sidekick_service (generating SSH keys and JCasc token) completing successfully.
83+
networks:
84+
jenkins-net:
85+
aliases:
86+
- jenkins_controller # Add secondary alias
7987
depends_on:
8088
sidekick_service:
8189
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -97,6 +105,8 @@ services:
97105
- empty_jenkins_home:/var/jenkins_home # Mounts the jenkins_home volume to the /var/jenkins_home path inside the container
98106
- agent-ssh-dir:/ssh-dir # Mounts the agent-ssh-dir volume to the /app path inside the container
99107
# This service depends on the sidekick_service (generating SSH keys and JCasc token) completing successfully.
108+
networks:
109+
- jenkins-net
100110
depends_on:
101111
sidekick_service:
102112
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -111,10 +121,12 @@ services:
111121
# The healthcheck command for each agent checks if the authorized_keys file exists in the /home/jenkins/.ssh directory.
112122
# The /home/jenkins/.ssh directory in each agent container is mapped to the agent-ssh-dir volume on the host.
113123
default_agent:
114-
image: jenkins/ssh-agent:6.16.0-jdk21
124+
image: jenkins/ssh-agent:6.18.0-jdk21
115125
container_name: desktop-jenkins_agent-1
116126
profiles:
117127
- default
128+
networks:
129+
- jenkins-net
118130
depends_on:
119131
sidekick_service:
120132
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -133,6 +145,8 @@ services:
133145
container_name: desktop-jenkins_agent-1
134146
profiles:
135147
- wizard
148+
networks:
149+
- jenkins-net
136150
depends_on:
137151
sidekick_service:
138152
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -145,6 +159,8 @@ services:
145159
container_name: desktop-jenkins_agent-1-maven
146160
profiles:
147161
- maven
162+
networks:
163+
- jenkins-net
148164
depends_on:
149165
sidekick_service:
150166
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -163,6 +179,8 @@ services:
163179
container_name: desktop-jenkins_agent-1-python
164180
profiles:
165181
- python
182+
networks:
183+
- jenkins-net
166184
depends_on:
167185
sidekick_service:
168186
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -183,6 +201,8 @@ services:
183201
container_name: desktop-jenkins_agent-1-node
184202
profiles:
185203
- node
204+
networks:
205+
- jenkins-net
186206
depends_on:
187207
sidekick_service:
188208
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -205,6 +225,8 @@ services:
205225
container_name: desktop-jenkins_agent-1-android
206226
profiles:
207227
- android
228+
networks:
229+
- jenkins-net
208230
depends_on:
209231
sidekick_service:
210232
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -227,6 +249,8 @@ services:
227249
- "8080:8080"
228250
profiles:
229251
- multi
252+
networks:
253+
- jenkins-net
230254
volumes:
231255
- jenkins_home:/var/jenkins_home # Mounts the jenkins_home volume to the /var/jenkins_home path inside the container
232256
- agent-ssh-dir:/ssh-dir # Mounts the agent-ssh-dir volume to the /app path inside the container
@@ -246,6 +270,8 @@ services:
246270
container_name: desktop-jenkins_agent-1-multi
247271
profiles:
248272
- multi
273+
networks:
274+
- jenkins-net
249275
depends_on:
250276
sidekick_service:
251277
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -269,6 +295,8 @@ services:
269295
container_name: desktop-jenkins_agent-1-golang
270296
profiles:
271297
- golang
298+
networks:
299+
- jenkins-net
272300
depends_on:
273301
sidekick_service:
274302
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -291,6 +319,8 @@ services:
291319
container_name: desktop-jenkins_agent-1
292320
profiles:
293321
- cpp
322+
networks:
323+
- jenkins-net
294324
depends_on:
295325
sidekick_service:
296326
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -313,6 +343,8 @@ services:
313343
container_name: desktop-jenkins_agent-1
314344
profiles:
315345
- dotnet
346+
networks:
347+
- jenkins-net
316348
depends_on:
317349
sidekick_service:
318350
condition: service_completed_successfully # Depends on the successful completion of the sidekick_service
@@ -333,3 +365,8 @@ volumes:
333365
empty_jenkins_home: null
334366
agent-ssh-dir:
335367
name: agent-ssh-dir # Creates a named volume called agent-ssh-dir
368+
369+
networks:
370+
jenkins-net:
371+
driver: bridge
372+
attachable: true

docker-versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
- Docker version 28.0.4, build b8034c0
2-
- Docker Compose version v2.35.1
2+
- Docker Compose version v2.36.0

dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This Dockerfile is used to create a Jenkins server with a specific version and pre-configured settings.
22

33
# We start by defining an ARG for the Jenkins version. This allows us to easily change the version of Jenkins we want to use.
4-
ARG JENKINS_VERSION=2.504.1
4+
ARG JENKINS_VERSION=2.504.2
55
# We then use the official Jenkins image with the specified version as our base image.
66
FROM jenkins/jenkins:"${JENKINS_VERSION}"-lts-jdk21
77

dockerfiles/agent-discovery/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This Dockerfile is used to prepare a Debian-based Docker image with several utilities installed.
22

33
# We start from the Debian 'bookworm' image dated 2023-11-20.
4-
FROM debian:bookworm-20250428-slim as prepare-stage
4+
FROM debian:bookworm-20250520-slim as prepare-stage
55

66
# Copy all shell scripts from the current directory to /usr/local/bin/ in the image.
77
COPY *sh /usr/local/bin/

dockerfiles/android/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM jenkins/ssh-agent:6.16.0-jdk21 as ssh-agent
1+
FROM jenkins/ssh-agent:6.18.0-jdk21 as ssh-agent
22

33
# ca-certificates because curl uses certificates from ca-certificates
44
RUN apt-get update && apt-get install -y --no-install-recommends adb build-essential ca-certificates curl file git python3 python3-pip unzip

dockerfiles/cpp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM jenkins/ssh-agent:6.16.0-jdk21
1+
FROM jenkins/ssh-agent:6.18.0-jdk21
22

33
# Install necessary C++ build tools
44
RUN apt-get update && apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)