Skip to content

Commit dfdfd1b

Browse files
committed
ubuntu24.04 ci pipeline fix
Signed-off-by: shiva kumar <[email protected]>
1 parent 74af686 commit dfdfd1b

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

.github/workflows/precompiled.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

tests/scripts/ci-precompiled-helpers.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

tests/scripts/findkernelversion.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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"
2625
else
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
@@ -48,9 +44,7 @@ fi
4844
status=0
4945
regctl tag ls nvcr.io/nvidia/driver | grep "^${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}$" || status=$?
5046
if [[ $status -eq 0 ]]; then
51-
echo "KUMAR2 $KERNEL_VERSION"
5247
export should_continue=false
5348
else
54-
echo "KUMAR3 $KERNEL_VERSION"
5549
export should_continue=true
5650
fi

0 commit comments

Comments
 (0)