...
|
...
|
@@ -133,17 +133,6 @@ public class NodeBuildCtrl { |
|
|
rtnResponse.setMessage("az1区域只能发布master分支");
|
|
|
return rtnResponse;
|
|
|
}
|
|
|
|
|
|
//az1-az2
|
|
|
if(environment.contains("az2")){
|
|
|
if(az2InGray){
|
|
|
if(checkGrayResponse.getData()){
|
|
|
rtnResponse.setCode(201);
|
|
|
rtnResponse.setMessage("az2灰度已经启用了, 不允许发布 az1+az2");
|
|
|
return rtnResponse;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
//单独发布az2,环境可能还有aws等(其它不需要校验的项目)
|
|
|
if(environment.contains("az2")){
|
...
|
...
|
|