Skip to content

Commit

Permalink
fix copy instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Feb 22, 2024
1 parent e2489f6 commit bbe1759
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions context/notebooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ for REPO in "${NOTEBOOK_REPOS[@]}"; do
EXCLUDE_LIST=$(mktemp)
mkdir -p $DESTINATION
find "$SOURCE" -type f -name "SKIP_CI_TESTING" -printf "%h\n" | sed "s|^$SOURCE/||" > "$EXCLUDE_LIST"
rsync -avL --exclude-from="$EXCLUDE_LIST" "$SOURCE"/ "$DESTINATION"/
rsync -avL --exclude-from="$EXCLUDE_LIST" "$SOURCE"/ "$DESTINATION"
rm "$EXCLUDE_LIST"
else
cp -rL "$SOURCE" "$DESTINATION"
fi

cp -rL "$REPO"/notebooks /notebooks/"$REPO"

if [ -f "$REPO/dependencies.yaml" ] && yq -e '.files.test_notebooks' "$REPO/dependencies.yaml" >/dev/null; then
echo "Running dfg on $REPO"
rapids-dependency-file-generator \
Expand Down

0 comments on commit bbe1759

Please sign in to comment.