forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68706: cli/demo: make `demo` recognize `--listening-url-file` r=otan a=knz Informs cockroachdb#68437. When building automation, it is useful to start a `demo` cluster in such a way that another command can subsequently connect without manual steps. Prior to this patch, this was not possible, as the connection credentials would only be displayed in the informational messages. This patch fixes it. Release note (cli change): `cockroach demo` now recognizes the command-line flag `--listening-url-file` like `start` and `start-single-node`. When specified, the `demo` utility will write a valid connection URL to that file after the test cluster has been initialized. This facility also makes it possible to automatically wait until the demo cluster has been initialized in automation, for example by passing the name of a unix named FIFO via the new flag. Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 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
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