-
Notifications
You must be signed in to change notification settings - Fork 112
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
ShellCheck for various helper bash scripts #531
ShellCheck for various helper bash scripts #531
Conversation
14d788a
to
b4b10bb
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.
Thanks a lot @seberm, this is very helpful! I skimmed the shellcheck'd code and ran a few of the scripts. Looks good.
25491c6
to
a924260
Compare
Hello @jonasnick , |
c5c3881
to
d99e91d
Compare
Hello @jonasnick , |
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.
Thanks @seberm. ACK mod nits. I want to merge this PR asap to avoid having to rebase it all the time. @erikarvstedt can you Concept ACK this?
d99e91d
to
c4e7828
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.
ACK c4e78281985aa53fec067ed778979aace956206e
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.
Amazing, thanks a lot!
- Fix
start-bash-session.sh
which was broken due to shellcheck comments inserted into a
multi-line command. run-tests.sh
: Fix rounding down ofmemAvailableKiB
run-tests.sh
: Add shellcheck binary to PATH for testshellcheck
shellcheck.sh
: Simplify, always check all scripts in repo.cirrus.yml
: Improve usage of the root flake.cirrus.yml
: Use the actual Nix version from NixOS 22.05.cirrus.yml
: Simplify testshellcheck
5d0d700
to
ff247c1
Compare
Thanks for fixing |
e3613ea
to
1a0df13
Compare
Hello Erik, Hopefully I have rebased everything correctly :). Let me know if anything more is needed. |
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.
ACK 1a0df13d6c56d2120ecdb2027fc45c435f889cd4
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.
Sorry, last fix: I've updated my branch above to pin shellcheck (and other binaries) used in the CI script to our version of nixpkgs.
1a0df13
to
8a7a917
Compare
No problem. |
8a7a917
to
91a03ce
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.
ACK 91a03ce
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.
ACK 91a03ce
Thanks @seberm @erikarvstedt !
This PR adds shellcheck lint to helper bash scripts, for more info please see: