Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 84 additions & 48 deletions .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
kernel_flavors: ${{ steps.extract_driver_branch.outputs.kernel_flavors }}
dist: ${{ steps.extract_driver_branch.outputs.dist }}
lts_kernel: ${{ steps.extract_driver_branch.outputs.lts_kernel }}
platforms: ${{ steps.extract_driver_branch.outputs.platforms }}
steps:
- name: Checkout code
uses: actions/checkout@v6
Expand All @@ -54,6 +55,11 @@ jobs:
lts_kernel_json=$(printf '%s\n' "${LTS_KERNEL[@]}" | jq -R . | jq -cs .)
echo "lts_kernel=$lts_kernel_json" >> $GITHUB_OUTPUT

# platforms for precompiled build (amd64 always; arm64 for ubuntu24.04)
PLATFORMS=("amd64" "arm64")
platforms_json=$(printf '%s\n' "${PLATFORMS[@]}" | jq -R . | jq -cs .)
echo "platforms=$platforms_json" >> $GITHUB_OUTPUT

precompiled-build-image:
needs: set-driver-version-matrix
runs-on: linux-amd64-cpu4
Expand All @@ -63,13 +69,16 @@ jobs:
flavor: ${{ fromJson(needs.set-driver-version-matrix.outputs.kernel_flavors) }}
dist: ${{ fromJson(needs.set-driver-version-matrix.outputs.dist) }}
lts_kernel: ${{ fromJson(needs.set-driver-version-matrix.outputs.lts_kernel) }}
platform: ${{ fromJson(needs.set-driver-version-matrix.outputs.platforms) }}
exclude:
- dist: ubuntu24.04
driver_branch: 535
- lts_kernel: 5.15
dist: ubuntu24.04
- flavor: azure-fde
dist: ubuntu22.04
- dist: ubuntu22.04
platform: arm64
steps:
- uses: actions/checkout@v6
name: Check out code
Expand All @@ -83,6 +92,7 @@ jobs:
GENERATE_ARTIFACTS="false"
echo "PUSH_ON_BUILD=${GENERATE_ARTIFACTS}" >> $GITHUB_ENV
echo "BUILD_MULTI_ARCH_IMAGES=${GENERATE_ARTIFACTS}" >> $GITHUB_ENV
echo "DOCKER_BUILD_PLATFORM_OPTIONS=--platform=linux/${{ matrix.platform }}" >> $GITHUB_ENV

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -100,6 +110,7 @@ jobs:
env:
IMAGE_NAME: ghcr.io/nvidia/driver
LTS_KERNEL: ${{ matrix.lts_kernel }}
DOCKER_BUILD_PLATFORM_OPTIONS: --platform=linux/${{ matrix.platform }}
run: |
if [[ "${{ matrix.dist }}" == "ubuntu22.04" ]]; then
BASE_TARGET="jammy"
Expand All @@ -120,6 +131,7 @@ jobs:
IMAGE_NAME: ghcr.io/nvidia/driver
PRECOMPILED: "true"
DIST: signed_${{ matrix.dist }}
DOCKER_BUILD_PLATFORM_OPTIONS: --platform=linux/${{ matrix.platform }}
run: |
source kernel_version.txt && \
make DRIVER_VERSIONS=${DRIVER_VERSIONS} DRIVER_BRANCH=${{ matrix.driver_branch }} build-${DIST}-${DRIVER_VERSION}
Expand All @@ -136,34 +148,40 @@ jobs:
elif [[ "${{ matrix.dist }}" == "ubuntu24.04" ]]; then
BASE_TARGET="noble"
fi
tar -cvf kernel-version-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${DIST}.tar kernel_version.txt
docker save "${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${{ matrix.flavor }}-${{ matrix.driver_branch }}" \
-o ./base-images-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${DIST}.tar
docker save "${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${KERNEL_VERSION}-${DIST}" \
-o ./driver-images-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${DIST}.tar
# set env for artifacts upload
echo "KERNEL_VERSION=$KERNEL_VERSION" >> $GITHUB_ENV
echo "DIST=$DIST" >> $GITHUB_ENV
if [[ "${{ matrix.platform }}" == "amd64" ]]; then
PLATFORM_SUFFIX=""
else
PLATFORM_SUFFIX="-${{ matrix.platform }}"
fi
BASE_ARTIFACT="base-images-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${{ matrix.dist }}${PLATFORM_SUFFIX}"
DRIVER_ARTIFACT="driver-images-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${{ matrix.dist }}${PLATFORM_SUFFIX}"
KERNEL_VERSION_ARTIFACT="kernel-version-${{ matrix.driver_branch }}-${KERNEL_VERSION}-${{ matrix.dist }}${PLATFORM_SUFFIX}"
echo "BASE_ARTIFACT_NAME=${BASE_ARTIFACT}" >> $GITHUB_ENV
echo "DRIVER_ARTIFACT_NAME=${DRIVER_ARTIFACT}" >> $GITHUB_ENV
echo "KERNEL_VERSION_ARTIFACT_NAME=${KERNEL_VERSION_ARTIFACT}" >> $GITHUB_ENV
tar -cvf "${KERNEL_VERSION_ARTIFACT}.tar" kernel_version.txt
docker save "${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${{ matrix.flavor }}-${{ matrix.driver_branch }}" -o "${BASE_ARTIFACT}.tar"
docker save "${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${KERNEL_VERSION}-${{ matrix.dist }}" -o "${DRIVER_ARTIFACT}.tar"

- name: Upload base image as an artifact
uses: actions/upload-artifact@v6
with:
name: base-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}
path: ./base-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}.tar
name: ${{ env.BASE_ARTIFACT_NAME }}
path: ./${{ env.BASE_ARTIFACT_NAME }}.tar
retention-days: 1

- name: Upload build image as an artifact
uses: actions/upload-artifact@v6
with:
name: driver-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}
path: ./driver-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}.tar
name: ${{ env.DRIVER_ARTIFACT_NAME }}
path: ./${{ env.DRIVER_ARTIFACT_NAME }}.tar
retention-days: 1

- name: Upload kernel version as an artifact
uses: actions/upload-artifact@v6
with:
name: kernel-version-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}
path: ./kernel-version-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}-${{ env.DIST }}.tar
name: ${{ env.KERNEL_VERSION_ARTIFACT_NAME }}
path: ./${{ env.KERNEL_VERSION_ARTIFACT_NAME }}.tar
retention-days: 1

determine-e2e-test-matrix:
Expand All @@ -172,9 +190,12 @@ jobs:
matrix:
dist: ${{ fromJson(needs.set-driver-version-matrix.outputs.dist) }}
lts_kernel: ${{ fromJson(needs.set-driver-version-matrix.outputs.lts_kernel) }}
platform: ${{ fromJson(needs.set-driver-version-matrix.outputs.platforms) }}
exclude:
- lts_kernel: 5.15
dist: ubuntu24.04
- platform: arm64
dist: ubuntu22.04
needs:
- precompiled-build-image
- set-driver-version-matrix
Expand All @@ -193,7 +214,7 @@ jobs:
with:
pattern: kernel-version-*
path: ./kernel-version-artifacts
merge-multiple: false
merge-multiple: true

- name: Set kernel version
env:
Expand All @@ -205,29 +226,34 @@ jobs:
KERNEL_FLAVORS=($(echo "$kernel_flavors_json" | jq -r '.[]'))
driver_branch_json='${{ needs.set-driver-version-matrix.outputs.driver_branch }}'
DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]'))

if [[ "${{ matrix.platform }}" == "arm64" ]]; then
PLATFORM_SUFFIX="-arm64"
else
PLATFORM_SUFFIX=""
fi
echo "PLATFORM_SUFFIX=${PLATFORM_SUFFIX}" >> $GITHUB_ENV
# remove 535 driver branch for ubuntu24.04
if [ "$DIST" == "ubuntu24.04" ]; then
DRIVER_BRANCHES=($(for branch in "${DRIVER_BRANCHES[@]}"; do
[[ $branch != "535" ]] && echo "$branch"
done))
fi
source ./tests/scripts/ci-precompiled-helpers.sh
KERNEL_VERSIONS=($(get_kernel_versions_to_test KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST $LTS_KERNEL))
KERNEL_VERSIONS=($(get_kernel_versions_to_test KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST $LTS_KERNEL $PLATFORM_SUFFIX))
if [ -z "$KERNEL_VERSIONS" ]; then
# no new kernel release
echo "Skipping e2e tests"
exit 0
fi
# Convert array to JSON format and assign
echo "[]" > ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}.json
printf '%s\n' "${KERNEL_VERSIONS[@]}" | jq -R . | jq -s . > ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}.json
echo "[]" > ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}${PLATFORM_SUFFIX}.json
printf '%s\n' "${KERNEL_VERSIONS[@]}" | jq -R . | jq -s . > ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}${PLATFORM_SUFFIX}.json

- name: Upload kernel matrix values as artifacts
uses: actions/upload-artifact@v6
with:
name: matrix-values-${{ matrix.dist }}-${{ matrix.lts_kernel }}
path: ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}.json
name: matrix-values-${{ matrix.dist }}-${{ matrix.lts_kernel }}${{ env.PLATFORM_SUFFIX }}
path: ./matrix_values_${{ matrix.dist }}_${{ matrix.lts_kernel }}${{ env.PLATFORM_SUFFIX }}.json
retention-days: 1

collect-e2e-test-matrix:
Expand Down Expand Up @@ -256,24 +282,12 @@ jobs:
echo "matrix_values_not_empty=0" >> $GITHUB_OUTPUT
kernel_versions=()

# Read and merge kernel_version values from dist files
dist_json='${{ needs.set-driver-version-matrix.outputs.dist }}'
DIST=($(echo "$dist_json" | jq -r '.[]'))
lts_kernel_json='${{ needs.set-driver-version-matrix.outputs.lts_kernel }}'
LTS_KERNEL=($(echo "$lts_kernel_json" | jq -r '.[]'))
for dist in "${DIST[@]}"; do
for kernel in "${LTS_KERNEL[@]}"; do
artifact_name="matrix-values-${dist}-${kernel}"
file_path="./matrix-values-artifacts/${artifact_name}/matrix_values_${dist}_${kernel}.json"
if [ -f "$file_path" ]; then
echo "Successfully found artifact: $artifact_name at $file_path"
value=$(jq -r '.[]' "$file_path")
kernel_versions+=($value)
echo "matrix_values_not_empty=1" >> $GITHUB_OUTPUT
else
echo "Artifact not found: $artifact_name"
fi
done
# Read and merge kernel_version values from all platform artifacts (amd64 and arm64)
for f in $(find ./matrix-values-artifacts -name "matrix_values_*.json" -type f 2>/dev/null); do
value=$(jq -r '.[]' "$f")
kernel_versions+=($value)
echo "matrix_values_not_empty=1" >> $GITHUB_OUTPUT
kernel_versions=($(printf '%s\n' "${kernel_versions[@]}" | sort -u))
done
Comment on lines +290 to 291
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sort -u deduplication command is placed inside the for loop, which means it will be executed on every iteration and will lose accumulated values. The line should be moved outside the loop, after the done statement. This will cause incorrect behavior where only the last file's kernel versions are kept after deduplication instead of all accumulated versions.

Suggested change
kernel_versions=($(printf '%s\n' "${kernel_versions[@]}" | sort -u))
done
done
kernel_versions=($(printf '%s\n' "${kernel_versions[@]}" | sort -u))

Copilot uses AI. Check for mistakes.
echo "Collected Kernel Versions: ${kernel_versions[@]}"
combined_values=$(printf '%s\n' "${kernel_versions[@]}" | jq -R . | jq -s -c . | tr -d ' \n')
Expand Down Expand Up @@ -334,6 +348,16 @@ jobs:
echo "${{ secrets.AWS_SSH_KEY }}" > ${{ github.workspace }}/key.pem && chmod 400 ${{ github.workspace }}/key.pem
echo "PRIVATE_REGISTRY=ghcr.io" >> $GITHUB_ENV
KERNEL_VERSION="${{ matrix.kernel_version }}"
if [[ "${KERNEL_VERSION}" == *-arm64 ]]; then
PLATFORM=arm64
PLATFORM_SUFFIX="-arm64"
KERNEL_VERSION="${KERNEL_VERSION%-arm64}"
else
PLATFORM=amd64
PLATFORM_SUFFIX=""
fi
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
echo "PLATFORM_SUFFIX=$PLATFORM_SUFFIX" >> $GITHUB_ENV
# Extract the last segment after the last dash
DIST=${KERNEL_VERSION##*-}
echo "DIST=$DIST" >> $GITHUB_ENV
Expand All @@ -342,22 +366,29 @@ jobs:
driver_branch_json="${{ needs.set-driver-version-matrix.outputs.driver_branch }}"
DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]'))
echo "DRIVER_BRANCHES=${DRIVER_BRANCHES[*]}" >> $GITHUB_ENV
- name: Set kernel version in holodeck_${{ env.DIST }}.yaml
- name: Set kernel version and architecture in holodeck_ubuntu.yaml
run: |
yq eval '.spec += {"kernel": {"version": strenv(KERNEL_VERSION)}}' -i tests/holodeck_${{ env.DIST }}.yaml
yq eval '.spec += {"kernel": {"version": strenv(KERNEL_VERSION)}}' -i tests/holodeck_ubuntu.yaml
if [[ "$DIST" == "ubuntu24.04" ]]; then
yq eval '.spec.instance.os = "ubuntu-24.04"' -i tests/holodeck_ubuntu.yaml
fi
if [[ "$PLATFORM" == "arm64" ]]; then
yq eval '.spec.instance.image.architecture = strenv(PLATFORM)' -i tests/holodeck_ubuntu.yaml
yq eval '.spec.instance.type = "g5g.xlarge"' -i tests/holodeck_ubuntu.yaml
yq eval '.spec.instance.region = "us-west-2"' -i tests/holodeck_ubuntu.yaml
fi

- name: Set up Holodeck
uses: NVIDIA/holodeck@v0.2.18
uses: NVIDIA/holodeck@main
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update it and specify the actual version once @ArangoGutierrez releases the new version of Holodeck.

Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Holodeck version has been changed from a pinned version (v0.2.18) to @main, which is not a best practice for CI/CD workflows. Using @main introduces unpredictability as the main branch could contain breaking changes at any time. The other workflow file (.github/workflows/ci.yaml) uses NVIDIA/holodeck@v0.2.18. Consider using a specific pinned version or tag instead of @main for stability and reproducibility.

Suggested change
uses: NVIDIA/holodeck@main
uses: NVIDIA/holodeck@v0.2.18

Copilot uses AI. Check for mistakes.
env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SSH_KEY: ${{ secrets.AWS_SSH_KEY }}
DIST: ${{ env.DIST }}
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_ssh_key: ${{ secrets.AWS_SSH_KEY }}
holodeck_config: "tests/holodeck_${{ env.DIST }}.yaml"
holodeck_config: "tests/holodeck_ubuntu.yaml"
- name: Get public dns name
id: get_public_dns_name
uses: mikefarah/yq@master
Expand Down Expand Up @@ -394,7 +425,7 @@ jobs:
TEST_CASE_ARGS="${GPU_OPERATOR_OPTIONS} --set driver.version=${DRIVER_VERSION}"
# add escape character for space
TEST_CASE_ARGS=$(printf '%q ' "$TEST_CASE_ARGS")
IMAGE_PATH="./tests/driver-images-${DRIVER_VERSION}-${KERNEL_VERSION}-${DIST}.tar"
IMAGE_PATH="./tests/driver-images-${DRIVER_VERSION}-${KERNEL_VERSION}-${DIST}${{ env.PLATFORM_SUFFIX }}.tar"
./tests/ci-run-e2e.sh "${TEST_CASE}" "${TEST_CASE_ARGS}" ${IMAGE_PATH} || status=$?
if [ $status -eq 1 ]; then
echo "e2e validation failed for driver version $DRIVER_VERSION with status $status"
Expand Down Expand Up @@ -436,6 +467,11 @@ jobs:
- name: Set image vars
run: |
echo "PRIVATE_REGISTRY=ghcr.io" >> $GITHUB_ENV
KERNEL_VERSION="${{ matrix.kernel_version }}"
if [[ "${KERNEL_VERSION}" == *-arm64 ]]; then
KERNEL_VERSION="${KERNEL_VERSION%-arm64}"
fi
echo "KERNEL_VERSION=$KERNEL_VERSION" >> $GITHUB_ENV

- name: Download base image artifact
if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
Expand All @@ -447,9 +483,9 @@ jobs:
- name: Publish base image
if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
run: |
LTS_KERNEL=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^([0-9]+\.[0-9]+)\..*/\1/')
KERNEL_FLAVOR=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-(.*)-ubuntu[0-9]+\.[0-9]+$/\1/')
DIST=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^.*-(ubuntu[0-9]+\.[0-9]+)$/\1/')
LTS_KERNEL=$(echo "${{ env.KERNEL_VERSION }}" | sed -E 's/^([0-9]+\.[0-9]+)\..*/\1/')
KERNEL_FLAVOR=$(echo "${{ env.KERNEL_VERSION }}" | sed -E 's/^[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-(.*)-ubuntu[0-9]+\.[0-9]+$/\1/')
DIST=$(echo "${{ env.KERNEL_VERSION }}" | sed -E 's/^.*-(ubuntu[0-9]+\.[0-9]+)$/\1/')
if [[ "${DIST}" == "ubuntu22.04" ]]; then
BASE_TARGET="jammy"
elif [[ "${DIST}" == "ubuntu24.04" ]]; then
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ $(BASE_BUILD_TARGETS):
DOCKER_BUILDKIT=1 \
$(DOCKER) $(BUILDX) build --pull --no-cache \
$(DOCKER_BUILD_OPTIONS) \
$(DOCKER_BUILD_PLATFORM_OPTIONS) \
--tag $(IMAGE) \
--target $(TARGET) \
--build-arg CUDA_VERSION="$(CUDA_VERSION)" \
Expand Down
1 change: 0 additions & 1 deletion multi-arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ $(DRIVER_PUSH_TARGETS): push-%:
build-ubuntu18.04%: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
build-signed_ubuntu20.04%: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
build-signed_ubuntu22.04%: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
build-signed_ubuntu24.04%: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
build-sles%: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
12 changes: 1 addition & 11 deletions tests/holodeck_ubuntu22.04.yaml → tests/holodeck_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,9 @@ spec:
instance:
type: g4dn.xlarge
region: us-west-1
ingressIpRanges:
- 18.190.12.32/32
- 3.143.46.93/32
- 52.15.119.136/32
- 35.155.108.162/32
- 35.162.190.51/32
- 54.201.61.24/32
- 52.24.205.48/32
- 44.235.4.62/32
- 44.230.241.223/32
os: ubuntu-22.04
image:
architecture: amd64
imageId: ami-0007a86be89339c9f
containerRuntime:
install: true
name: containerd
Expand Down
34 changes: 0 additions & 34 deletions tests/holodeck_ubuntu24.04.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions tests/scripts/ci-precompiled-helpers.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
get_kernel_versions_to_test() {
if [[ "$#" -ne 4 ]]; then
echo " Error:$0 must be called with KERNEL_FLAVORS DRIVER_BRANCHES DIST LTS_KERNEL" >&2
if [[ "$#" -lt 4 || "$#" -gt 5 ]]; then
echo " Error:$0 must be called with KERNEL_FLAVORS DRIVER_BRANCHES DIST LTS_KERNEL or KERNEL_FLAVORS DRIVER_BRANCHES DIST LTS_KERNEL PLATFORM_SUFFIX" >&2
exit 1
fi

local -a KERNEL_FLAVORS=("${!1}")
local -a DRIVER_BRANCHES=("${!2}")
local DIST="$3"
local LTS_KERNEL="$4"

local PLATFORM_SUFFIX="$5"
kernel_versions=()
for kernel_flavor in "${KERNEL_FLAVORS[@]}"; do
for DRIVER_BRANCH in "${DRIVER_BRANCHES[@]}"; do
source ./tests/scripts/findkernelversion.sh "${kernel_flavor}" "$DRIVER_BRANCH" "$DIST" "$LTS_KERNEL" >&2
source ./tests/scripts/findkernelversion.sh "${kernel_flavor}" "$DRIVER_BRANCH" "$DIST" "$LTS_KERNEL" "$PLATFORM_SUFFIX" >&2
if [[ "$should_continue" == true ]]; then
break
fi
Expand All @@ -25,7 +25,7 @@ get_kernel_versions_to_test() {
# Remove duplicates
kernel_versions=($(printf "%s\n" "${kernel_versions[@]}" | sort -u))
for i in "${!kernel_versions[@]}"; do
kernel_versions[$i]="${kernel_versions[$i]}-$DIST"
kernel_versions[$i]="${kernel_versions[$i]}-$DIST$PLATFORM_SUFFIX"
done
echo "${kernel_versions[@]}"
}
Loading
Loading