test: extend deploy json drift contract to decision center
This commit is contained in:
@@ -1396,7 +1396,7 @@ function deployRefFor(options: ArtifactRegistryOptions, spec: ArtifactConsumerSp
|
||||
function deployJsonServiceForOptions(options: ArtifactRegistryOptions, spec: ArtifactConsumerSpec, environment: ArtifactDeployEnvironment): DeployJsonServiceContract | null {
|
||||
if (!options.dryRun) return null;
|
||||
if (options.deployJsonService !== null) return options.deployJsonService;
|
||||
if (environment === "dev" && spec.serviceId === "mdtodo") {
|
||||
if (environment === "dev" && (spec.serviceId === "decision-center" || spec.serviceId === "mdtodo")) {
|
||||
return readDeployJsonServiceContractFromFile(environment, spec.serviceId);
|
||||
}
|
||||
return null;
|
||||
@@ -1444,6 +1444,9 @@ function artifactRegistryDeployJsonMirrors(
|
||||
containerPort: target.k3s.servicePort,
|
||||
servicePort: target.k3s.servicePort,
|
||||
healthPath: target.k3s.healthPath,
|
||||
health: options.deployJsonService?.runtime?.health === undefined ? undefined : {
|
||||
deployMetadataRequired: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user