diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-01-31 15:06:13 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-02-22 10:56:43 +0300 |
commit | 50724f02aea2e4f83a4c8f7f428e6eddf59a50bb (patch) | |
tree | f20df576a5b641bfe2223699844e28781082968c /.gitignore | |
parent | 55e68d94f48a38daaa1d74d86552849ff8404d68 (diff) |
Create Praefect command
By introducting a new command, the pass through proxy gets an execution
path. To allow for manual testing, but also for, probably more
important; getting started with integrating into the GitLab
architecture.
For logging we default to logrus, but these aren't structured yet. Which
should be improved later.
Config is added too, by parsing a TOML file. The path to this file is
passed as first argument to the praefect binary. The output is JSON by
default and not yet configurable.
OS signals are handled too, and allow for a Shutdown of the server.
The basic observability was added too, but on the proxy layer this will
not yield too much, other than tracing.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 0c41b8995..aad38fa85 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ *.socket git-env /gitaly-debug +/praefect |