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

kogito-images maven module is defining a `default` profile

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Critical
    • Resolution: Done
    • 7.13.0.GA
    • 7.13.0.GA
    • Cloud
    • False
    • None
    • False
    • ER1
    • CR1
    • Hide

      Use maven repository: https://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8443/nexus/content/groups/public-pnc/

      $ git clone --branch 1.13.x --depth 1 https://github.com/kiegroup/kogito-images

      $ make build-image image_name=kogito-builder ignore_test=true

      $ make build-image image_name=kogito-runtime-jvm ignore_test=true

      $ export MAVEN_MIRROR_URL=https://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8443/nexus/content/groups/public-pnc/

      $ export CI=true

      $ python3 scripts/update-tests.py --ignore-self-signed-cert --examples-uri https://code.engineering.redhat.com/gerrit/kiegroup/kogito-examples.git --examples-ref 1.13.0.redhat-00005 --artifacts-version 1.13.0.redhat-00005 --runtime-image-jvm quay.io/kiegroup/kogito-runtime-jvm:1.13

      $ sed -i 's|rhpam-7/rhpam-kogito-builder-rhel8|quay.io/kiegroup/kogito-builder|g' tests/features/data-index/kogito-data-index-common.feature tests/features/data-index/kogito-data-index-ephemeral.feature tests/features/data-index/kogito-data-index-infinispan.feature tests/features/data-index/kogito-data-index-mongodb.feature tests/features/data-index/kogito-data-index-postgresql.feature tests/features/jobs-service/kogito-jobs-service-common.feature tests/features/jobs-service/kogito-jobs-service-ephemeral.feature tests/features/jobs-service/kogito-jobs-service-infinispan.feature tests/features/jobs-service/kogito-jobs-service-mongodb.feature tests/features/jobs-service/kogito-jobs-service-postgresql.feature tests/features/trusty/kogito-trusty-common.feature tests/features/trusty/kogito-trusty-infinispan.feature tests/features/trusty/kogito-trusty-postgresql.feature tests/features/trusty/kogito-trusty-redis.feature tests/features/trusty/kogito-trusty-ui.feature tests/features/common-build-runtime.feature tests/features/common-custom-truststore.feature tests/features/common-dynamic-resources.feature tests/features/common.feature tests/features/kogito-builder.feature tests/features/kogito-builder-native.feature tests/features/kogito-common-builder-jvm.feature tests/features/kogito-common-runtime-jvm.feature tests/features/kogito-common-runtime-native.feature tests/features/kogito-explainability.feature tests/features/kogito-jit-runner.feature tests/features/kogito-management-console.feature tests/features/kogito-runtime-jvm.feature tests/features/kogito-runtime-native.feature tests/features/kogito-task-console.feature tests/features/rhpam-kogito-builder-jvm.feature tests/features/rhpam-kogito-runtime-jvm.feature tests/features/rhpam-kogito-runtime-native.feature rhpam-kogito-builder-rhel8-overrides.yam

      $ sed -i -E 's/| MAVEN_ARGS_APPEND |(.*)|/| MAVEN_ARGS_APPEND |\1 -Dproductized |/g' tests/features/data-index/kogito-data-index-common.feature tests/features/data-index/kogito-data-index-ephemeral.feature tests/features/data-index/kogito-data-index-infinispan.feature tests/features/data-index/kogito-data-index-mongodb.feature tests/features/data-index/kogito-data-index-postgresql.feature tests/features/jobs-service/kogito-jobs-service-common.feature tests/features/jobs-service/kogito-jobs-service-ephemeral.feature tests/features/jobs-service/kogito-jobs-service-infinispan.feature tests/features/jobs-service/kogito-jobs-service-mongodb.feature tests/features/jobs-service/kogito-jobs-service-postgresql.feature tests/features/trusty/kogito-trusty-common.feature tests/features/trusty/kogito-trusty-infinispan.feature tests/features/trusty/kogito-trusty-postgresql.feature tests/features/trusty/kogito-trusty-redis.feature tests/features/trusty/kogito-trusty-ui.feature tests/features/common-build-runtime.feature tests/features/common-custom-truststore.feature tests/features/common-dynamic-resources.feature tests/features/common.feature tests/features/kogito-builder.feature tests/features/kogito-builder-native.feature tests/features/kogito-common-builder-jvm.feature tests/features/kogito-common-runtime-jvm.feature tests/features/kogito-common-runtime-native.feature tests/features/kogito-explainability.feature tests/features/kogito-jit-runner.feature tests/features/kogito-management-console.feature tests/features/kogito-runtime-jvm.feature tests/features/kogito-runtime-native.feature tests/features/kogito-task-console.feature tests/features/rhpam-kogito-builder-jvm.feature tests/features/rhpam-kogito-runtime-jvm.feature tests/features/rhpam-kogito-runtime-native.feature

      $ sed -i 's|^version: .*|version: 7.13.0-1|g' rhpam-kogito-builder-rhel8-overrides.yaml

      $ sed -i 's|git checkout -b .*|git checkout -b 1.13.0.redhat-00005 1.13.0.redhat-00005|g' tests/test-apps/clone-repo.sh

      $ make clone-repos NATIVE=false

       

      + Go into the file `tests/features/kogito-common-builder-jvm.feature` and mark the test `Verify if the multi-module s2i build is finished as expected performing a non native build` with `@wip` tag

      $ make build-image image_name=kogito-builder ignore_build=true test_options=--wip

      Show
      Use maven repository: https://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8443/nexus/content/groups/public-pnc/ $ git clone --branch 1.13.x --depth 1 https://github.com/kiegroup/kogito-images $ make build-image image_name=kogito-builder ignore_test=true $ make build-image image_name=kogito-runtime-jvm ignore_test=true $ export MAVEN_MIRROR_URL= https://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8443/nexus/content/groups/public-pnc/ $ export CI=true $ python3 scripts/update-tests.py --ignore-self-signed-cert --examples-uri https://code.engineering.redhat.com/gerrit/kiegroup/kogito-examples.git --examples-ref 1.13.0.redhat-00005 --artifacts-version 1.13.0.redhat-00005 --runtime-image-jvm quay.io/kiegroup/kogito-runtime-jvm:1.13 $ sed -i 's|rhpam-7/rhpam-kogito-builder-rhel8|quay.io/kiegroup/kogito-builder|g' tests/features/data-index/kogito-data-index-common.feature tests/features/data-index/kogito-data-index-ephemeral.feature tests/features/data-index/kogito-data-index-infinispan.feature tests/features/data-index/kogito-data-index-mongodb.feature tests/features/data-index/kogito-data-index-postgresql.feature tests/features/jobs-service/kogito-jobs-service-common.feature tests/features/jobs-service/kogito-jobs-service-ephemeral.feature tests/features/jobs-service/kogito-jobs-service-infinispan.feature tests/features/jobs-service/kogito-jobs-service-mongodb.feature tests/features/jobs-service/kogito-jobs-service-postgresql.feature tests/features/trusty/kogito-trusty-common.feature tests/features/trusty/kogito-trusty-infinispan.feature tests/features/trusty/kogito-trusty-postgresql.feature tests/features/trusty/kogito-trusty-redis.feature tests/features/trusty/kogito-trusty-ui.feature tests/features/common-build-runtime.feature tests/features/common-custom-truststore.feature tests/features/common-dynamic-resources.feature tests/features/common.feature tests/features/kogito-builder.feature tests/features/kogito-builder-native.feature tests/features/kogito-common-builder-jvm.feature tests/features/kogito-common-runtime-jvm.feature tests/features/kogito-common-runtime-native.feature tests/features/kogito-explainability.feature tests/features/kogito-jit-runner.feature tests/features/kogito-management-console.feature tests/features/kogito-runtime-jvm.feature tests/features/kogito-runtime-native.feature tests/features/kogito-task-console.feature tests/features/rhpam-kogito-builder-jvm.feature tests/features/rhpam-kogito-runtime-jvm.feature tests/features/rhpam-kogito-runtime-native.feature rhpam-kogito-builder-rhel8-overrides.yam $ sed -i -E 's/| MAVEN_ARGS_APPEND |(.*)|/| MAVEN_ARGS_APPEND |\1 -Dproductized |/g' tests/features/data-index/kogito-data-index-common.feature tests/features/data-index/kogito-data-index-ephemeral.feature tests/features/data-index/kogito-data-index-infinispan.feature tests/features/data-index/kogito-data-index-mongodb.feature tests/features/data-index/kogito-data-index-postgresql.feature tests/features/jobs-service/kogito-jobs-service-common.feature tests/features/jobs-service/kogito-jobs-service-ephemeral.feature tests/features/jobs-service/kogito-jobs-service-infinispan.feature tests/features/jobs-service/kogito-jobs-service-mongodb.feature tests/features/jobs-service/kogito-jobs-service-postgresql.feature tests/features/trusty/kogito-trusty-common.feature tests/features/trusty/kogito-trusty-infinispan.feature tests/features/trusty/kogito-trusty-postgresql.feature tests/features/trusty/kogito-trusty-redis.feature tests/features/trusty/kogito-trusty-ui.feature tests/features/common-build-runtime.feature tests/features/common-custom-truststore.feature tests/features/common-dynamic-resources.feature tests/features/common.feature tests/features/kogito-builder.feature tests/features/kogito-builder-native.feature tests/features/kogito-common-builder-jvm.feature tests/features/kogito-common-runtime-jvm.feature tests/features/kogito-common-runtime-native.feature tests/features/kogito-explainability.feature tests/features/kogito-jit-runner.feature tests/features/kogito-management-console.feature tests/features/kogito-runtime-jvm.feature tests/features/kogito-runtime-native.feature tests/features/kogito-task-console.feature tests/features/rhpam-kogito-builder-jvm.feature tests/features/rhpam-kogito-runtime-jvm.feature tests/features/rhpam-kogito-runtime-native.feature $ sed -i 's|^version: .*|version: 7.13.0-1|g' rhpam-kogito-builder-rhel8-overrides.yaml $ sed -i 's|git checkout -b .*|git checkout -b 1.13.0.redhat-00005 1.13.0.redhat-00005|g' tests/test-apps/clone-repo.sh $ make clone-repos NATIVE=false   + Go into the file `tests/features/kogito-common-builder-jvm.feature` and mark the test `Verify if the multi-module s2i build is finished as expected performing a non native build` with `@wip` tag $ make build-image image_name=kogito-builder ignore_build=true test_options=--wip
    • ---
    • ---

    Description

      Problem is coming from the `settings.xml` file used in Kogito Images/Operator testing. It defines the `default` profile as always active. Which leads to issue when building kogito-examples which have a `default` profile in Maven pom.

      Attachments

        Issue Links

          Activity

            People

              tradisso@redhat.com Tristan Radisson
              tradisso@redhat.com Tristan Radisson
              Tristan Radisson Tristan Radisson
              Tristan Radisson Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: