screwdriver-data-schema 21.10.2 → 21.14.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.
@@ -28,7 +28,9 @@ const SCHEMA_PIPELINE_SETTINGS = Joi.object()
28
28
  .keys({
29
29
  metricsDowntimeJobs: SCHEMA_METRICS_DOWNTIME_JOBS,
30
30
  metricsDowntimeStatuses: SCHEMA_METRICS_DOWNTIME_STATUSES,
31
- public: Joi.boolean()
31
+ public: Joi.boolean(),
32
+ groupedEvents: Joi.boolean().default(false),
33
+ showEventTriggers: Joi.boolean().default(false)
32
34
  })
33
35
  .default({});
34
36
 
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "21.10.2",
3
+ "version": "21.14.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "pretest": "eslint .",
8
8
  "test": "nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --reporter mocha-multi-reporters --reporter-options configFile=./mocha.config.json --recursive --timeout 4000 --retries 1 --exit --allow-uncaught true --color true",
9
- "semantic-release": "semantic-release pre && npm publish && semantic-release post"
9
+ "semantic-release": "./node_modules/.bin/semantic-release --debug"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git@github.com:screwdriver-cd/data-schema.git"
13
+ "url": "git+https://github.com/screwdriver-cd/data-schema.git"
14
14
  },
15
15
  "homepage": "https://github.com/screwdriver-cd/data-schema",
16
16
  "bugs": "https://github.com/screwdriver-cd/data-schema/issues",
@@ -33,10 +33,10 @@
33
33
  "Tiffany Kyi <tiffanykyi@gmail.com>"
34
34
  ],
35
35
  "release": {
36
- "debug": false,
37
- "verifyConditions": {
38
- "path": "./node_modules/semantic-release/src/lib/plugin-noop.js"
39
- }
36
+ "branches": [
37
+ "master"
38
+ ],
39
+ "debug": false
40
40
  },
41
41
  "devDependencies": {
42
42
  "chai": "^4.2.0",
@@ -57,4 +57,4 @@
57
57
  "cron-parser": "^2.18.0",
58
58
  "joi": "^17.4.2"
59
59
  }
60
- }
60
+ }
@@ -64,7 +64,12 @@ const SCHEMA_STOP = Joi.object()
64
64
  jobId,
65
65
  token: Joi.string().label('Build JWT'),
66
66
  pipelineId,
67
- provider: Job.provider
67
+ provider: Job.provider,
68
+ apiUri: Joi.string()
69
+ .uri()
70
+ .required()
71
+ .label('API URI'),
72
+ jobName
68
73
  })
69
74
  .unknown(true) // allow other fields
70
75
  .required();