Correct arguments to log upload
The "public" argument doesn't exist for this role, but
credentials_file does.
Change-Id: Ic61ae387abcae46b759c48f4e155b3039d0d433c
diff --git a/playbooks/base-test/post-logs.yaml b/playbooks/base-test/post-logs.yaml
index 064c4f4..9db7a21 100644
--- a/playbooks/base-test/post-logs.yaml
+++ b/playbooks/base-test/post-logs.yaml
@@ -3,4 +3,4 @@
- generate-zuul-manifest
- role: upload-logs-gcs
zuul_log_container: gerrit_zuul_logs
- zuul_log_credential_file: /authdaemon/token
+ zuul_log_credentials_file: /authdaemon/token
diff --git a/playbooks/base/post-logs.yaml b/playbooks/base/post-logs.yaml
index 064c4f4..9db7a21 100644
--- a/playbooks/base/post-logs.yaml
+++ b/playbooks/base/post-logs.yaml
@@ -3,4 +3,4 @@
- generate-zuul-manifest
- role: upload-logs-gcs
zuul_log_container: gerrit_zuul_logs
- zuul_log_credential_file: /authdaemon/token
+ zuul_log_credentials_file: /authdaemon/token
diff --git a/roles/upload-logs-gcs/tasks/main.yaml b/roles/upload-logs-gcs/tasks/main.yaml
index a175913..53746e9 100644
--- a/roles/upload-logs-gcs/tasks/main.yaml
+++ b/roles/upload-logs-gcs/tasks/main.yaml
@@ -21,9 +21,9 @@
zuul_google_storage_upload:
partition: "{{ zuul_log_partition }}"
container: "{{ zuul_log_container }}"
- public: "{{ zuul_log_container_public }}"
prefix: "{{ zuul_log_path }}"
indexes: "{{ zuul_log_create_indexes }}"
+ credentials_file: "{{ zuul_log_credentials_file }}"
files:
- "{{ zuul.executor.log_root }}/"
register: upload_results