fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
187 stars 10 forks source link

Read JF_DIST_* env vars #205

Closed mickel8 closed 1 month ago

mickel8 commented 1 month ago

This PR adds reading old JF env vars related to distribution. This feature will be removed in version 0.8.0.

Besides this, I have also removed divo as it was using non-existing docker compose file, which means that we were not actively running tests with mix test.cluster.

Because of that, I also did a couple of renamings:

Acknowledging the stipulations set forth:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 87.51%. Comparing base (fadf344) to head (d695bfc).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #205 +/- ## ========================================== + Coverage 87.23% 87.51% +0.27% ========================================== Files 74 74 Lines 1536 1538 +2 ========================================== + Hits 1340 1346 +6 + Misses 196 192 -4 ``` | [Files](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev) | Coverage Δ | | |---|---|---| | [lib/fishjam/application.ex](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205?src=pr&el=tree&filepath=lib%2Ffishjam%2Fapplication.ex&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev#diff-bGliL2Zpc2hqYW0vYXBwbGljYXRpb24uZXg=) | `48.64% <0.00%> (-2.78%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev). Last update [fadf344...d695bfc](https://app.codecov.io/gh/fishjam-dev/fishjam/pull/205?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fishjam-dev).