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:
parent
458970bb62
commit
b0e8be618f
@ -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']))
|
||||
|
@ -232,9 +232,6 @@ class Client(zuul.cmd.ZuulApp):
|
||||
'number': {
|
||||
'title': 'Number'
|
||||
},
|
||||
'parameters': {
|
||||
'title': 'Parameters'
|
||||
},
|
||||
'worker.name': {
|
||||
'title': 'Worker'
|
||||
},
|
||||
|
@ -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
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user