summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/cli/config.py
diff options
context:
space:
mode:
authorYusuf Özer <realsby@gmail.com>2016-09-19 03:12:40 +0300
committerGitHub <noreply@github.com>2016-09-19 03:12:40 +0300
commit7ed290d2b88685855ed86943fcae0469a231dced (patch)
tree2e2cd7d6b1ddcbe84e8e4816af4170b73b4242ee /gitautodeploy/cli/config.py
parente9ef0f56dc9e5f90a962a742dc7a215932c11b8e (diff)
downloadGit-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.py4
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