Yelp / nerve-tools

Tools for configuring SmartStack's Nerve based on local sources
Apache License 2.0
3 stars 12 forks source link

Call paasta_dump_locally_running_services and use the weight returned by that, … #96

Closed EvanKrall closed 2 years ago

EvanKrall commented 2 years ago

… instead of calculating weight here. This allows paasta to control weight.

Corresponding paasta PR: https://github.com/Yelp/paasta/pull/3450

As a side effect, this fixes the pytest tests, and gets us very close to removing paasta_tools as a python dependency. (Just need to check whether updown_service is used or not.)

EvanKrall commented 2 years ago

Hm, I'm going to need to either get paasta-tools installed in the nerve-tools itest container (but I don't think there's a publicly available debian repo with the paasta-tools package right now?), or create a fake paasta_dump_locally_running_services command for the itests...