Add PublicCd aws-us-east-1c prod, test and staging to JobType
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.deployment;
-import com.google.common.collect.ImmutableMap;
import com.yahoo.config.provision.Environment;
import com.yahoo.config.provision.RegionName;
import com.yahoo.config.provision.SystemName;
@@ -13,6 +12,7 @@ import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
+import static com.yahoo.config.provision.SystemName.PublicCd;
import static com.yahoo.config.provision.SystemName.cd;
import static com.yahoo.config.provision.SystemName.main;
import static com.yahoo.config.provision.SystemName.vaas;
@@ -25,11 +25,13 @@ public enum JobType {
systemTest ("system-test",
Map.of(main , ZoneId.from("test", "us-east-1"),
- cd , ZoneId.from("test" , "cd-us-central-1"))),
+ cd , ZoneId.from("test", "cd-us-central-1"),
+ PublicCd, ZoneId.from("test", "aws-us-east-1c"))),
stagingTest ("staging-test",
Map.of(main , ZoneId.from("staging", "us-east-3"),
- cd , ZoneId.from("staging", "cd-us-central-1"))),
+ cd , ZoneId.from("staging", "cd-us-central-1"),
+ PublicCd, ZoneId.from("staging", "aws-us-east-1c"))),
productionUsEast3 ("production-us-east-3",
Map.of(main, ZoneId.from("prod" , "us-east-3"))),
@@ -55,6 +57,9 @@ public enum JobType {
productionAwsUsEast1a ("production-aws-us-east-1a",
Map.of(main, ZoneId.from("prod" , "aws-us-east-1a"))),
+ productionAwsUsEast1c ("production-aws-us-east-1c",
+ Map.of(PublicCd, ZoneId.from("prod", "aws-us-east-1c"))),
+
productionAwsUsWest2a ("production-aws-us-west-2a",
Map.of(main, ZoneId.from("prod" , "aws-us-west-2a"))),
