Skip to content

Commit

Permalink
ubuntu24.04 ci pipeline fix
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Nov 22, 2024
1 parent b12d49d commit 3447b5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions tests/scripts/ci-precompiled-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ get_kernel_versions_to_test() {
for kernel_flavor in "${KERNEL_FLAVORS[@]}"; do
for DRIVER_BRANCH in "${DRIVER_BRANCHES[@]}"; do
source ./tests/scripts/findkernelversion.sh "$BASE_TARGET" "${kernel_flavor}" "$DRIVER_BRANCH" "$DIST" >&2
echo -e "SHIVA1 == $KERNEL_VERSION"
# echo -e "SHIVA1 == $KERNEL_VERSION"
if [[ "$should_continue" == true ]]; then
break
fi
done
if [[ "$should_continue" == true ]]; then
echo -e "SHIVA3 == $KERNEL_VERSION"
# echo -e "SHIVA3 == $KERNEL_VERSION"
KERNEL_VERSION=$(echo "$KERNEL_VERSION" | tr -d ' \n')
echo -e "SHIVA4 == $KERNEL_VERSION"
# echo -e "SHIVA4 == $KERNEL_VERSION"
kernel_versions+=("$KERNEL_VERSION")
fi
done
echo -e "SHIVA5 == ${kernel_versions[@]}"
# echo -e "SHIVA5 == ${kernel_versions[@]}"
echo "${kernel_versions[@]}"
}
6 changes: 3 additions & 3 deletions tests/scripts/findkernelversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ else
rm -f $artifact.tar
export $(grep -oP 'KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
rm -f kernel_version.txt
export should_continue=true
echo "SHIVA == $KERNEL_VERSION"
# export should_continue=true
# echo "SHIVA == $KERNEL_VERSION"
break
fi
done
# no need to check further for 1st release
exit 0
# exit 0
fi

# calculate driver tag
Expand Down

0 comments on commit 3447b5f

Please sign in to comment.