Skip to content

Commit 000d9c3

Browse files
ci: remove intel from image updates in odh sync workflow
1 parent d89ee5a commit 000d9c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: .github/workflows/odh-notebooks-sync.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ jobs:
5656
python-version: ${{ env.PYTHON_VERSION }}
5757
cache: 'pipenv'
5858

59-
# Sync fails with pipenv 2024.1.0 (current latest version)
60-
# TODO: We should retry with later versions of pipenv once they are available.
6159
- name: Install pipenv and pip-versions
62-
run: pip install pipenv==2024.0.3 pip-versions
60+
run: pip install pipenv==2024.4.0 pip-versions
6361

6462
- name: Update Pipfiles in accordance with Codeflare-SDK latest release
6563
run: |
@@ -74,7 +72,7 @@ jobs:
7472
# replace existing version of cf-sdk with new version in Pipfile
7573
sed -i "s/codeflare-sdk = .*$/codeflare-sdk = \"~=$CODEFLARE_RELEASE_VERSION\"/g" Pipfile
7674
# Lock dependencies, ensuring pre-release are included and clear previous state
77-
if ! pipenv lock --pre --clear ; then
75+
if ! pipenv lock --verbose --pre --clear ; then
7876
echo "Failed to lock dependencies"
7977
exit 1
8078
fi
@@ -98,7 +96,8 @@ jobs:
9896
echo "Version ${CODEFLARE_RELEASE_VERSION} is available for $package_name"
9997
# list all Pipfile paths having Codeflare-SDK listed
10098
# Extracting only directories from file paths, excluding a `.gitworkflow` and `.git` directory
101-
directories+=($(grep --exclude-dir=.git --exclude-dir=.github --include="Pipfile*" -rl "${package_name} = \"~=.*\"" | xargs dirname | sort | uniq))
99+
# Extracting Intel directories as they are not supported in RHOAI
100+
directories+=($(grep --exclude-dir=.git --exclude-dir=.github --exclude-dir=intel --exclude-dir=jupyter/intel --include="Pipfile*" -rl "${package_name} = \"~=.*\"" | xargs dirname | sort | uniq))
102101
counter=0
103102
total=${#directories[@]}
104103
for dir in "${directories[@]}"; do

0 commit comments

Comments
 (0)