Explorar o código

[stl validation] apply rack constraints

dmendoza %!s(int64=7) %!d(string=hai) anos
pai
achega
cea13e3af7

+ 8 - 0
crss-settlement-task-validation/crss-settlement-task-validation-dev2.yml

@@ -46,6 +46,8 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10119/v1
           memory: 2048
           cpu: 0.5
+          # apply monthly constraints here
+          constraints:
     task:
       initialize:
         enable: false
@@ -74,3 +76,9 @@ logging:
     com.netflix: DEBUG
     org.springframework.cloud: DEBUG
     org.hibernate.stat: DEBUG
+
+---
+spring:
+  profiles: dailyStlValidation
+  cloud.deployer.mesos.chronos.constraints:
+---

+ 5 - 9
crss-settlement-task-validation/crss-settlement-task-validation-pemc-dev.yml

@@ -45,7 +45,8 @@ spring:
         chronos:
           memory: 2048
           cpu: 0.5
-#          constraints: rack,EQUALS,rack-1
+          # apply monthly constraints here
+          constraints:
     task:
       initialize:
         enable: false
@@ -77,12 +78,7 @@ logging:
 
 ---
 spring:
-  profiles: monthlyPrelimStlValidation
-  cloud:
-      deployer:
-        mesos:
-          chronos:
-            memory: 1024
-            cpu: 0.5
-            constraints: rack,EQUALS,rack-1
+  profiles: dailyStlValidation
+  #test constraints only
+  cloud.deployer.mesos.chronos.constraints: rack,EQUALS,rack-1
 ---

+ 8 - 0
crss-settlement-task-validation/crss-settlement-task-validation.yml

@@ -80,6 +80,8 @@ spring:
           apiEndpoint: http://master.mesos/service/chronos/v1
           memory: 8192
           cpu: 1
+          # apply monthly constraints here
+          constraints:
         dcos:
           authorizationToken: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkY29zX2hpc3Rvcnlfc2VydmljZSIsImV4cCI6NDY1NTE3ODM0OX0.erK7saZPxkEOP6k1S8CNvITHQ1SyEUj1cW5qx4GTQU-MPOwxMsFAcFYO0zAthXPYQSzaRxykTelkLMJTsSQVro9bGJcHua7SedIqCmq1TvAUBSJugyxsDxu07mmS-Yh7MwpmG3LAOItwCYzWhihMqdLKRA19iimAs8xS6V5uKo5U5Fq1lOAQ0ye4f4L9CgF8WWyIqILdpynLRIx_eViY5RWtqYznV8otg0jkJGsjHQQmPZa732NY0crJtDcN713wVqT4SZoG993-Zv4mH_RU0a7NbwtvFE1mCfmja1aMp_gtogdS3xdQvRcS1BzaoJs4_dGUvRoQdUeseuTbHkF6VQ
 
@@ -105,3 +107,9 @@ logging:
     com.netflix: DEBUG
     org.springframework.cloud: DEBUG
     org.hibernate.stat: debug
+
+---
+spring:
+  profiles: dailyStlValidation
+  cloud.deployer.mesos.chronos.constraints:
+---