diff options
author | Yusuf Özer <realsby@gmail.com> | 2016-09-19 03:12:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 03:12:40 +0300 |
commit | 7ed290d2b88685855ed86943fcae0469a231dced (patch) | |
tree | 2e2cd7d6b1ddcbe84e8e4816af4170b73b4242ee /gitautodeploy/cli/config.py | |
parent | e9ef0f56dc9e5f90a962a742dc7a215932c11b8e (diff) | |
download | Git-Auto-Deploy-7ed290d2b88685855ed86943fcae0469a231dced.zip Git-Auto-Deploy-7ed290d2b88685855ed86943fcae0469a231dced.tar.gz Git-Auto-Deploy-7ed290d2b88685855ed86943fcae0469a231dced.tar.bz2 |
Default value detailed-response should be False
It was so hard to realize why auto-deploy works again and again until I read Gitlab WebHook documantation tips:
"Your endpoint should send its HTTP response as fast as possible." and find this config here.
Gitlab WebHook documantation :
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md
Diffstat (limited to 'gitautodeploy/cli/config.py')
-rw-r--r-- | gitautodeploy/cli/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitautodeploy/cli/config.py b/gitautodeploy/cli/config.py index b23135f..e5e68eb 100644 --- a/gitautodeploy/cli/config.py +++ b/gitautodeploy/cli/config.py @@ -21,7 +21,7 @@ def get_config_defaults(): # Include details with deploy command return codes in HTTP response. Causes # to await any git pull or deploy command actions before it sends the # response. - config['detailed-response'] = True + config['detailed-response'] = False # Log incoming webhook requests in a way they can be used as test cases config['log-test-case'] = False @@ -332,4 +332,4 @@ def get_repo_config_from_environment(): if 'GAD_REPO_DEPLOY' in os.environ: repo_config['deploy'] = os.environ['GAD_REPO_DEPLOY'] - return repo_config
\ No newline at end of file + return repo_config |