Add no_log to all log upload tasks

Some log upload tasks were missing no_log instructions and might
write out credentials to the job-output.json file.  Update these
tasks to include no_log.

Change-Id: I1f18cec117d9205945644ce19d5584f5d676e8d8
This commit is contained in:
James E. Blair 2022-11-16 09:11:12 -08:00
parent b80a0ff3e2
commit 622baa65bf
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
- name: Upload logs to Google Cloud Storage
delegate_to: localhost
no_log: true
zuul_google_storage_upload:
partition: "{{ zuul_log_partition }}"
container: "{{ zuul_log_container }}"

View File

@ -23,6 +23,7 @@
- name: Upload logs to S3
delegate_to: "{{ _undocumented_test_worker_node_ | default('localhost') }}"
no_log: true
zuul_s3_upload:
endpoint: "{{ upload_logs_s3_endpoint | default(omit) }}"
partition: "{{ zuul_log_partition }}"

View File

@ -19,6 +19,7 @@
- name: Upload logs to swift
delegate_to: localhost
no_log: true
zuul_swift_upload:
cloud: "{{ zuul_log_cloud_config }}"
partition: "{{ zuul_log_partition }}"