-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance e2e test and publish image #117
base: main
Are you sure you want to change the base?
Conversation
43a0e71
to
d0e004d
Compare
# SHIVA | ||
# pull_request: | ||
# types: | ||
# - opened |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test code
# - opened | ||
# - synchronize | ||
# branches: | ||
# - main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test code
needs: set-driver-version-matrix | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
driver-branch: ${{ fromJson(needs.set-driver-version-matrix.outputs.driver_branch) }} | ||
driver_branch: ${{ fromJson(needs.set-driver-version-matrix.outputs.driver_branch) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using driver_branch in most of the places
@@ -220,19 +270,29 @@ jobs: | |||
- name: Precompiled e2e test gpu driver validation | |||
env: | |||
TEST_CASE: "./tests/cases/nvidia-driver.sh" | |||
GPU_OPERATOR_OPTIONS: "--set driver.repository=${{ env.PRIVATE_REGISTRY }}/nvidia --set driver.usePrecompiled=true" | |||
GPU_OPERATOR_OPTIONS: "--set driver.repository=${{ env.PRIVATE_REGISTRY }}/nvidia --set driver.usePrecompiled=true \ | |||
--set driver.imagePullPolicy=Never" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--set driver.imagePullPolicy=Never : use local image uploaded with ctr command on target
6b7444a
to
0e79215
Compare
a0643fe
to
22afef0
Compare
regctl tag ls nvcr.io/nvidia/driver | grep "^${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}$" || status=$? | ||
if [[ $status -eq 0 ]]; then | ||
export should_continue=false | ||
else | ||
export should_continue=true | ||
fi | ||
# SHIVA | ||
export should_continue=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test code
Signed-off-by: shiva kumar <[email protected]>
22afef0
to
a398577
Compare
No description provided.