zuul-jobs/roles/upload-logs-swift
Dmitriy Rabotyagov fa2cbeaae2 Fix handling of dangling symlink
There may be broken symlinks within the log directories, those fail with
an error when os.stat() is executed on them. So if/else is replaced with
try/except while TypeError used to catch when self.full_path is None

Change-Id: Iffee97760a39fa4f7760bd67fb63c5f0905064bd
2019-08-26 22:28:14 +03:00
..
defaults upload-logs-swift: option for disabling the indexer 2019-06-05 17:08:59 +02:00
library Fix handling of dangling symlink 2019-08-26 22:28:14 +03:00
tasks Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
README.rst upload-logs-swift: option for disabling the indexer 2019-06-05 17:08:59 +02:00

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.