Skip to content

Commit 658bcf5

Browse files
committed
Test Not for review holodeck e2e testing
1 parent 22b9702 commit 658bcf5

File tree

4 files changed

+44
-33
lines changed

4 files changed

+44
-33
lines changed

.github/workflows/image.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ on:
2121
- opened
2222
- synchronize
2323
branches:
24-
- main
25-
- release-*
24+
- main-no
2625
push:
2726
branches:
28-
- main
29-
- release-*
27+
- main-no
3028

3129
jobs:
3230
image:

.github/workflows/precompiled.yaml

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@
1616
name: Precompiled images
1717

1818
on:
19-
schedule:
20-
- cron: '00 09 * * *'
19+
pull_request:
20+
types:
21+
- opened
22+
- synchronize
23+
branches:
24+
- holodeck-testing
25+
push:
26+
branches:
27+
- holodeck-testing
2128

2229
jobs:
2330
set-driver-version-matrix:
@@ -34,22 +41,26 @@ jobs:
3441
id: extract_driver_branch
3542
run: |
3643
# get driver_branch
37-
DRIVER_BRANCH=("535" "570")
44+
# DRIVER_BRANCH=("535" "570")
45+
DRIVER_BRANCH=("570")
3846
driver_branch_json=$(printf '%s\n' "${DRIVER_BRANCH[@]}" | jq -R . | jq -cs .)
3947
echo "driver_branch=$driver_branch_json" >> $GITHUB_OUTPUT
4048
4149
# get kernel flavors
4250
KERNEL_FLAVORS=("aws" "azure" "generic" "nvidia" "oracle")
51+
# KERNEL_FLAVORS=("generic")
4352
kernel_flavors_json=$(printf '%s\n' "${KERNEL_FLAVORS[@]}" | jq -R . | jq -cs .)
4453
echo "kernel_flavors=$kernel_flavors_json" >> $GITHUB_OUTPUT
4554
4655
# get ubuntu distributions
4756
DIST=("ubuntu22.04" "ubuntu24.04")
57+
# DIST=("ubuntu22.04")
4858
dist_json=$(printf '%s\n' "${DIST[@]}" | jq -R . | jq -cs .)
4959
echo "dist=$dist_json" >> $GITHUB_OUTPUT
5060
5161
# LTS_KERNEL setup
5262
LTS_KERNEL=("5.15" "6.8")
63+
# LTS_KERNEL=("5.15")
5364
lts_kernel_json=$(printf '%s\n' "${LTS_KERNEL[@]}" | jq -R . | jq -cs .)
5465
echo "lts_kernel=$lts_kernel_json" >> $GITHUB_OUTPUT
5566
@@ -273,18 +284,18 @@ jobs:
273284
274285
# slack notification for new kernel release before e2e tests starts
275286
# as e2e tests may fail for new kernel release
276-
- name: Slack notification
277-
if: steps.set_kernel_version.outputs.matrix_values_not_empty == '1'
278-
uses: slackapi/[email protected]
279-
with:
280-
token: ${{ secrets.SLACK_BOT_TOKEN }}
281-
method: chat.postMessage
282-
payload: |
283-
{
284-
"channel": "${{ secrets.SLACK_CHANNEL_ID }}",
285-
"text": "${{ secrets.DETECTED_PRECOMPILED_KERNEL_MESSAGE }} ${{ steps.set_kernel_version.outputs.published_kernels }} \n
286-
Details: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
287-
}
287+
# - name: Slack notification
288+
# if: steps.set_kernel_version.outputs.matrix_values_not_empty == '1'
289+
# uses: slackapi/[email protected]
290+
# with:
291+
# token: ${{ secrets.SLACK_BOT_TOKEN }}
292+
# method: chat.postMessage
293+
# payload: |
294+
# {
295+
# "channel": "${{ secrets.SLACK_CHANNEL_ID }}",
296+
# "text": "${{ secrets.DETECTED_PRECOMPILED_KERNEL_MESSAGE }} ${{ steps.set_kernel_version.outputs.published_kernels }} \n
297+
# Details: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
298+
# }
288299

289300
e2e-tests-nvidiadriver:
290301
runs-on: linux-amd64-cpu4
@@ -324,7 +335,7 @@ jobs:
324335
yq eval '.spec += {"kernel": {"version": strenv(KERNEL_VERSION)}}' -i tests/holodeck_${{ env.DIST }}.yaml
325336
326337
- name: Set up Holodeck
327-
uses: NVIDIA/holodeck@v0.2.15
338+
uses: NVIDIA/holodeck@main
328339
env:
329340
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
330341
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -438,7 +449,7 @@ jobs:
438449
image_path="./base-images-${{ matrix.driver_branch }}-${{ matrix.kernel_version }}.tar"
439450
echo "uploading $image_path"
440451
docker load -i $image_path
441-
docker push ${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${KERNEL_FLAVOR}-${{ matrix.driver_branch }}
452+
# docker push ${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${KERNEL_FLAVOR}-${{ matrix.driver_branch }}
442453
443454
- name: Download built image artifact
444455
if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
@@ -453,16 +464,16 @@ jobs:
453464
image_path="./driver-images-${{ matrix.driver_branch }}-${{ matrix.kernel_version }}.tar"
454465
echo "uploading $image_path"
455466
docker load -i $image_path
456-
docker push ${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}
467+
# docker push ${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}
457468
458-
- name: Slack notification
459-
if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
460-
uses: slackapi/[email protected]
461-
with:
462-
token: ${{ secrets.SLACK_BOT_TOKEN }}
463-
method: chat.postMessage
464-
payload: |
465-
{
466-
"channel": "${{ secrets.SLACK_CHANNEL_ID }}",
467-
"text": "${{ secrets.PUBLISHED_PRECOMPILED_IMAGE_MESSAGE }} ${{ env.PRIVATE_REGISTRY }}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}"
468-
}
469+
# - name: Slack notification
470+
# if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
471+
# uses: slackapi/[email protected]
472+
# with:
473+
# token: ${{ secrets.SLACK_BOT_TOKEN }}
474+
# method: chat.postMessage
475+
# payload: |
476+
# {
477+
# "channel": "${{ secrets.SLACK_CHANNEL_ID }}",
478+
# "text": "${{ secrets.PUBLISHED_PRECOMPILED_IMAGE_MESSAGE }} ${{ env.PRIVATE_REGISTRY }}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}"
479+
# }

tests/scripts/findkernelversion.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ if [[ $status_nvcr -eq 0 || $status_ghcr -eq 0 ]]; then
4242
else
4343
export should_continue=true
4444
fi
45+
export should_continue=true

tests/scripts/install-operator.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ kubectl create namespace "${TEST_NAMESPACE}"
2222

2323
# Run the helm install command
2424
echo "OPERATOR_OPTIONS: ${OPERATOR_OPTIONS}"
25+
2526
eval ${HELM} install gpu-operator nvidia/gpu-operator \
2627
-n "${TEST_NAMESPACE}" \
2728
"${OPERATOR_OPTIONS}" \

0 commit comments

Comments
 (0)