screwdriver-data-schema 21.19.2 → 21.20.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.
@@ -43,8 +43,16 @@ const SCHEMA_PROVIDER = Joi.object().keys({
43
43
  region: Joi.string()
44
44
  .regex(Regex.REGION)
45
45
  .max(64)
46
- .description('Region')
46
+ .description('Region where service and build will run, build region can be overridden')
47
+ .default('us-west-2')
47
48
  .example('us-west-2'),
49
+ buildRegion: Joi.string()
50
+ .regex(Regex.REGION)
51
+ .max(64)
52
+ .description('Region where builds will run if different from service region')
53
+ .default('')
54
+ .example('us-east-2')
55
+ .optional(),
48
56
  accountId: Joi.alternatives()
49
57
  .try(
50
58
  Joi.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "21.19.2",
3
+ "version": "21.20.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {