feat(base): store logs in internal server for internal tenant jobs
Change-Id: I8d529e1ff8dcb5675b8fb62202d19a164aa14344
diff --git a/playbooks/base/post-logs.yaml b/playbooks/base/post-logs.yaml
index 0f3779c..2b26bbe 100644
--- a/playbooks/base/post-logs.yaml
+++ b/playbooks/base/post-logs.yaml
@@ -3,4 +3,5 @@
roles:
- generate-zuul-manifest
- role: upload-logs
- zuul_log_url: "https://zuul-logs.corp.avm99963.com"
+ zuul_log_url: "{{ 'https://zuul-logs-internal.internal.avm99963.com' if zuul.tenant == 'internal' else 'https://zuul-logs.corp.avm99963.com' }}"
+ zuul_logserver_root: "{{ '/srv/static/logs-internal' if zuul.tenant == 'internal' else '/srv/static/logs' }}"