Skip to content

Commit f7539c4

Browse files
committed
Merge branch 'mii-upgrade' into 'main'
Modify the tag for welogic 14.1.2.0.0 image See merge request weblogic-cloud/weblogic-kubernetes-operator!4651
2 parents 875dcad + a33c974 commit f7539c4

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiDomainUpgradeToSecureMode.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ class ItMiiDomainUpgradeToSecureMode {
130130
String clusterIngressHost;
131131
private final String imageTag1411 = "14.1.1.0-11";
132132
private final String imageTag12214 = "12.2.1.4";
133-
private final String image1412 = "wls-docker-dev-local.dockerhub-phx.oci.oraclecorp.com/weblogic:14.1.2.0.0";
133+
private final String imageTag1412 = "14.1.2.0.0-jdk17";
134+
private final String image1412 = BASE_IMAGES_PREFIX + WEBLOGIC_IMAGE_NAME_DEFAULT + ":" + imageTag1412;
134135
private final String sampleAppUri = "/sample-war/index.jsp";
135136
private final String adminAppUri = "/management/tenant-monitoring/servers";
136137
private final String adminAppText = "RUNNING";

integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/CommonTestUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ public static String getKindRepoValue(String propertyName) {
20472047

20482048
/**
20492049
* Given a repo and tenancy name, determine the prefix length. For example,
2050-
* phx.ocir.io/foobar/test-images/myimage will treat phx.ocir.io/foobar/ as
2050+
* cloud.io/foobar/test-images/myimage will treat cloud.io/foobar/ as
20512051
* the prefix so the length is 19.
20522052
*
20532053
* @param baseRepo base repo name
@@ -2465,4 +2465,4 @@ public static void createIngressPathRouting(String namespace, String path,
24652465
getLogger().info("ingress {0} was created in namespace {1}", ingressName, namespace);
24662466
}
24672467

2468-
}
2468+
}

integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/IstioUtils.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
import oracle.weblogic.kubernetes.utils.SemanticVersion.Compatibility;
2929

3030
import static oracle.weblogic.kubernetes.TestConstants.ARM;
31+
import static oracle.weblogic.kubernetes.TestConstants.BASE_IMAGES_REPO;
32+
import static oracle.weblogic.kubernetes.TestConstants.BASE_IMAGES_TENANCY;
3133
import static oracle.weblogic.kubernetes.TestConstants.DOMAIN_API_VERSION;
3234
import static oracle.weblogic.kubernetes.TestConstants.FAILURE_RETRY_INTERVAL_SECONDS;
3335
import static oracle.weblogic.kubernetes.TestConstants.FAILURE_RETRY_LIMIT_MINUTES;
@@ -89,11 +91,12 @@ public static void installIstio() {
8991
Path istioInstallPath =
9092
Paths.get(RESULTS_ROOT, "install-istio.sh");
9193
String installScript = istioInstallPath.toString();
92-
93-
// When install istio in OCNE environment, use phx.ocir.io/devweblogic/istio-release instead of gcr.io/istio-release
94+
String ocneIstioRepo = BASE_IMAGES_REPO + "/" + BASE_IMAGES_TENANCY;
95+
// When install istio in OCNE environment,
96+
// use BASE_IMAGES_REPO/devweblogic/istio-release instead of gcr.io/istio-release
9497
if (OCNE) {
95-
logger.info("replace istio installation hub in File {0}", installScript);
96-
assertDoesNotThrow(() -> replaceStringInFile(installScript, "gcr.io", "phx.ocir.io/devweblogic"),
98+
logger.info("replace istio installation hub in File {0}", ocneIstioRepo);
99+
assertDoesNotThrow(() -> replaceStringInFile(installScript, "gcr.io", ocneIstioRepo),
97100
String.format("Failed to replace string in File %s", installScript));
98101
}
99102
String arch = "linux-amd64";

0 commit comments

Comments
 (0)