Page MenuHomePhabricator

[services] Lib - Tunnelbroker - Use scripts
ClosedPublic

Authored by karol on May 10 2022, 4:26 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 27 2024, 5:58 AM
Unknown Object (File)
Oct 22 2024, 9:46 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
Lint Not Applicable
Unit
Tests Not Applicable

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

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

Nice catch.

D4052

[[ ]] doesn't work