File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 5454 echo "kernel_flavors=$kernel_flavors_json" >> $GITHUB_OUTPUT
5555
5656 # get ubuntu distributions
57- DIST=("ubuntu22.04" "ubuntu24.04")
57+ # SHIVA
58+ # DIST=("ubuntu22.04" "ubuntu24.04")
59+ DIST=("ubuntu24.04")
5860 dist_json=$(printf '%s\n' "${DIST[@]}" | jq -R . | jq -cs .)
5961 echo "dist=$dist_json" >> $GITHUB_OUTPUT
6062
@@ -207,6 +209,8 @@ jobs:
207209 DRIVER_BRANCHES=("${DRIVER_BRANCHES[@]}")
208210 fi
209211 source ./tests/scripts/ci-precompiled-helpers.sh
212+ get_kernel_versions_to_test $BASE_TARGET KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST
213+ exit 0
210214 KERNEL_VERSIONS=($(get_kernel_versions_to_test $BASE_TARGET KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST))
211215 if [ -z "$KERNEL_VERSIONS" ]; then
212216 # no new kernel release
Original file line number Diff line number Diff line change @@ -22,14 +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 "
2526else
2627 # Define variables for artifact pattern
2728 prefix=" kernel-version-${DRIVER_BRANCH} -${LTS_KERNEL} "
2829 suffix=" ${kernel_flavor} -${DIST} "
2930 artifacts=$( gh api -X GET /repos/${GITHUB_REPOSITORY} /actions/runs/${GITHUB_RUN_ID} /artifacts --jq ' .artifacts[].name' )
31+ echo " SHIVA KUMAR $artifacts "
3032 # Use a loop or a pattern to find the matching artifact dynamically
3133 for artifact in $artifacts ; do
34+ echo " SHIVA KUMAR $artifact == $prefix -$suffix "
3235 if [[ $artifact == $prefix * -$suffix ]]; then
36+ echo " SHIVA KUMAR1 $artifacts "
3337 gh run download --name " $artifact " --dir ./
3438 tar -xf $artifact .tar
3539 rm -f $artifact .tar
You can’t perform that action at this time.
0 commit comments