Page MenuHomePhabricator

[services] Clean up `build_sources.sh` using ShellCheck
ClosedPublic

Authored by abosh on Aug 2 2022, 10:02 AM.
Tags
None
Referenced Files
F2153915: D4720.id15228.diff
Sun, Jun 30, 6:18 PM
Unknown Object (File)
Fri, Jun 21, 4:06 PM
Unknown Object (File)
Fri, Jun 21, 4:06 PM
Unknown Object (File)
Fri, Jun 21, 4:05 PM
Unknown Object (File)
Fri, Jun 21, 3:54 PM
Unknown Object (File)
Tue, Jun 11, 9:47 PM
Unknown Object (File)
May 10 2024, 12:49 PM
Unknown Object (File)
Apr 11 2024, 3:59 PM

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 by build_service.sh, which is run during the Backup, Blob, and Tunnelbroker builds so if those workflows continue 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

services/lib/docker/build_sources.sh
16 ↗(On Diff #15228)

I don't have much context on this script I think, and I'm a bad choice for a first-pass reviewer except for cases listed here

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