Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14239

jboss-eap-xp2 imagestreams-templates are using a wrong (2.0) tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 22.0.0.Final
    • 22.0.0.Beta1
    • Quickstarts
    • None

      I've learned that XP2 images will be tagged by 1.0, however the import templates are using the 2.0, which will create the broken image streams

       "from": {
           "kind": "DockerImage",
           "name": "registry.redhat.io/jboss-eap-7/eap-xp2-openjdk8-openshift-rhel7:2.0"
      

      Also, following the docs (with respect to fix for JBEAP-20718 - see https://github.com/jbossas/eap-quickstarts/pull/211/files), the import image stream templates tags the created image streams with [2.0,latest] tags, however all the documentation examples are using the 1.0 tag (see https://github.com/jbossas/eap-quickstarts/pull/211/files)

      $ oc replace --force -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap-xp2-dev/jboss-eap-xp2-openjdk8-openshift.json
      $ oc replace --force -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap-xp2-dev/jboss-eap-xp2-openjdk11-openshift.json
      $ oc get imagestream
      NAME                                        IMAGE REPOSITORY                                                                                                       TAGS         UPDATED
      jboss-eap-xp2-openjdk11-openshift           default-route-openshift-image-registry.apps-crc.testing/pkremens-namespace/jboss-eap-xp2-openjdk11-openshift           2.0,latest   
      jboss-eap-xp2-openjdk11-runtime-openshift   default-route-openshift-image-registry.apps-crc.testing/pkremens-namespace/jboss-eap-xp2-openjdk11-runtime-openshift   2.0,latest   
      jboss-eap-xp2-openjdk8-openshift            default-route-openshift-image-registry.apps-crc.testing/pkremens-namespace/jboss-eap-xp2-openjdk8-openshift            2.0,latest   
      jboss-eap-xp2-openjdk8-runtime-openshift    default-route-openshift-image-registry.apps-crc.testing/pkremens-namespace/jboss-eap-xp2-openjdk8-runtime-openshift    2.0,latest 
      

      Docs example:

      $ oc new-app --template={ImagePrefixVersion}-basic-s2i \
       -p EAP_IMAGE_NAME=jboss-{ImagePrefixVersion}-openjdk8-openshift:1.0 \
       -p EAP_RUNTIME_IMAGE_NAME=jboss-{ImagePrefixVersion}-openjdk8-runtime-openshift:1.0 \
       -p IMAGE_STREAM_NAMESPACE="{artifactId}-project" \
       -p SOURCE_REPOSITORY_URL="{EAPQuickStartRepo}" \
       -p SOURCE_REPOSITORY_REF="{EAPQuickStartRepoRef}" \
       -p CONTEXT_DIR="{artifactId}"
      

      Maybe we should simply go with the ":latest" to avoid these.

              emartins@redhat.com Eduardo Martins
              emartins@redhat.com Eduardo Martins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: