Page MenuHomePhabricator

[keyserver] Clean up `run-prod.sh` using ShellCheck
ClosedPublic

Authored by abosh on Aug 2 2022, 8:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 3:00 PM
Unknown Object (File)
Sat, Nov 2, 5:29 PM
Unknown Object (File)
Tue, Oct 22, 5:33 AM
Unknown Object (File)
Tue, Oct 22, 4:31 AM
Unknown Object (File)
Mon, Oct 21, 12:36 PM
Unknown Object (File)
Oct 7 2024, 9:43 AM
Unknown Object (File)
Oct 7 2024, 9:43 AM
Unknown Object (File)
Oct 7 2024, 9:43 AM
Subscribers

Details

Summary

Related Linear issue here. This is part of a set of diffs that will allow ShellCheck to be added to the CI. See inline comments for specific details of the ShellCheck error/warning output.

Test Plan

ShellCheck.

Additionally, this script is run during the keyserver build so if that workflow continues to pass CI we can reasonably assume that the script continues to work as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

abosh retitled this revision from [keyserver] Clean up `run-prod.sh` to [keyserver] Clean up `run-prod.sh` using ShellCheck.Aug 2 2022, 9:30 AM
abosh edited the summary of this revision. (Show Details)
atul added inline comments.
keyserver/bash/run-prod.sh
8 ↗(On Diff #15216)

Thanks for sharing the link. So it looks like the relevant part is:

If you don't care that ShellCheck is unable to account for the file, specify # shellcheck source=/dev/null.

which makes sense.

This revision is now accepted and ready to land.Aug 2 2022, 10:28 AM