Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23892

Difference in metadata for new EAP8 images and the older EAP7 ones

    XMLWordPrintable

Details

    Description

      when I provision empty app (pom.xml containing just provisioning plugin with cloud-default-config layer) I get these metadata values set for the resulting image:

      architecture=x86_64
      build-date=2022-07-12T11:07:39.465834
      com.redhat.build-host=cpt-1001.osbs.prod.upshift.rdu2.redhat.com
      com.redhat.component=jboss-eap8-beta-openjdk17-builder-openshift-container
      com.redhat.license_terms=https://www.redhat.com/agreements
      description=Red Hat JBoss Enterprise Application Platform 8.0 OpenShift container image.
      distribution-scope=private
      io.buildah.version=1.22.4
      io.cekit.version=4.2.0
      io.fabric8.s2i.version.maven=3.6
      io.k8s.description=Platform for building and running JavaEE applications on JBoss EAP 8
      io.k8s.display-name=JBoss EAP 8 S2I builder
      io.openshift.build.image=registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-8-tech-preview-eap8-openjdk17-builder-openshift-rhel8:jb-eap-8.0-rhel-8-containers-candidate-24924-20220712110721
      io.openshift.build.source-location=/tmp/build/inputs
      io.openshift.expose-services=8080:http
      io.openshift.s2i.destination=/tmp
      io.openshift.s2i.scripts-url=image:///usr/local/s2i
      io.openshift.tags=builder,javaee,eap,eap8
      io.s2i.scripts-url=image:///usr/local/s2i
      maintainer=Red Hat
      name=jboss-eap-8-tech-preview/eap8-openjdk17-builder-openshift-rhel8
      org.jboss.container.deployments-dir=/deployments
      org.jboss.deployments-dir=/opt/server/standalone/deployments
      org.jboss.product=openjdk
      org.jboss.product.openjdk.version=17
      org.jboss.product.version=17
      release=scratch-24924-20220712110721
      summary=Red Hat JBoss Enterprise Application Platform 8.0 OpenShift container image.
      url=https://access.redhat.com/containers/#/registry.access.redhat.com/jboss-eap-8-tech-preview/eap8-openjdk17-builder-openshift-rhel8/images/1.0.0.Beta-scratch-24924-20220712110721
      vcs-ref=a9fee0f954f461e40600ab25dbbd9bd8abba0155
      vcs-type=git
      vendor=Red Hat, Inc.
      version=1.0.0.Beta
      

      eg. these looks just we don't want to publish such information

      com.redhat.build-host=cpt-1001.osbs.prod.upshift.rdu2.redhat.com
      

      and these looks just wrong

      org.jboss.product=openjdk
      org.jboss.product.version=17
      

      And also these changes from EAP7 image look suspicious

      # EAP7 image
      com.redhat.deployments-dir=/opt/eap/standalone/deployments
      
      # EAP8 image
      org.jboss.deployments-dir=/opt/server/standalone/deployments
      
      ^ change of value is fine, but change of parameter name could have consequence (ut TBH I have no idea where those metadata are used)
      
      # EAP7 image
                "ExposedPorts": {
                      "8080/tcp": {},
                      "8443/tcp": {},
                      "8778/tcp": {}
                  },
      
      # EAP8 image
                  "ExposedPorts": {
                      "8080/tcp": {}
                  },
      

      Obviously I cannot say if it is because of using testing internal EAP8 image as there is no public one (or at least official one for testing) so I am reporting it to stay on the safe side.

      I used
      registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap74-openjdk17-openshift-rhel8:7.4.5
      and
      registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-8-tech-preview-eap8-openjdk17-builder-openshift-rhel8@sha256:fa68d3c283513f5c9599284dc62b4c38c872a1920497f6a940710d31ebc95994

      Attachments

        Activity

          People

            jdenise@redhat.com Jean Francois Denise
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: