Skip to content

Commit

Permalink
Merge pull request opendatahub-io#390 from harshad16/rsync-main
Browse files Browse the repository at this point in the history
Sync main from opendatahub-io:main
  • Loading branch information
harshad16 authored Oct 4, 2024
2 parents ead3682 + c252a32 commit dceae53
Show file tree
Hide file tree
Showing 217 changed files with 30,685 additions and 58,693 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 @@ -798,26 +668,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"
}
}
}
47 changes: 47 additions & 0 deletions .github/workflows/piplock-renewal-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# This GitHub action is meant to be triggered weekly in order to update the pipfile.locks

name: Weekly Pipfile.locks renewal on [main] branch

on: # yamllint disable-line rule:truthy
# Triggers the workflow every Monday at 22pm UTC am 0 22 * * 1
schedule:
- cron: "0 22 * * 1"
workflow_dispatch: # for manual trigger workflow from GH Web UI

jobs:
build:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
# Checkout the paricular branch
- name: Checkout code from the release branch
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.GH_ACCESS_TOKEN }}

# Setup Python environment
- name: Setup Python environment
uses: actions/setup-python@v5
with:
python-version: |
3.9
3.11
- name: Install pipenv
run: pip install pipenv

# Runs the makefile recipe `refresh-pipfilelock-files` and push the chances back to the branch
- name: Run make refresh-pipfilelock-files and push the chances back to the branch
run: |
make refresh-pipfilelock-files
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Update the pipfile.lock via the weekly workflow action"
git push
Loading

0 comments on commit dceae53

Please sign in to comment.