screwdriver
screwdriver copied to clipboard
`templates.parameters` may be an unused property of the templates table.
What happened:
templates schema has parameters property.
However, this property is null even if the template has parameters.
id: 1687
config: {"image":"node:16","steps":[{"step_print_template_parameters":"echo templateParam = $(meta get parameters.templateParam)\necho templateParamP = $(meta get parameters.templateParamOverwrittenP)\necho templateParamJ = $(meta get parameters.templateParamOverwrittenJ)\n"}],"parameters":{"templateParam":{"value":["template1","template2"],"description":"template parameter"},"templateParamOverwrittenP":{"value":["templateOverwritten1","templateOverwritten2"],"description":"template overwritten parameter P"},"templateParamOverwrittenJ":{"value":["templateOverwritten8","templateOverwritten9"],"description":"template overwritten parameter J"}}}
namespace: foo
name: sample-job-parameters
version: 0.1.4
parameters: NULL
Template parameters data is included in the template.config, teplates.parameters property may be unnecessary.
What you expected to happen: Should not add unnecessary property to data-schema.
How to reproduce it:
@sagar1312