zuul-jobs/roles/test-upload-logs-swift
Felix Edel 2f8439148a
Return upload_results in test-upload-logs-swift role
This will only change the test role and can be used for validation.

We are facing some issues where the log upload to swift fails, but the
role is always succeeding. To get some more information about the
upload failures, we let the upload() method return those to the Ansible
module and provide them in the module's JSON result.

Change-Id: Ic54b877cd5ea58031e21e514eb3a7c50ea735795
2020-06-15 08:19:11 +02:00
..
defaults test-upload-logs-swift: revert download script 2020-03-30 12:32:02 +11:00
library Return upload_results in test-upload-logs-swift role 2020-06-15 08:19:11 +02:00
tasks Return upload_results in test-upload-logs-swift role 2020-06-15 08:19:11 +02:00
__init__.py Test role for upload-logs-swift 2019-10-11 11:32:11 -07:00
README.rst test-upload-logs-swift: revert download script 2020-03-30 12:32:02 +11:00

THIS IS FOR TESTING ONLY

Upload logs to a swift container

This uploads logs to an OpenStack Object Store (Swift) container.

Role Variables

Complex argument which contains the cloud configuration in os-cloud-config (clouds.yaml) format. It is expected that this argument comes from a Secret.