Skip to content

Commit 1f96b9b

Browse files
authored
Merge pull request #1252 from jiridanek/sync-2024b
Sync 2024b
2 parents be38cca + df74b02 commit 1f96b9b

File tree

64 files changed

+42854
-38262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+42854
-38262
lines changed

.coderabbit.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
language: en-US
3+
early_access: false
4+
enable_free_tier: true
5+
reviews:
6+
sequence_diagrams: false
7+
poem: false

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ name: Build & Publish Notebook Servers (TEMPLATE)
1818

1919
jobs:
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

.github/workflows/security.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# https://github.com/ruivieira/trustyai-explainability-python/blob/main/.github/workflows/security.yaml
2+
---
3+
name: Security
4+
"on":
5+
push:
6+
branches:
7+
- 2024b
8+
- release-2024b
9+
pull_request:
10+
workflow_dispatch:
11+
jobs:
12+
build:
13+
name: Trivy scan (fs)
14+
runs-on: ubuntu-24.04
15+
permissions:
16+
contents: read
17+
security-events: write
18+
steps:
19+
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
23+
- name: Trivy scan
24+
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # 0.32.0
25+
with:
26+
scan-type: 'fs'
27+
format: 'sarif'
28+
output: 'trivy-results.sarif'
29+
severity: 'MEDIUM,HIGH,CRITICAL'
30+
exit-code: '0'
31+
ignore-unfixed: false
32+
33+
- name: Update Security tab
34+
uses: github/codeql-action/upload-sarif@v3
35+
with:
36+
sarif_file: 'trivy-results.sarif'

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ BASE_DIRS := base/c9s-python-$(PYTHON_VERSION) \
424424
jupyter/rocm/tensorflow/ubi9-python-$(PYTHON_VERSION) \
425425
jupyter/rocm/pytorch/ubi9-python-$(PYTHON_VERSION) \
426426
codeserver/ubi9-python-$(PYTHON_VERSION) \
427+
rstudio/rhel9-python-$(PYTHON_VERSION) \
428+
rstudio/c9s-python-$(PYTHON_VERSION) \
427429
runtimes/minimal/ubi9-python-$(PYTHON_VERSION) \
428430
runtimes/datascience/ubi9-python-$(PYTHON_VERSION) \
429431
runtimes/pytorch/ubi9-python-$(PYTHON_VERSION) \

base/c9s-python-3.11/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ verify_ssl = true
88
[packages]
99
# Base packages
1010
wheel = "~=0.43.0"
11-
setuptools = "~=70.0.0"
11+
setuptools = "~=78.1.1"
1212

1313
[requires]
1414
python_version = "3.11"

base/c9s-python-3.11/Pipfile.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

base/c9s-python-3.11/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#
55
# Default dependencies
66
#
7-
setuptools==70.0.0; python_version >= '3.8' \
8-
--hash=sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4 \
9-
--hash=sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0
7+
setuptools==78.1.1; python_version >= '3.9' \
8+
--hash=sha256:c3a9c4211ff4c309edb8b8c4f1cbfa7ae324c4ba9f91ff254e3d305b9fd54561 \
9+
--hash=sha256:fcc17fd9cd898242f6b4adfaca46137a9edef687f43e6f78469692a5e70d851d
1010
wheel==0.43.0; python_version >= '3.8' \
1111
--hash=sha256:465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85 \
1212
--hash=sha256:55c570405f142630c6b9f72fe09d9b67cf1477fcf543ae5b8dcb1f5b7377da81

base/ubi9-python-3.11/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ verify_ssl = true
88
[packages]
99
# Base packages
1010
wheel = "~=0.44.0"
11-
setuptools = "~=74.1.2"
11+
setuptools = "~=78.1.1"
1212

1313
[requires]
1414
python_version = "3.11"

base/ubi9-python-3.11/Pipfile.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

base/ubi9-python-3.11/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#
55
# Default dependencies
66
#
7-
setuptools==74.1.3; python_version >= '3.8' \
8-
--hash=sha256:1cfd66bfcf197bce344da024c8f5b35acc4dcb7ca5202246a75296b4883f6851 \
9-
--hash=sha256:fbb126f14b0b9ffa54c4574a50ae60673bbe8ae0b1645889d10b3b14f5891d28
7+
setuptools==78.1.1; python_version >= '3.9' \
8+
--hash=sha256:c3a9c4211ff4c309edb8b8c4f1cbfa7ae324c4ba9f91ff254e3d305b9fd54561 \
9+
--hash=sha256:fcc17fd9cd898242f6b4adfaca46137a9edef687f43e6f78469692a5e70d851d
1010
wheel==0.44.0; python_version >= '3.8' \
1111
--hash=sha256:2376a90c98cc337d18623527a97c31797bd02bad0033d41547043a1cbfbe448f \
1212
--hash=sha256:a29c3f2817e95ab89aa4660681ad547c0e9547f20e75b0562fe7723c9a2a9d49

0 commit comments

Comments
 (0)