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

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.11.0.GA
    • 7.11.1.GA
    • Cloud
    • None
    • RHPAM Kogito operator
      OCP 4.7

    • CR1
    • 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"
    • Release Notes
    • 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10)

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: