diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-11-29 14:34:32 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-11-29 14:34:32 +0100 |
commit | ef5db6ec9efb840235504bd625d3ce6cab145e48 (patch) | |
tree | 1460e9d68c7286840a9a3733389cc48488d63d06 /config-model/src/main/resources/schema | |
parent | c5c7779783626c035d65334716b353a15b5d4c6f (diff) |
Update deployment.rnc
Diffstat (limited to 'config-model/src/main/resources/schema')
-rw-r--r-- | config-model/src/main/resources/schema/deployment.rnc | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc index 1e1d9ad3aa9..903d2440adf 100644 --- a/config-model/src/main/resources/schema/deployment.rnc +++ b/config-model/src/main/resources/schema/deployment.rnc @@ -25,6 +25,11 @@ StepExceptInstance = Staging? & Prod* +PrimitiveStep = + Delay* & + Region* & + ProdTest* + Instance = element instance { attribute id { xsd:string } & attribute athenz-domain { xsd:string }? & @@ -32,8 +37,14 @@ Instance = element instance { StepExceptInstance } -ParallelRegions = element parallel { - Region* +ParallelSteps = element parallel { + SerialSteps* & + PrimitiveStep* +} + +SerialSteps = element steps { + ParallelSteps* & + PrimitiveStep* } ParallelInstances = element parallel { @@ -81,7 +92,12 @@ Prod = element prod { attribute tester-flavor { xsd:string }? & Region* & Delay* & - ParallelRegions* + ProdTest* & + ParallelSteps* +} + +ProdTest = element test { + text } Region = element region { |