summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-10-11 13:35:06 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-10-11 13:35:06 +0200
commit138b462ab7b56ab2acf53959533a472ea187be76 (patch)
tree8ec339dd6a1077647d08b367fea8f1e517b631e2 /config-model
parentfc7e562c164665378e7f64212f30d8225eb48312 (diff)
Enforce order of block-change
Enforce that the block-change tag is placed after any test and staging tag and before the prod tag. This is in case we want to allow multiple block points in the future (perhaps to block rolling out to the next instance when having multiple instances) such that the placement becomes significant.
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/test/schema-test-files/deployment.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/schema-test-files/deployment.xml b/config-model/src/test/schema-test-files/deployment.xml
index 1b2a61e1a7a..0b47903ae39 100644
--- a/config-model/src/test/schema-test-files/deployment.xml
+++ b/config-model/src/test/schema-test-files/deployment.xml
@@ -1,10 +1,10 @@
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<deployment version='1.0'>
<upgrade policy='canary'/>
- <block-change revision='true' version='false' days="mon,tue" hours="14,15"/>
- <block-change days="mon,tue" hours="14,15" time-zone="CET"/>
<test/>
<staging/>
+ <block-change revision='true' version='false' days="mon,tue" hours="14,15"/>
+ <block-change days="mon,tue" hours="14,15" time-zone="CET"/>
<prod global-service-id='qrs'>
<region active='true'>us-west-1</region>
<delay hours='3'/>