aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-10-07 14:56:05 +0200
committerJon Bratseth <bratseth@verizonmedia.com>2019-10-07 14:56:05 +0200
commitc2822a9c4833c8a0df05b4ac67a62576a8e3b8fc (patch)
tree09fbfb3876a0f365cc2a3381d9001610c4c7a655 /config-model/src/test/schema-test-files
parenta00fa480898a96e48f0604199a421922d0bcb7d5 (diff)
Allow deployment instances
Diffstat (limited to 'config-model/src/test/schema-test-files')
-rw-r--r--config-model/src/test/schema-test-files/deployment-with-instances.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/config-model/src/test/schema-test-files/deployment-with-instances.xml b/config-model/src/test/schema-test-files/deployment-with-instances.xml
new file mode 100644
index 00000000000..e23404df093
--- /dev/null
+++ b/config-model/src/test/schema-test-files/deployment-with-instances.xml
@@ -0,0 +1,54 @@
+<!-- Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<deployment version='1.0' major-version='6' athenz-domain='vespa' athenz-service='service'>
+ <upgrade policy='canary'/>
+
+ <test/>
+ <staging/>
+
+ <block-change revision='true' version='false' days="mon,tue" hours="14,15"/>
+
+ <instance id="one,two">
+ <block-change days="mon,tue" hours="14,15" time-zone="CET"/>
+ <prod global-service-id='qrs' athenz-service='other-service'>
+ <region active='true'>us-west-1</region>
+ <delay hours='3'/>
+ <region active='true'>us-central-1</region>
+ <delay hours='3' minutes='7' seconds='13'/>
+ <region active='true'>us-east-3</region>
+ <parallel>
+ <region active='true'>us-north-1</region>
+ <region active='true'>us-south-1</region>
+ </parallel>
+ <parallel>
+ <region active='true'>us-north-2</region>
+ <region active='true'>us-south-2</region>
+ </parallel>
+ </prod>
+ <endpoints>
+ <endpoint id="foo" container-id="bar">
+ <region>us-east</region>
+ </endpoint>
+ <endpoint container-id="bar" />
+ </endpoints>
+ </instance>
+
+ <delay hours='2'/>
+
+ <parallel>
+ <instance id="three">
+ <test/>
+ <staging/>
+ </instance>
+ <instance id="four" athenz-service='four-service' athenz-domain='my-domain'>
+ <upgrade policy='conservative'/>
+ <block-change days="mon,tue,wed" hours="14,15"/>
+ <prod>
+ <region active='true'>us-central-1</region>
+ </prod>
+ <endpoints>
+ <endpoint container-id="barz" />
+ </endpoints>
+ </instance>
+ </parallel>
+
+</deployment>