@@ -18,10 +18,7 @@ name: Build & Publish Notebook Servers (TEMPLATE)
1818
1919jobs :
2020 build :
21- strategy :
22- matrix :
23- os : [ubuntu-22.04]
24- runs-on : ${{matrix.os}}
21+ runs-on : ubuntu-24.04
2522 env :
2623 # Some pieces of code (image pulls for example) in podman consult TMPDIR or default to /var/tmp
2724 TMPDIR : /home/runner/.local/share/containers/tmpdir
@@ -145,6 +142,10 @@ jobs:
145142 # remote (CONTAINER_HOST) podman does not do reset (and refuses --force option)
146143 sudo /home/linuxbrew/.linuxbrew/opt/podman/bin/podman system reset --force
147144
145+ # https://github.com/containers/podman/pull/25504
146+ # podman 5.5.0: The podman system reset command no longer removes the user's podman.sock API socket
147+ sudo rm -rf /var/run/podman
148+
148149 # https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md
149150 # since `brew services start podman` is buggy, let's do our own brew-compatible service
150151 # Regarding directory paths, see https://unix.stackexchange.com/questions/224992/where-do-i-put-my-systemd-unit-file
@@ -163,7 +164,12 @@ jobs:
163164
164165 - name : Show error logs (on failure)
165166 if : ${{ failure() }}
166- run : journalctl -xe
167+ run : |
168+ set -Eeuxo pipefail
169+
170+ journalctl -xe
171+ ls -AlF /var/run/podman/podman.sock || echo "Socket /var/run/podman/podman.sock not found"
172+ sudo ss -xlpn | grep 'podman.sock' || echo "No active listener found for podman.sock via ss"
167173
168174 - name : Calculate image name and tag
169175 id : calculated_vars
@@ -337,20 +343,23 @@ jobs:
337343 sudo apt-get update
338344 sudo apt-get install -y software-properties-common curl
339345
346+ # https://github.com/cri-o/packaging?tab=readme-ov-file#distributions-using-deb-packages
347+
340348 curl -fsSL https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/Release.key | \
341349 sudo gpg --dearmor --batch --yes -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
342350
343351 echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/ /" | \
344352 sudo tee /etc/apt/sources.list.d/kubernetes.list
345353
346- curl -fsSL https://pkgs.k8s.io/addons :/cri-o:/stable:/$CRIO_VERSION/deb/Release.key | \
354+ curl -fsSL https://download.opensuse.org/repositories/isv :/cri-o:/stable:/$CRIO_VERSION/deb/Release.key | \
347355 sudo gpg --dearmor --batch --yes -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
348356
349- echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons :/cri-o:/stable:/$CRIO_VERSION/deb/ /" | \
357+ echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv :/cri-o:/stable:/$CRIO_VERSION/deb/ /" | \
350358 sudo tee /etc/apt/sources.list.d/cri-o.list
351359
352360 sudo apt-get update
353- sudo apt-get install -y cri-o kubelet kubeadm kubectl
361+ # [ERROR FileExisting-conntrack]: conntrack not found in system path
362+ sudo apt-get install -y cri-o kubelet kubeadm kubectl conntrack
354363
355364 # make use of /etc/cni/net.d/11-crio-ipv4-bridge.conflist so we don't
356365 # need a pod network and just use the default bridge
@@ -364,8 +373,12 @@ jobs:
364373
365374 sudo systemctl start crio.service
366375 env :
367- CRIO_VERSION : v1.30
368- KUBERNETES_VERSION : v1.30
376+ CRIO_VERSION : v1.32
377+ # This has to be kept in sync with the packages above, otherwise
378+ # [ERROR KubeletVersion]: the kubelet version is higher than the control plane version.
379+ # This is not a supported version skew and may lead to a malfunctional cluster.
380+ # Kubelet version: "1.33.0" Control plane version: "1.30.12"
381+ KUBERNETES_VERSION : v1.33
369382
370383 - name : Show crio debug data (on failure)
371384 if : ${{ failure() && steps.have-tests.outputs.tests == 'true' }}
@@ -523,7 +536,7 @@ jobs:
523536 --volume ${PODMAN_SOCK}:/var/run/docker.sock \
524537 --volume ${PWD}:/mnt \
525538 --volume /mnt/node_modules \
526- mcr.microsoft.com/playwright:v1.48 .1-noble \
539+ mcr.microsoft.com/playwright:v1.53 .1-noble \
527540 /bin/bash <<EOF
528541 set -Eeuxo pipefail
529542 cd /mnt
0 commit comments