Skip to content

Commit

Permalink
6.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 24, 2024
1 parent ae7c585 commit 2792239
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci_precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
TEST_CASE: "./tests/cases/nvidia-driver.sh"
OPERATOR_OPTIONS: "--set driver.usePrecompiled=true --set driver.repository=${{ env.PRIVATE_REGISTRY }}/nvidia"
run: |
echo "shiva1"
rc=0
for driver_version in ${DRIVER_VERSIONS}; do
echo "Running e2e for DRIVER_VERSION=$driver_version"
Expand Down
6 changes: 3 additions & 3 deletions tests/ci-run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ if [[ $# -ne 3 ]]; then
exit 1
fi

export TEST_CASE=${1}
export TARGET_DRIVER_VERSION=${2}
export OPERATOR_OPTIONS=${3}
export TEST_CASE="${1}"
export TARGET_DRIVER_VERSION="${2}"
export OPERATOR_OPTIONS="${3}"

TEST_DIR="$(pwd)/tests"

Expand Down
3 changes: 1 addition & 2 deletions tests/scripts/install-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +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"
${HELM} install gpu-operator nvidia/gpu-operator \
-n "${TEST_NAMESPACE}" \
${OPERATOR_OPTIONS} \
"${OPERATOR_OPTIONS}" \
--wait

0 comments on commit 2792239

Please sign in to comment.