Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-765

s2i build fails for multi module Maven projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1.GA
    • 7.0.1.GA
    • Cloud
    • Decision Manager Openshift Templates : 7.0.1
      Minishift : v1.24.0+8a904d0
      Openshift : v3.10.0+fd501dd-48
      Kubernetes : v1.10.0+b81c8f8

    • CR1
    • -
    • Hide

      oc new-project kieserver

      oc create secret generic kieserver-app-secret --from-file=keystore.jks
      oc create serviceaccount kieserver-service-account
      oc secret add sa/kieserver-service-account secret/kieserver-app-secret
      oc create -f rhdm70-image-streams.yaml
      oc create -f templates/rhdm70-kieserver-basic-s2i.yaml

      PROJECT=$(oc project --short=true)

      oc new-app --template rhdm70-kieserver-basic-s2i \
      -p MAVEN_REPO_URL="https://maven.repository.redhat.com/ga" \
      -p APPLICATION_NAME="kieserver" \
      -p ADMIN_USERNAME="admin" \
      -p ADMIN_PASSWORD="admin" \
      -p KIE_ADMIN_USER="kieadmin" \
      -p KIE_ADMIN_PWD="kieadmin" \
      -p KIE_SERVER_USER="kiesrv" \
      -p KIE_SERVER_PWD="kiesrv" \
      -p KIE_SERVER_ID="kieserver" \
      -p KIE_SERVER_BYPASS_AUTH_USER="true" \
      -p KIE_MBEANS="enabled" \
      -p IMAGE_STREAM_NAMESPACE="$PROJECT" \
      -p IMAGE_STREAM_TAG="1.1" \
      -p SOURCE_REPOSITORY_URL="https://github.com/reynoldsm88/oc-kjar" \
      -p SOURCE_REPOSITORY_REF="master" \
      -p ARTIFACT_DIR="kjar/target" \
      -p CONTEXT_DIR="."

      Show
      oc new-project kieserver oc create secret generic kieserver-app-secret --from-file=keystore.jks oc create serviceaccount kieserver-service-account oc secret add sa/kieserver-service-account secret/kieserver-app-secret oc create -f rhdm70-image-streams.yaml oc create -f templates/rhdm70-kieserver-basic-s2i.yaml PROJECT=$(oc project --short=true) oc new-app --template rhdm70-kieserver-basic-s2i \ -p MAVEN_REPO_URL="https://maven.repository.redhat.com/ga" \ -p APPLICATION_NAME="kieserver" \ -p ADMIN_USERNAME="admin" \ -p ADMIN_PASSWORD="admin" \ -p KIE_ADMIN_USER="kieadmin" \ -p KIE_ADMIN_PWD="kieadmin" \ -p KIE_SERVER_USER="kiesrv" \ -p KIE_SERVER_PWD="kiesrv" \ -p KIE_SERVER_ID="kieserver" \ -p KIE_SERVER_BYPASS_AUTH_USER="true" \ -p KIE_MBEANS="enabled" \ -p IMAGE_STREAM_NAMESPACE="$PROJECT" \ -p IMAGE_STREAM_TAG="1.1" \ -p SOURCE_REPOSITORY_URL="https://github.com/reynoldsm88/oc-kjar" \ -p SOURCE_REPOSITORY_REF="master" \ -p ARTIFACT_DIR="kjar/target" \ -p CONTEXT_DIR="."
    • 2018 Week 42-44

      The s2i deploy of a simple KJAR to OpenShift fails if the project is split multiple modules (ie. kjar and model):
      https://github.com/reynoldsm88/oc-kjar

              dward-se-jboss David Ward
              rhn-support-mputz Martin Weiler (Inactive)
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: