Skip to content

Commit

Permalink
1. Pre-compiled end-to-end gpu driver validation
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Sep 10, 2024
1 parent e7cc10c commit f9204a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ jobs:
UPGRADE_KERNEL_SCRIPT: "./tests/scripts/upgrade-kernel.sh"
run: |
status=0
./tests/ci-remote-exec.sh "${UPGRADE_KERNEL_SCRIPT}" "${KERNEL_VERSION}" || status=$?
./tests/ci-remote-exec.sh "${UPGRADE_KERNEL_SCRIPT}" \"${KERNEL_VERSION}\" || status=$?
# On the target system, all scripts/test-case exit with code 1 for error handling.
# However, since reboot-related disconnections break the SSH connection
# and can cause the entire job to exit, we should ignore all errors except
Expand Down
6 changes: 6 additions & 0 deletions tests/scripts/upgrade-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ fi
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../scripts && pwd )"
source "${SCRIPTS_DIR}"/.definitions.sh

i=0
for arg in "$@"; do
echo "SHIVA =$i $arg"
i=$i+1
done

# export kernel version and Run an end-to-end test cycle
export KERNEL_VERSION="$2"
"${SCRIPTS_DIR}"/kernel-upgrade-helper.sh

0 comments on commit f9204a2

Please sign in to comment.