screwdriver-data-schema 25.9.0 → 25.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/loglines.js CHANGED
@@ -22,7 +22,14 @@ const SCHEMA_QUERY = Joi.object()
22
22
  type: Joi.string()
23
23
  .valid('download', 'preview')
24
24
  .default('preview')
25
- .label('Flag to trigger type either to download or preview')
25
+ .label('Flag to trigger type either to download or preview'),
26
+ timestamp: Joi.boolean().optional().default(false).description('Enable timestamp in logs'),
27
+ timestampFormat: Joi.string()
28
+ .valid('full-time', 'simple-time', 'elapsed-build', 'elapsed-step')
29
+ .optional()
30
+ .default('full-time')
31
+ .description('Timestamp format at the head of the log'),
32
+ timezone: Joi.string().optional().default('UTC').description('Timezone of timestamp in logs')
26
33
  })
27
34
  .label('Query Parameters');
28
35
 
package/config/base.js CHANGED
@@ -69,7 +69,8 @@ const ALLOWED_JOB_FIELDS_WITH_PIPELINE_TEMPLATE = Joi.object().keys({
69
69
  image: Job.image,
70
70
  environment: Job.environment,
71
71
  settings: Job.settings,
72
- requires: Job.requires
72
+ requires: Job.requires,
73
+ sourcePaths: Job.sourcePaths
73
74
  });
74
75
 
75
76
  const SCHEMA_CONFIG_PRE_TEMPLATE_MERGE = Joi.object()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "25.9.0",
3
+ "version": "25.11.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {