Skip to content

Commit

Permalink
Adding the latest java image ubi8/openjdk-11 on ocp 4.6 version as su…
Browse files Browse the repository at this point in the history
…pported
  • Loading branch information
prietyc123 committed Nov 9, 2020
1 parent 30d9478 commit 739e97b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/catalog/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var supportedImages = map[string]bool{
"redhat-openjdk-18/openjdk18-openshift:latest": true,
"openjdk/openjdk-11-rhel8:latest": true,
"openjdk/openjdk-11-rhel7:latest": true,
"ubi8/openjdk-11:latest": true,
"centos/nodejs-10-centos7:latest": true,
"centos/nodejs-12-centos7:latest": true,
"rhscl/nodejs-10-rhel7:latest": true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/configure-installer-tests-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export KUBECONFIG=$ORIGINAL_KUBECONFIG
USERS="developer odonoprojectattemptscreate odosingleprojectattemptscreate odologinnoproject odologinsingleproject1"

# list of namespace to create
IMAGE_TEST_NAMESPACES="openjdk-11-rhel8 nodejs-12-rhel7 nodejs-12"
IMAGE_TEST_NAMESPACES="openjdk-11-rhel8 nodejs-12-rhel7 nodejs-12 openjdk-11"

# Attempt resolution of kubeadmin, only if a CI is not set
if [ -z $CI ]; then
Expand Down
5 changes: 5 additions & 0 deletions tests/e2escenarios/e2e_images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ var _ = Describe("odo supported images e2e tests", func() {
oc.ImportImageFromRegistry("registry.redhat.io", filepath.Join("ubi8", "nodejs-12:latest"), "nodejs:latest", "nodejs-12")
verifySupportedImage(filepath.Join("ubi8", "nodejs-12:latest"), "nodejs", "nodejs:latest", "nodejs-12", appName, commonVar.Context)
})

It("Should be able to verify the openjdk-11 image", func() {
oc.ImportImageFromRegistry("registry.redhat.io", filepath.Join("ubi8", "openjdk-11:latest"), "java:8", "openjdk-11")
verifySupportedImage(filepath.Join("ubi8", "openjdk-11:latest"), "openjdk", "java:8", "openjdk-11", appName, commonVar.Context)
})
})

})

0 comments on commit 739e97b

Please sign in to comment.