Skip to content

Commit 8370513

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

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/precompiled.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
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

tests/scripts/findkernelversion.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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"
2526
else
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

0 commit comments

Comments
 (0)