Skip to content

Commit

Permalink
Remove all images and Makefile calls to Python 3.8 (#703)
Browse files Browse the repository at this point in the history
* Remove all images and Makefile calls to Python 3.8

* Remove reference to Python 3.8 from Github Actions

* Remove all references from Habana images regarding Python 3.8 deprecation

* Remove new line at end of base params and change variables with number of records

* Do not search for .yml files anymore on check-json validation

* Remove unnecessary calls to UBI 8 images

Co-authored-by: Jan Stourac <[email protected]>

---------

Co-authored-by: Jan Stourac <[email protected]>
  • Loading branch information
daniellutz and jstourac authored Sep 20, 2024
1 parent fd483ad commit 6542483
Show file tree
Hide file tree
Showing 123 changed files with 4 additions and 31,741 deletions.
150 changes: 0 additions & 150 deletions .github/workflows/build-notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,136 +15,6 @@
]
},
"jobs": {
"base-ubi8-python-3_8": {
"needs": [],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "base-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"jupyter-minimal-ubi8-python-3_8": {
"needs": [
"base-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "jupyter-minimal-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"jupyter-datascience-ubi8-python-3_8": {
"needs": [
"jupyter-minimal-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "jupyter-datascience-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"cuda-ubi8-python-3_8": {
"needs": [
"base-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "cuda-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"cuda-jupyter-minimal-ubi8-python-3_8": {
"needs": [
"cuda-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "cuda-jupyter-minimal-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"cuda-jupyter-datascience-ubi8-python-3_8": {
"needs": [
"cuda-jupyter-minimal-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "cuda-jupyter-datascience-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"habana-jupyter-1_10_0-ubi8-python-3_8": {
"needs": [
"jupyter-datascience-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "habana-jupyter-1.10.0-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"habana-jupyter-1_13_0-ubi8-python-3_8": {
"needs": [
"jupyter-datascience-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "habana-jupyter-1.13.0-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"runtime-minimal-ubi8-python-3_8": {
"needs": [
"base-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "runtime-minimal-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"runtime-datascience-ubi8-python-3_8": {
"needs": [
"base-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "runtime-datascience-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"runtime-pytorch-ubi8-python-3_8": {
"needs": [
"base-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "runtime-pytorch-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"runtime-cuda-tensorflow-ubi8-python-3_8": {
"needs": [
"cuda-ubi8-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "runtime-cuda-tensorflow-ubi8-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"base-ubi9-python-3_9": {
"needs": [],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
Expand Down Expand Up @@ -840,26 +710,6 @@
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"base-anaconda-python-3_8": {
"needs": [],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "base-anaconda-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
},
"jupyter-datascience-anaconda-python-3_8": {
"needs": [
"base-anaconda-python-3_8"
],
"uses": "./.github/workflows/build-notebooks-TEMPLATE.yaml",
"with": {
"target": "jupyter-datascience-anaconda-python-3.8",
"github": "${{ toJSON(github) }}"
},
"secrets": "inherit"
}
}
}
16 changes: 0 additions & 16 deletions .github/workflows/pr-merge-image-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,11 @@ jobs:
set +e # Don't abort if a delete operation fails as all images might not be available for the PR
skopeo delete docker://${QUAY_IMAGE_REPO}:base-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:base-anaconda-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:base-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:base-c9s-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-c9s-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-minimal-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-anaconda-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-jupyter-minimal-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-jupyter-datascience-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-minimal-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-datascience-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-pytorch-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:runtime-cuda-tensorflow-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-minimal-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-datascience-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:jupyter-pytorch-ubi9-python-3.9-pr-${{ env.PR }}
Expand All @@ -92,9 +79,6 @@ jobs:
skopeo delete docker://${QUAY_IMAGE_REPO}:rstudio-c9s-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:cuda-rstudio-c9s-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:habana-jupyter-1.10.0-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:habana-jupyter-1.13.0-ubi8-python-3.8-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-base-gpu-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-runtime-tensorflow-ubi9-python-3.9-pr-${{ env.PR }}
skopeo delete docker://${QUAY_IMAGE_REPO}:intel-runtime-pytorch-ubi9-python-3.9-pr-${{ env.PR }}
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/runtimes-digest-updater-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,7 @@ jobs:
- name: Update Runtimes
run: |
echo Latest commit is: ${{ steps.hash-n.outputs.HASH_N }} on ${{ env.RELEASE_VERSION_N}}
PATHS=("jupyter/datascience/anaconda-python-3.8/runtime-images/datascience-ubi8-py38.json"
"jupyter/datascience/anaconda-python-3.8/runtime-images/pytorch-ubi8-py38.json"
"jupyter/datascience/anaconda-python-3.8/runtime-images/tensorflow-ubi8-py38.json"
"jupyter/datascience/anaconda-python-3.8/runtime-images/ubi8-py38.json"
"jupyter/datascience/ubi8-python-3.8/runtime-images/datascience-ubi8-py38.json"
"jupyter/datascience/ubi8-python-3.8/runtime-images/pytorch-ubi8-py38.json"
"jupyter/datascience/ubi8-python-3.8/runtime-images/tensorflow-ubi8-py38.json"
"jupyter/datascience/ubi8-python-3.8/runtime-images/ubi8-py38.json"
"jupyter/datascience/ubi9-python-3.9/runtime-images/datascience-ubi9-py39.json"
PATHS=("jupyter/datascience/ubi9-python-3.9/runtime-images/datascience-ubi9-py39.json"
"jupyter/datascience/ubi9-python-3.9/runtime-images/pytorch-ubi9-py39.json"
"jupyter/datascience/ubi9-python-3.9/runtime-images/tensorflow-ubi9-py39.json"
"jupyter/datascience/ubi9-python-3.9/runtime-images/ubi9-py39.json"
Expand Down
Loading

0 comments on commit 6542483

Please sign in to comment.