Skip to content

Commit

Permalink
3.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 Aug 25, 2024
1 parent 7b746ba commit 73ef4f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ on:
branches:
# - main
# - release-*
- e2etestdriver
- e2etestdriver_no
push:
branches:
# - main
# - release-*
- e2etestdriver
- e2etestdriver_no

jobs:
image:
Expand Down
1 change: 1 addition & 0 deletions tests/scripts/install-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ helm repo add nvidia ${HELM_NVIDIA_REPO} && helm repo update
kubectl create namespace "${TEST_NAMESPACE}"

# Run the helm install command
echo "OPERATOR_OPTIONS: ${OPERATOR_OPTIONS}"
eval ${HELM} install gpu-operator nvidia/gpu-operator \
-n "${TEST_NAMESPACE}" \
"${OPERATOR_OPTIONS}" \
Expand Down
7 changes: 7 additions & 0 deletions tests/scripts/nvidia-kernel-upgrade-aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ if [ "${CURRENT_KERNEL}" != ${KERNEL_VERSION} ]; then
' "$GRUB_FILE")
sudo sed -i "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"1>${kernel_index}\"/" /etc/default/grub

echo "SHIVA"
cat ${GRUB_FILE}
echo "==================="
cat /etc/default/grub

echo "SHIVA1"

echo "Rebooting ..."
# Run the reboot command with nohup to avoid abrupt SSH closure issues
nohup sudo reboot &
Expand Down

0 comments on commit 73ef4f5

Please sign in to comment.