aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/assets/perftest/common/git_proxy_pbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/assets/perftest/common/git_proxy_pbook.yaml')
-rw-r--r--legacy/assets/perftest/common/git_proxy_pbook.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/legacy/assets/perftest/common/git_proxy_pbook.yaml b/legacy/assets/perftest/common/git_proxy_pbook.yaml
new file mode 100644
index 00000000..5cb6f450
--- /dev/null
+++ b/legacy/assets/perftest/common/git_proxy_pbook.yaml
@@ -0,0 +1,11 @@
+#git
+- name: set git proxy(http)
+ shell: "git config --global http.proxy {{ http_proxy }}"
+ when: http_proxy is defined
+ ignore_errors: yes
+
+- name: set git proxy(https)
+ shell: "git config --global https.proxy {{https_proxy}}"
+ when: https_proxy is defined
+ ignore_errors: yes
+