File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,6 @@ jobs:
212212 done))
213213 fi
214214 source ./tests/scripts/ci-precompiled-helpers.sh
215- get_kernel_versions_to_test $BASE_TARGET KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST
216- exit 0
217215 KERNEL_VERSIONS=($(get_kernel_versions_to_test $BASE_TARGET KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST))
218216 if [ -z "$KERNEL_VERSIONS" ]; then
219217 # no new kernel release
Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ get_kernel_versions_to_test() {
1919 done
2020 if [[ " $should_continue " == true ]]; then
2121 KERNEL_VERSION=$( echo " $KERNEL_VERSION " | tr -d ' \n' )
22- echo " SHIVA1 $KERNEL_VERSION "
2322 kernel_versions+=(" $KERNEL_VERSION " )
2423 fi
2524 done
26- echo " SHIVA ${kernel_versions[@]} "
25+ echo " ${kernel_versions[@]} "
2726}
Original file line number Diff line number Diff line change @@ -22,22 +22,18 @@ if [[ -f ./kernel_version.txt && -s ./kernel_version.txt ]]; then
2222 # File exists and is not empty
2323 export $( grep -oP ' KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
2424 rm -f kernel_version.txt
25- echo " SHIVA KUMAR====== $KERNEL_VERSION "
2625else
2726 # Define variables for artifact pattern
2827 prefix=" kernel-version-${DRIVER_BRANCH} -${LTS_KERNEL} "
2928 suffix=" ${kernel_flavor} -${DIST} "
3029 artifacts=$( gh api -X GET /repos/${GITHUB_REPOSITORY} /actions/runs/${GITHUB_RUN_ID} /artifacts --jq ' .artifacts[].name' )
3130 # Use a loop or a pattern to find the matching artifact dynamically
3231 for artifact in $artifacts ; do
33- echo " SHIVA KUMAR $artifact == $prefix -$suffix "
3432 if [[ $artifact == $prefix * -$suffix ]]; then
35- echo " SHIVA KUMAR1 $artifacts "
3633 gh run download --name " $artifact " --dir ./
3734 tar -xf $artifact .tar
3835 rm -f $artifact .tar
3936 export $( grep -oP ' KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
40- echo " KUMAR1 $KERNEL_VERSION "
4137 rm -f kernel_version.txt
4238 break
4339 fi
4844status=0
4945regctl tag ls nvcr.io/nvidia/driver | grep " ^${DRIVER_BRANCH} -${KERNEL_VERSION} -${DIST} $" || status=$?
5046if [[ $status -eq 0 ]]; then
51- echo " KUMAR2 $KERNEL_VERSION "
5247 export should_continue=false
5348else
54- echo " KUMAR3 $KERNEL_VERSION "
5549 export should_continue=true
5650fi
You can’t perform that action at this time.
0 commit comments