-
Notifications
You must be signed in to change notification settings - Fork 35
Add RL9 cuda build variant #428
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
825688b
determine cuda distro automatically
sjpb a115fe3
fix typo in CUDA samples
sjpb 5e79a9c
make facts available for cuda
sjpb f474ac8
add RL9 cuda build variant
sjpb a985a1b
fix typo in build definitions
sjpb 8b7edfd
set packer build volume sizes depending on build variant
sjpb 905113c
fix volume size definition
sjpb 4a6a4fa
fix cuda verfsion to workaround issue with 12-6-0-1
sjpb 4ce4b5a
don't fail all builds if one fails
sjpb f517c6f
bump CUDA builder disk size (build ran out of space)
sjpb 0abc465
download cuda image to /mnt on gh runner
bertiethorpe 51d1991
download cuda image to /mnt on gh runner
bertiethorpe aec6f50
fix fatimage.yml mnt permissions
bertiethorpe bead06d
Update main.yml
bertiethorpe 1687368
switch to open nvidia drivers
sjpb 102e19a
bump CI images
sjpb 7f15afc
make packer build volume-backed optional again
sjpb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,20 @@ jobs: | |
name: openstack-imagebuild | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
fail-fast: false # allow other matrix jobs to continue even if one fails | ||
matrix: # build RL8, RL9+OFED, RL9+CUDA versions | ||
os_version: | ||
- RL8 | ||
- RL9 | ||
build: | ||
- openstack.openhpc | ||
- openstack.openhpc-ofed | ||
- openstack.openhpc-cuda | ||
exclude: | ||
- os_version: RL8 | ||
build: openstack.openhpc-ofed | ||
- os_version: RL8 | ||
build: openstack.openhpc-cuda | ||
- os_version: RL9 | ||
build: openstack.openhpc | ||
env: | ||
|
@@ -81,7 +85,9 @@ jobs: | |
- name: Download image | ||
run: | | ||
. venv/bin/activate | ||
openstack image save --file ${{ steps.manifest.outputs.image-name }}.qcow2 ${{ steps.manifest.outputs.image-name }} | ||
sudo mkdir /mnt/images | ||
sudo chmod 777 /mnt/images | ||
openstack image save --file /mnt/images/${{ steps.manifest.outputs.image-name }}.qcow2 ${{ steps.manifest.outputs.image-name }} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
@@ -95,13 +101,13 @@ jobs: | |
run: sudo mkdir -p './${{ steps.manifest.outputs.image-name }}' | ||
|
||
- name: mount qcow2 file | ||
run: sudo guestmount -a ${{ steps.manifest.outputs.image-name }}.qcow2 -i --ro -o allow_other './${{ steps.manifest.outputs.image-name }}' | ||
run: sudo guestmount -a /mnt/images/${{ steps.manifest.outputs.image-name }}.qcow2 -i --ro -o allow_other './${{ steps.manifest.outputs.image-name }}' | ||
|
||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: fs | ||
scan-ref: "./${{ steps.manifest.outputs.image-name }}" | ||
scan-ref: "${{ steps.manifest.outputs.image-name }}" | ||
scanners: "vuln" | ||
format: sarif | ||
output: "${{ steps.manifest.outputs.image-name }}.sarif" | ||
|
@@ -117,7 +123,7 @@ jobs: | |
uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: fs | ||
scan-ref: "./${{ steps.manifest.outputs.image-name }}" | ||
scan-ref: "${{ steps.manifest.outputs.image-name }}" | ||
scanners: "vuln" | ||
format: table | ||
exit-code: '1' | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.