fix: upload internal tenant logs correctly
This is a tentative fix for the issue which consists in that logs from
the internal tenant are not uploaded correctly to the logs server.
Change-Id: Id76b8cca2d2a2abdb68129ab95706746270d43b5
diff --git a/playbooks/base/post-logs.yaml b/playbooks/base/post-logs.yaml
index 2b26bbe..288ce5b 100644
--- a/playbooks/base/post-logs.yaml
+++ b/playbooks/base/post-logs.yaml
@@ -3,5 +3,6 @@
roles:
- generate-zuul-manifest
- role: upload-logs
- 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' }}"
+ vars:
+ 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' }}"