-
Notifications
You must be signed in to change notification settings - Fork 807
[Devops] Small containers clean-up #20219
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
base: sycl
Are you sure you want to change the base?
Conversation
- get_release.py is unused and likely can be removed - we don't test fpga anymore, so I guess we don't need to install the runtime, so change all -> igfx, cpu. May be this part of script may be removed as well. - there is some leftover after drivers install. Do not download .deb.gpg assets & also remove .ddeb
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.
lgtm minor nit
devops/scripts/install_drivers.sh
Outdated
| grep ".*$UBUNTU_VER.*deb$" \ | ||
| wget -qi - | ||
dpkg -i --force-all *.deb && rm *.deb *.sum | ||
dpkg -i --force-all *.deb && rm *.deb *.ddeb *.sum |
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.
i wonder if we can instead change the get_release
call to be something like grep ".*$UBUNTU_VER.*\.deb$"
so we dont ever download .ddeb
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.
I thought about it. If we don't need debug packages, I'll update this a bit later
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.
ive never seen a case where we actually get a crash with a stack trace that it would be useful to have symbols for, so i dont think we need them
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.
a5b3108 updated. Also removed sum week check, as 2024 is already far away:)
This is how fpga runtime is downloaded: |
| wget -qi - | ||
get_release oneapi-src/level-zero $L0_TAG \ | ||
| grep ".*$UBUNTU_VER.*deb" \ | ||
| grep ".*$UBUNTU_VER.*deb$" \ |
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.
do we need to add the ddeb check here too?
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.
No, actually compute runtime is the only dependency containing debug packages.
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.
nice cleanup
get_release.py
script is unused. Removing.