-
Notifications
You must be signed in to change notification settings - Fork 13
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
cleanup(gh-actions/build-debian): Unify steps common tasks and make apt faster #57
Conversation
7926742
to
c06d606
Compare
1e197c8
to
c9b36f6
Compare
@didrocks can you give this a look please? :) |
140d56a
to
020cdd5
Compare
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 only have 3 small nitpicks, but should be good to go then!
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.
Good work!
9a96a9b
to
140bfb6
Compare
Cool, FYI I've dropped the last commit since it got upstreamed at canonical/setup-lxd#25 :) |
… script We can just use a script from this repo in order to do the common steps that each container run requires
No need to copy the script around, we can just reuse the one from this repository, since it's now in the action path
…step There's no need to add multiple steps
In this way we can avoid issues in case the variable contains quotes
… installation We can save some time by avoiding apt to install man pages and parsing them to build the man-db. Plus, locales aren't normally required unless they're explicit build-dependencies of a package (that may requires them for testing some special case).
eatmydata allows faster builds and it's something that is used also by default by mk-sbuild these days, so enable it by default here too.
It's what the CI terminal is
140bfb6
to
c8f3aee
Compare
Simplify the action and move the common docker steps in a script that is shared by all the steps.