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

Deploy to openshift command cannot be copied from the readme because of redundant characters

    Details

      Description

      The Deploy the JBoss EAP Source-to-Image (S2I) Quickstart to OpenShift section of readme for CD QS contains this command:

      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-quickstarts" \(3)
       -p SOURCE_REPOSITORY_REF="openshift" \(4)
       -p CONTEXT_DIR="helloworld"(5)
      

      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:

      --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.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  emmartins Eduardo Martins
                  Reporter:
                  emmartins Eduardo Martins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: