-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update configure-apt-mock.sh to enable parallelism #11467
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: main
Are you sure you want to change the base?
Conversation
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.
lets get this to test thank you team
I have more extensive changes coming to actually enable parallelism. This PR is now weeks old, which doesn't bode well for the rest of my changes. Is there any interest from the actual team? |
Thank you @xximwon , but I need someone "with write access" to approve this PR. |
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.
looks good for test
ping @subir0071 , looks like CI passed, mind approving/merging it? |
Hi @fahhem , Kindly rebase your Pr, thanks |
This adds a few errors that happen when another update/install process is running in parallel. `apt-get update` doesn't handle race conditions well, and `apt-get install` has one as well. This is pre-cursor to another change that enables parallelism in the packer templates to run the `install-*.sh` scripts parallel, as I mentioned in https://github.com/actions/runner-images/discussions/2320
@vidyasagarnimmagaddi rebased, but nothing changed in the rebase so the diffs are the same. |
@vidyasagarnimmagaddi thank you, looks like CI still passes! |
Description
This adds a few errors that happen when another update/install process is running in parallel.
apt-get update
doesn't handle race conditions well, andapt-get install
has one as well.This is pre-cursor to another change that enables parallelism in the packer templates to run the
install-*.sh
scripts parallel, as I mentioned in https://github.com/actions/runner-images/discussions/2320On its own, this change does nothing, except maybe slightly increase reliability of image building.
Check list