]
Eduardo Martins moved JBEAP-20735 to WFLY-14239:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-14239 (was: JBEAP-20735)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Quickstarts
(was: Quickstarts)
Affects Version/s: 22.0.0.Beta1
(was: EAP-XP-2.0.0.CR1)
jboss-eap-xp2 imagestreams-templates are using a wrong (2.0) tag
----------------------------------------------------------------
Key: WFLY-14239
URL:
https://issues.redhat.com/browse/WFLY-14239
Project: WildFly
Issue Type: Bug
Components: Quickstarts
Affects Versions: 22.0.0.Beta1
Reporter: Eduardo Martins
Assignee: Eduardo Martins
Priority: Blocker
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
{code}
"from": {
"kind": "DockerImage",
"name":
"registry.redhat.io/jboss-eap-7/eap-xp2-openjdk8-openshift-rhel7:2.0"
{code}
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)
{code:bash}
$ oc replace --force -f
https://raw.githubusercontent.com/jboss-container-images/jboss-eap-opensh...
$ oc replace --force -f
https://raw.githubusercontent.com/jboss-container-images/jboss-eap-opensh...
$ 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
{code}
Docs example:
{code:bash}
$ 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}"
{code}
Maybe we should simply go with the ":latest" to avoid these.