Remove job parameters from status.json

They don't have anything particularly sensitive now, but they might
in the future, and they can be quite large (thus making status.json
large).

Since the zuul client command uses the same data, remove the
parameters column from its output.

Change-Id: I681c576a25012a6fb0733f468778576d6003c088
This commit is contained in:
James E. Blair 2015-02-11 18:09:20 -08:00
parent 458970bb62
commit b0e8be618f
3 changed files with 0 additions and 5 deletions

View File

@ -3072,7 +3072,6 @@ For CI problems and help debugging, contact ci@example.org"""
self.assertEqual('project-merge', job['name'])
self.assertEqual('gate', job['pipeline'])
self.assertEqual(False, job['retry'])
self.assertEqual(13, len(job['parameters']))
self.assertEqual('https://server/job/project-merge/0/',
job['url'])
self.assertEqual(7, len(job['worker']))

View File

@ -232,9 +232,6 @@ class Client(zuul.cmd.ZuulApp):
'number': {
'title': 'Number'
},
'parameters': {
'title': 'Parameters'
},
'worker.name': {
'title': 'Worker'
},

View File

@ -780,7 +780,6 @@ class QueueItem(object):
'canceled': build.canceled if build else None,
'retry': build.retry if build else None,
'number': build.number if build else None,
'parameters': build.parameters if build else None,
'worker': worker
})