Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3654

Wrong archetype used to generate project from provided asset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.11.1.GA
    • 7.11.0.GA
    • Cloud
    • None
    • RHPAM Kogito operator
      OCP 4.7

    • False
    • False
    • Release Notes
    • CR1
    • Undefined
    • Hide

      Install RHPAM Kogito operator
      Create KogitoBuild:

      apiVersion: rhpam.kiegroup.org/v1
      kind: KogitoBuild
      metadata:
        name: example-quarkus-local
      spec:
        buildImage: >-
          registry-proxy.engineering.redhat.com/rh-osbs/rhpam-7-rhpam-kogito-builder-rhel8:7.11.0-1
        runtimeImage: >-
          registry-proxy.engineering.redhat.com/rh-osbs/rhpam-7-rhpam-kogito-runtime-jvm-rhel8:7.11.0-3
        type: LocalSource
      

      Upload an asset to the OCP using OC client:

      oc start-build example-quarkus-local-builder --from-file=https://github.com/kiegroup/kogito-examples/blob/stable/dmn-quarkus-example/src/main/resources/Traffic%20Violation.dmn
      

      Check builder log, it will contain text "Using following parameters for creating project from Archetype: kogito-quarkus-archetype:1.5.1-SNAPSHOT"

      Show
      Install RHPAM Kogito operator Create KogitoBuild: apiVersion: rhpam.kiegroup.org/v1 kind: KogitoBuild metadata: name: example-quarkus-local spec: buildImage: >- registry-proxy.engineering.redhat.com/rh-osbs/rhpam-7-rhpam-kogito-builder-rhel8:7.11.0-1 runtimeImage: >- registry-proxy.engineering.redhat.com/rh-osbs/rhpam-7-rhpam-kogito-runtime-jvm-rhel8:7.11.0-3 type: LocalSource Upload an asset to the OCP using OC client: oc start-build example-quarkus-local-builder --from-file=https://github.com/kiegroup/kogito-examples/blob/stable/dmn-quarkus-example/src/main/resources/Traffic%20Violation.dmn Check builder log, it will contain text "Using following parameters for creating project from Archetype: kogito-quarkus-archetype:1.5.1-SNAPSHOT"
    • 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10)

      When asset is uploaded as a source for KogitoBuild then Kogito S2I image generates project using kogito-quarkus-archetype:1.5.1-SNAPSHOT.

      It is expected to use kogito-quarkus-dm-archetype:1.5.0.redhat-00001.

              rhn-support-fspolti Filippe Spolti
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: