-
Notifications
You must be signed in to change notification settings - Fork 60
graph-builder: add support for configuration file #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-robot
merged 6 commits into
openshift:master
from
lucab:ups/config-toml
Apr 10, 2019
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
728eea2
cargo: add toml and smart-default
lucab 09c5534
cargo: refresh lockfile
lucab 517af6e
graph-builder: add support for configuration file
lucab 3ca9f21
dist: update graph-builder CLI options
lucab 995ebef
dist: add graph-builder status config
lucab 44a5a3b
docs: document graph-builder configuration file
lucab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Graph-builder configuration | ||
|
|
||
| Graph-builder can be configured via TOML files and command-line options, with the latter having higher priority. | ||
|
|
||
| ## TOML options | ||
|
|
||
| TOML configuration currently supports the following sections and options: | ||
|
|
||
| - `verbosity` (unsigned integer): log verbosity level, from 0 (errors and warnings only) to 3 (all trace messages). Default: 0. | ||
| - `service` (section): configuration options related to the main HTTP Cincinnati service. | ||
| - `address` (string): local IP for the main service. Default: "127.0.0.1". | ||
| - `mandatory_client_parameters` (list of strings): Cincinnati query parameters that must be present in client requests. Default: empty. | ||
| - `path_prefix` (string): namespace prefix for all API endpoints. Default: "". | ||
| - `port` (unsigned integer): local port for the main service. Default: 8080. | ||
| - `status` (section): configuration options related to the HTTP status service. | ||
| - `address` (string): local IP for the status service. Default: "127.0.0.1". | ||
| - `port` (unsigned integer): local port for the status service. Default: 9080. | ||
| - `upstream` (section): configuration options related to upstream release-data provider. | ||
| - `method` (string): upstream provider selector. Allowed values: "registry". Default: "registry". | ||
| - `registry` (section): configuration for Docker-v2 registry provider. | ||
| - `credentials_path` (string): path to file containing registry credentials, in "dockercfg" format. Default: unset. | ||
| - `manifestref_key` (string): metadata key where to record the manifest-reference. Default: "com.openshift.upgrades.graph.release.manifestref". | ||
| - `pause_secs` (unsigned integer): pause between repository scrapes, in seconds. Default: 30. | ||
| - `repository` (string): target image in the registry. Default: "openshift". | ||
| - `url` (string): URL for the registry. Default: "http://localhost:5000". | ||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.