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)
Sun, Sep 1, 11:21 PM
Unknown Object (File)
Aug 24 2024, 11:26 PM
Unknown Object (File)
Aug 24 2024, 11:26 PM
Unknown Object (File)
Aug 24 2024, 11:26 PM
Unknown Object (File)
Aug 24 2024, 11:23 PM
Unknown Object (File)
Aug 13 2024, 8:58 AM
Unknown Object (File)
Aug 12 2024, 11:08 PM
Unknown Object (File)
Jul 18 2024, 7:11 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