-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker.yml
: run demo script in CI (#1126)
Add steps to the `compose` job in `docker.yml` that run the demo script from `cli/README.md` against a Docker Compose deployment to ensure that it works. Perhaps unsurprisingly, adding a test for this revealed a couple of bugs, which are also addressed in this change: - The task discovery interval and task creation intervals were poorly tuned - The leader was trying to reach the helper at `localhost:9002`, which is not routable inside of the Docker Compose network. So we run `nc` alongside the leader's Janus processes so that connections to `localhost:9002` get redirected to `janus_2_aggregator:8080`, which is routable inside Docker Compose.
- Loading branch information
1 parent
291829d
commit 3251d15
Showing
2 changed files
with
91 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters