Page MenuHomePhabricator

[services] Lib - Tunnelbroker - Use scripts
ClosedPublic

Authored by karol on May 10 2022, 4:26 AM.
Tags
None
Referenced Files
F3536222: D3988.id12490.diff
Wed, Dec 25, 5:49 PM
F3531133: D3988.diff
Wed, Dec 25, 6:11 AM
Unknown Object (File)
Thu, Dec 19, 11:55 PM
Unknown Object (File)
Thu, Dec 19, 11:55 PM
Unknown Object (File)
Thu, Dec 19, 11:55 PM
Unknown Object (File)
Thu, Dec 19, 11:50 PM
Unknown Object (File)
Sat, Nov 30, 2:36 AM
Unknown Object (File)
Nov 14 2024, 9:09 AM

Details

Summary

Depends on D3987

Removing as many scripts as possible from the tunnelbroker directory and using the ones from the "lib" directory instead.

Test Plan

You should be able to build tunnelbroker properly

cd services
yarn run-tunnelbroker-service

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, max.

That makes sense to me to make the directory structure more clear. Thanks @karol-bisztyga !

This revision is now accepted and ready to land.May 10 2022, 10:53 PM
services/tunnelbroker/Dockerfile
31 ↗(On Diff #12569)

This seems like a mistake – it is running run_service.sh in both conditions. Either we should get rid of the conditional, or (most likely) it is supposed to call run_tests.sh in the other case

PS – we prefer [[ ]] to [ ], would be great to update this

services/tunnelbroker/Dockerfile
31 ↗(On Diff #12569)

Nice catch.

D4052

[[ ]] doesn't work