16
16
name : Precompiled images
17
17
18
18
on :
19
- schedule :
20
- - cron : ' 00 09 * * *'
19
+ pull_request :
20
+ types :
21
+ - opened
22
+ - synchronize
23
+ branches :
24
+ -limite2einstance
25
+ push :
26
+ branches :
27
+ - limite2einstance
21
28
22
29
jobs :
23
30
set-driver-version-matrix :
@@ -273,18 +280,18 @@ jobs:
273
280
274
281
# slack notification for new kernel release before e2e tests starts
275
282
# 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
-
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
- }
283
+ # - name: Slack notification
284
+ # if: steps.set_kernel_version.outputs.matrix_values_not_empty == '1'
285
+ # uses: slackapi/[email protected]
286
+ # with:
287
+ # token: ${{ secrets.SLACK_BOT_TOKEN }}
288
+ # method: chat.postMessage
289
+ # payload: |
290
+ # {
291
+ # "channel": "${{ secrets.SLACK_CHANNEL_ID }}",
292
+ # "text": "${{ secrets.DETECTED_PRECOMPILED_KERNEL_MESSAGE }} ${{ steps.set_kernel_version.outputs.published_kernels }} \n
293
+ # Details: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
294
+ # }
288
295
289
296
e2e-tests-nvidiadriver :
290
297
runs-on : linux-amd64-cpu4
@@ -296,6 +303,8 @@ jobs:
296
303
matrix :
297
304
kernel_version : ${{ fromJson(needs.collect-e2e-test-matrix.outputs.matrix_values) }}
298
305
exclude : ${{ fromJson(needs.collect-e2e-test-matrix.outputs.exclude_matrix_values) }}
306
+ # no of jobs to run in parallel
307
+ max-parallel : 5
299
308
steps :
300
309
- name : Check out code
301
310
uses : actions/checkout@v4
@@ -324,7 +333,7 @@ jobs:
324
333
yq eval '.spec += {"kernel": {"version": strenv(KERNEL_VERSION)}}' -i tests/holodeck_${{ env.DIST }}.yaml
325
334
326
335
- name : Set up Holodeck
327
- uses : NVIDIA/holodeck@v0.2.15
336
+ uses : NVIDIA/holodeck@defaultcalicoexistingerror
328
337
env :
329
338
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
330
339
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -438,7 +447,7 @@ jobs:
438
447
image_path="./base-images-${{ matrix.driver_branch }}-${{ matrix.kernel_version }}.tar"
439
448
echo "uploading $image_path"
440
449
docker load -i $image_path
441
- docker push ${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${KERNEL_FLAVOR}-${{ matrix.driver_branch }}
450
+ # docker push ${PRIVATE_REGISTRY}/nvidia/driver:base-${BASE_TARGET}-${LTS_KERNEL}-${KERNEL_FLAVOR}-${{ matrix.driver_branch }}
442
451
443
452
- name : Download built image artifact
444
453
if : ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
@@ -453,16 +462,16 @@ jobs:
453
462
image_path="./driver-images-${{ matrix.driver_branch }}-${{ matrix.kernel_version }}.tar"
454
463
echo "uploading $image_path"
455
464
docker load -i $image_path
456
- docker push ${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}
465
+ # docker push ${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}
457
466
458
- - name : Slack notification
459
- if : ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
460
-
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
- }
467
+ # - name: Slack notification
468
+ # if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
469
+ # uses: slackapi/[email protected]
470
+ # with:
471
+ # token: ${{ secrets.SLACK_BOT_TOKEN }}
472
+ # method: chat.postMessage
473
+ # payload: |
474
+ # {
475
+ # "channel": "${{ secrets.SLACK_CHANNEL_ID }}",
476
+ # "text": "${{ secrets.PUBLISHED_PRECOMPILED_IMAGE_MESSAGE }} ${{ env.PRIVATE_REGISTRY }}/nvidia/driver:${{ matrix.driver_branch }}-${{ matrix.kernel_version }}"
477
+ # }
0 commit comments