Commit Graph

8 Commits

Author SHA1 Message Date
Paul Belanger 550e5da4b4 Allow upload-logs to toggle compression of console logs
We should make it easy for users to view console logs by default.
Today, we compress and upload logs and by default apache / nginx will
not properly display them as plain text.  This commit changes the
default to not compress, but allows more advanced users to enable this
logic.  As mostly likley it also means additional configuration for
your web server.

Change-Id: Ic446db4f85e2098db8fa4568f8c5140ba564e931
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-09-20 17:03:58 +00:00
Clark Boylan fd2b753088 Add build shard log path docs to upload-logs(-swift)
The upload logs roles can make use of the build logs sharding via their
calls into set-zuul-log-path-fact. Document this.

Change-Id: Ia57fc6a47227657f9fac70074e453cf8d4c16c26
2019-09-05 15:27:18 +00:00
James E. Blair 2ef4caed78 Document upload-logs reliance on add-fileserver
Change-Id: I0e12756e1f2a876e4f44678d61d64010bee33311
2019-01-22 14:41:11 -08:00
James E. Blair b1a039970a Add a flag to disable no_log on upload-logs
So that it is possible to debug this role, add a flag which disables
setting no_log on the synchronize task.

Change-Id: Ie433ada5ff6cb15b68f19e8678244af9ce9faa13
Depends-On: https://review.openstack.org/556881
2018-03-27 09:17:18 -07:00
Monty Taylor 3d02630d1b
Add flag for turning off successful job logs
As a relief valve for times of storage pressure on the receiving end,
add a flag that can be set to skip log uploads for sucessful jobs.

It uses the same logic as emit-ara-html.

zuul_site_upload_logs == true (the default) will always upload logs
zuul_site_upload_logs == false will never upload logs
zuul_site_upload_logs == 'failure' will only upload failure logs

Setting this variable should be done in site variables.

Change-Id: I2a55730976520b75dcc98f86f34b7929f9243e62
2018-01-25 12:46:01 -06:00
Monty Taylor 674e7347e4
Add zuul_return call into upload-logs role
We can pass in the fileserver, but if you're using upload-logs, you're
going to need it to return data, so move this functionality into the
role.

Change-Id: I987b1060acd3e6d96519010673fd21eba781f162
2017-08-18 19:21:39 -05:00
James E. Blair 912f976155 Use new sphinx roles in docs
Change-Id: I92ce6b2f137f5dcb6fdee70c101c6b9d8ad5eb11
Depends-On: I9d72d11bfdb700037a6a08f92a2dbfa95ee519ad
2017-08-11 15:10:40 -07:00
James E. Blair cfffd4431b Move some base job roles from openstack-zuul-roles
Change-Id: I7ac8d2335518c06808461f2fb30ea896709f09ed
2017-07-13 15:13:41 -07:00