Skip to content

Commit 9808197

Browse files
committed
Merge branch '2024b' of github.com:opendatahub-io/notebooks into sync-ds-24b
2 parents 31ad6bc + 344e827 commit 9808197

File tree

161 files changed

+26486
-30988
lines changed

Some content is hidden

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

161 files changed

+26486
-30988
lines changed

.github/workflows/build-notebooks.yaml

Lines changed: 0 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -15,136 +15,6 @@
1515
]
1616
},
1717
"jobs": {
18-
"base-ubi8-python-3_8": {
19-
"needs": [],
20-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
21-
"with": {
22-
"target": "base-ubi8-python-3.8",
23-
"github": "${{ toJSON(github) }}"
24-
},
25-
"secrets": "inherit"
26-
},
27-
"jupyter-minimal-ubi8-python-3_8": {
28-
"needs": [
29-
"base-ubi8-python-3_8"
30-
],
31-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
32-
"with": {
33-
"target": "jupyter-minimal-ubi8-python-3.8",
34-
"github": "${{ toJSON(github) }}"
35-
},
36-
"secrets": "inherit"
37-
},
38-
"jupyter-datascience-ubi8-python-3_8": {
39-
"needs": [
40-
"jupyter-minimal-ubi8-python-3_8"
41-
],
42-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
43-
"with": {
44-
"target": "jupyter-datascience-ubi8-python-3.8",
45-
"github": "${{ toJSON(github) }}"
46-
},
47-
"secrets": "inherit"
48-
},
49-
"cuda-ubi8-python-3_8": {
50-
"needs": [
51-
"base-ubi8-python-3_8"
52-
],
53-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
54-
"with": {
55-
"target": "cuda-ubi8-python-3.8",
56-
"github": "${{ toJSON(github) }}"
57-
},
58-
"secrets": "inherit"
59-
},
60-
"cuda-jupyter-minimal-ubi8-python-3_8": {
61-
"needs": [
62-
"cuda-ubi8-python-3_8"
63-
],
64-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
65-
"with": {
66-
"target": "cuda-jupyter-minimal-ubi8-python-3.8",
67-
"github": "${{ toJSON(github) }}"
68-
},
69-
"secrets": "inherit"
70-
},
71-
"cuda-jupyter-datascience-ubi8-python-3_8": {
72-
"needs": [
73-
"cuda-jupyter-minimal-ubi8-python-3_8"
74-
],
75-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
76-
"with": {
77-
"target": "cuda-jupyter-datascience-ubi8-python-3.8",
78-
"github": "${{ toJSON(github) }}"
79-
},
80-
"secrets": "inherit"
81-
},
82-
"habana-jupyter-1_10_0-ubi8-python-3_8": {
83-
"needs": [
84-
"jupyter-datascience-ubi8-python-3_8"
85-
],
86-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
87-
"with": {
88-
"target": "habana-jupyter-1.10.0-ubi8-python-3.8",
89-
"github": "${{ toJSON(github) }}"
90-
},
91-
"secrets": "inherit"
92-
},
93-
"habana-jupyter-1_13_0-ubi8-python-3_8": {
94-
"needs": [
95-
"jupyter-datascience-ubi8-python-3_8"
96-
],
97-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
98-
"with": {
99-
"target": "habana-jupyter-1.13.0-ubi8-python-3.8",
100-
"github": "${{ toJSON(github) }}"
101-
},
102-
"secrets": "inherit"
103-
},
104-
"runtime-minimal-ubi8-python-3_8": {
105-
"needs": [
106-
"base-ubi8-python-3_8"
107-
],
108-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
109-
"with": {
110-
"target": "runtime-minimal-ubi8-python-3.8",
111-
"github": "${{ toJSON(github) }}"
112-
},
113-
"secrets": "inherit"
114-
},
115-
"runtime-datascience-ubi8-python-3_8": {
116-
"needs": [
117-
"base-ubi8-python-3_8"
118-
],
119-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
120-
"with": {
121-
"target": "runtime-datascience-ubi8-python-3.8",
122-
"github": "${{ toJSON(github) }}"
123-
},
124-
"secrets": "inherit"
125-
},
126-
"runtime-pytorch-ubi8-python-3_8": {
127-
"needs": [
128-
"base-ubi8-python-3_8"
129-
],
130-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
131-
"with": {
132-
"target": "runtime-pytorch-ubi8-python-3.8",
133-
"github": "${{ toJSON(github) }}"
134-
},
135-
"secrets": "inherit"
136-
},
137-
"runtime-cuda-tensorflow-ubi8-python-3_8": {
138-
"needs": [
139-
"cuda-ubi8-python-3_8"
140-
],
141-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
142-
"with": {
143-
"target": "runtime-cuda-tensorflow-ubi8-python-3.8",
144-
"github": "${{ toJSON(github) }}"
145-
},
146-
"secrets": "inherit"
147-
},
14818
"base-ubi9-python-3_9": {
14919
"needs": [],
15020
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
@@ -798,26 +668,6 @@
798668
"github": "${{ toJSON(github) }}"
799669
},
800670
"secrets": "inherit"
801-
},
802-
"base-anaconda-python-3_8": {
803-
"needs": [],
804-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
805-
"with": {
806-
"target": "base-anaconda-python-3.8",
807-
"github": "${{ toJSON(github) }}"
808-
},
809-
"secrets": "inherit"
810-
},
811-
"jupyter-datascience-anaconda-python-3_8": {
812-
"needs": [
813-
"base-anaconda-python-3_8"
814-
],
815-
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
816-
"with": {
817-
"target": "jupyter-datascience-anaconda-python-3.8",
818-
"github": "${{ toJSON(github) }}"
819-
},
820-
"secrets": "inherit"
821671
}
822672
}
823673
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
# This GitHub action is meant to be triggered weekly in order to update the pipfile.locks
3+
4+
name: Weekly Pipfile.locks renewal on [main] branch
5+
6+
on: # yamllint disable-line rule:truthy
7+
# Triggers the workflow every Monday at 22pm UTC am 0 22 * * 1
8+
schedule:
9+
- cron: "0 22 * * 1"
10+
workflow_dispatch: # for manual trigger workflow from GH Web UI
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
# Give the default GITHUB_TOKEN write permission to commit and push the
18+
# added or changed files to the repository.
19+
contents: write
20+
21+
steps:
22+
# Checkout the paricular branch
23+
- name: Checkout code from the release branch
24+
uses: actions/checkout@v4
25+
with:
26+
ref: main
27+
token: ${{ secrets.GH_ACCESS_TOKEN }}
28+
29+
# Setup Python environment
30+
- name: Setup Python environment
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: |
34+
3.9
35+
3.11
36+
- name: Install pipenv
37+
run: pip install pipenv
38+
39+
# Runs the makefile recipe `refresh-pipfilelock-files` and push the chances back to the branch
40+
- name: Run make refresh-pipfilelock-files and push the chances back to the branch
41+
run: |
42+
make refresh-pipfilelock-files
43+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
44+
git config --global user.name "GitHub Actions"
45+
git add .
46+
git commit -m "Update the pipfile.lock via the weekly workflow action"
47+
git push

.github/workflows/pr-merge-image-delete.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,11 @@ jobs:
5959
6060
set +e # Don't abort if a delete operation fails as all images might not be available for the PR
6161
62-
skopeo delete docker://${QUAY_IMAGE_REPO}:base-ubi8-python-3.8-pr-${{ env.PR }}
63-
skopeo delete docker://${QUAY_IMAGE_REPO}:base-anaconda-python-3.8-pr-${{ env.PR }}
6462
skopeo delete docker://${QUAY_IMAGE_REPO}:base-ubi9-python-3.9-pr-${{ env.PR }}
6563
skopeo delete docker://${QUAY_IMAGE_REPO}:base-c9s-python-3.9-pr-${{ env.PR }}
66-
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-ubi8-python-3.8-pr-${{ env.PR }}
6764
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-ubi9-python-3.9-pr-${{ env.PR }}
6865
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-c9s-python-3.9-pr-${{ env.PR }}
6966
70-
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-minimal-ubi8-python-3.8-pr-${{ env.PR }}
71-
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-ubi8-python-3.8-pr-${{ env.PR }}
72-
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-anaconda-python-3.8-pr-${{ env.PR }}
73-
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-jupyter-minimal-ubi8-python-3.8-pr-${{ env.PR }}
74-
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-jupyter-datascience-ubi8-python-3.8-pr-${{ env.PR }}
75-
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-minimal-ubi8-python-3.8-pr-${{ env.PR }}
76-
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-datascience-ubi8-python-3.8-pr-${{ env.PR }}
77-
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-pytorch-ubi8-python-3.8-pr-${{ env.PR }}
78-
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-cuda-tensorflow-ubi8-python-3.8-pr-${{ env.PR }}
79-
8067
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-minimal-ubi9-python-3.9-pr-${{ env.PR }}
8168
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-ubi9-python-3.9-pr-${{ env.PR }}
8269
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-pytorch-ubi9-python-3.9-pr-${{ env.PR }}
@@ -92,9 +79,6 @@ jobs:
9279
skopeo delete docker://${QUAY_IMAGE_REPO}:rstudio-c9s-python-3.9-pr-${{ env.PR }}
9380
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-rstudio-c9s-python-3.9-pr-${{ env.PR }}
9481
95-
skopeo delete docker://${QUAY_IMAGE_REPO}:habana-jupyter-1.10.0-ubi8-python-3.8-pr-${{ env.PR }}
96-
skopeo delete docker://${QUAY_IMAGE_REPO}:habana-jupyter-1.13.0-ubi8-python-3.8-pr-${{ env.PR }}
97-
9882
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-base-gpu-ubi9-python-3.9-pr-${{ env.PR }}
9983
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-runtime-tensorflow-ubi9-python-3.9-pr-${{ env.PR }}
10084
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-runtime-pytorch-ubi9-python-3.9-pr-${{ env.PR }}

.github/workflows/runtimes-digest-updater-upstream.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,7 @@ jobs:
6767
- name: Update Runtimes
6868
run: |
6969
echo Latest commit is: ${{ steps.hash-n.outputs.HASH_N }} on ${{ env.RELEASE_VERSION_N}}
70-
PATHS=("jupyter/datascience/anaconda-python-3.8/runtime-images/datascience-ubi8-py38.json"
71-
"jupyter/datascience/anaconda-python-3.8/runtime-images/pytorch-ubi8-py38.json"
72-
"jupyter/datascience/anaconda-python-3.8/runtime-images/tensorflow-ubi8-py38.json"
73-
"jupyter/datascience/anaconda-python-3.8/runtime-images/ubi8-py38.json"
74-
"jupyter/datascience/ubi8-python-3.8/runtime-images/datascience-ubi8-py38.json"
75-
"jupyter/datascience/ubi8-python-3.8/runtime-images/pytorch-ubi8-py38.json"
76-
"jupyter/datascience/ubi8-python-3.8/runtime-images/tensorflow-ubi8-py38.json"
77-
"jupyter/datascience/ubi8-python-3.8/runtime-images/ubi8-py38.json"
78-
"jupyter/datascience/ubi9-python-3.9/runtime-images/datascience-ubi9-py39.json"
70+
PATHS=("jupyter/datascience/ubi9-python-3.9/runtime-images/datascience-ubi9-py39.json"
7971
"jupyter/datascience/ubi9-python-3.9/runtime-images/pytorch-ubi9-py39.json"
8072
"jupyter/datascience/ubi9-python-3.9/runtime-images/tensorflow-ubi9-py39.json"
8173
"jupyter/datascience/ubi9-python-3.9/runtime-images/ubi9-py39.json"

0 commit comments

Comments
 (0)