]
Eduardo Martins moved JBEAP-17121 to WFLY-12260:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-12260 (was: JBEAP-17121)
Issue Type: Enhancement (was: Bug)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Quickstarts
(was: Quickstarts)
Affects Version/s: 17.0.0.Final
(was: 7.3.0.CD16)
Deploy to openshift command cannot be copied from the readme because
of redundant characters
--------------------------------------------------------------------------------------------
Key: WFLY-12260
URL:
https://issues.jboss.org/browse/WFLY-12260
Project: WildFly
Issue Type: Enhancement
Components: Quickstarts
Affects Versions: 17.0.0.Final
Reporter: Eduardo Martins
Assignee: Eduardo Martins
Priority: Minor
The {{Deploy the JBoss EAP Source-to-Image (S2I) Quickstart to OpenShift}} section of
readme for CD QS contains this command:
{code}
oc new-app --template=eap-cd-basic-s2i \(1)
-p IMAGE_STREAM_NAMESPACE="helloworld-project" \(2)
-p
SOURCE_REPOSITORY_URL="https://github.com/jboss-developer/jboss-eap-...
\(3)
-p SOURCE_REPOSITORY_REF="openshift" \(4)
-p CONTEXT_DIR="helloworld"(5)
{code}
It cannot be copied and pasted in a single step because of the references at the end of
each line - (1)..(5). It would be nice if the command didn't contain the redundant
characters.
For example, the notes below the command could be updated in following way without the
need for the references (1)...(5) in the command itself:
{code}
--template - The template to use.
-p IMAGE_STREAM_NAMESPACE - The latest images streams and templates were imported into
the project's namespace, so you must specify the namespace of where to find the image
stream. This is usually the OpenShift project's name.
-p SOURCE_REPOSITORY_URL - URL to the repository containing the application source code.
-p SOURCE_REPOSITORY_REF - The Git repository reference to use for the source code. This
can be a Git branch or tag reference.
-p CONTEXT_DIR - The directory within the source repository to build.
{code}