diff --git a/Makefile b/Makefile index fc178912..6f9894cd 100644 --- a/Makefile +++ b/Makefile @@ -90,8 +90,8 @@ ENABLE_PERSISTENCE ?= false # extra extensions needed for persistence at build time. # The extentions listed below are included in the cache in image quay.io/kiegroup/kogito-swf-builder:9.99.1.CR1 or available from maven central repository -QUARKUS_EXTENSIONS=org.kie.kogito:kogito-addons-quarkus-jobs-knative-eventing:9.99.1.redhat-00003,org.kie.kogito:kogito-addons-quarkus-persistence-jdbc:9.99.1.redhat-00003,org.kie.kogito:kogito-addons-persistence-jdbc:9.99.1.redhat-00003,io.quarkus:quarkus-jdbc-postgresql:3.2.9.Final,io.quarkus:quarkus-agroal:3.2.9.Final,org.kie:kie-addons-quarkus-monitoring-prometheus:999-SNAPSHOT,org.kie:kie-addons-quarkus-monitoring-sonataflow:999-SNAPSHOT -QUARKUS_DEV_EXTENSIONS="" +QUARKUS_EXTENSIONS=org.kie.kogito:kogito-addons-quarkus-jobs-knative-eventing:9.99.1.redhat-00003,org.kie.kogito:kogito-addons-quarkus-persistence-jdbc:9.99.1.redhat-00003,org.kie.kogito:kogito-addons-persistence-jdbc:9.99.1.redhat-00003,io.quarkus:quarkus-jdbc-postgresql:3.2.9.Final,io.quarkus:quarkus-agroal:3.2.9.Final +QUARKUS_DEV_EXTENSIONS=org.kie:kogito-addons-quarkus-jobs-knative-eventing:999-SNAPSHOT,org.kie:kie-addons-quarkus-persistence-jdbc:999-SNAPSHOT,org.kie:kie-addons-persistence-jdbc:999-SNAPSHOT,io.quarkus:quarkus-jdbc-postgresql:3.8.4,io.quarkus:quarkus-agroal:3.8.4 #org.kie:kie-addons-quarkus-persistence-jdbc:999-20240317-SNAPSHOT,io.quarkus:quarkus-jdbc-postgresql:3.2.9.Final,io.quarkus:quarkus-agroal:3.2.9.Final # build time properties required for persistence. diff --git a/move2kube/m2k.svg b/move2kube/m2k.svg index e8046ae9..11e4d126 100644 --- a/move2kube/m2k.svg +++ b/move2kube/m2k.svg @@ -1 +1 @@ -StartStartPlanningInitGetPlanningRetr y GetPlanningIncreaseGetPlannin gRetry PlanRetrievedCheckStartTransformatio n PrintTransformatio nIdMessage NotifyTransformati onWaiting WaitForSaveTransformationCompletion Event TransformationSav ed TransformationErro r GetPlanRetryExcee dedError allOfPrintExitErrorMessa ge EndallOfPrintExitSuccessMe ssage End(has("plan") an... (has("plan") an... errorEvent errorEvent transformation... transformation... (.planRetries > ... (.planRetries > ... \ No newline at end of file +StartStartPlanningInitGetPlanningRetr y GetPlanningIncreaseGetPlannin gRetry PlanRetrievedCheckStartTransformatio n PrintTransformatio nIdMessage NotifyTransformati onWaiting WaitForSaveTransformationCompletion Event TransformationSav ed TransformationErro r GetPlanRetryExcee dedError allOfPrintExitErrorMessa ge EndallOfPrintExitSuccessMe ssage End(has("plan") an... (has("plan") an... errorEvent errorEvent transformation... transformation... (.planRetries > ... (.planRetries > ... \ No newline at end of file diff --git a/move2kube/m2k.sw.yml b/move2kube/m2k.sw.yml index 0866448d..348322bc 100644 --- a/move2kube/m2k.sw.yml +++ b/move2kube/m2k.sw.yml @@ -155,6 +155,8 @@ states: transition: PrintExitErrorMessage - name: PrintExitErrorMessage type: parallel + metadata: + errorMessage: '"Move2Kube workflow failed with exit message: "+ .exitMessage + " -- Plan retries: " + (.planRetries|tostring) + " -- Error: " + .error' branches: - name: printSystemOut actions: diff --git a/mta/mta.svg b/mta/mta.svg index 3376dc9c..11287181 100644 --- a/mta/mta.svg +++ b/mta/mta.svg @@ -1 +1 @@ -StartGetApplicationAppExistCreateApplicationCreateTaskgroupSubmitAnalysisGetAnalysispollcheckReportDoneNotifyBackstagereportGetWorkflowOption s EndNotifyFailureBackst age End(.taskgroup.stat... (.taskgroup.stat... (.taskgroup.stat... (.taskgroup.stat... .application != ... .application != ... \ No newline at end of file +StartGetApplicationAppExistCreateApplicationCreateTaskgroupSubmitAnalysisGetAnalysispollcheckReportDoneNotifyBackstagereportGetWorkflowOption s EndNotifyFailureBackst age End(.taskgroup.stat... (.taskgroup.stat... (.taskgroup.stat... (.taskgroup.stat... .application != ... .application != ... \ No newline at end of file diff --git a/mta/mta.sw.yaml b/mta/mta.sw.yaml index ce84e3ec..a5b628bd 100644 --- a/mta/mta.sw.yaml +++ b/mta/mta.sw.yaml @@ -178,6 +178,8 @@ states: end: true - name: NotifyFailureBackstage type: operation + metadata: + errorMessage: '"MTA analysis for " + .application.repository.url + " failed. Check logs of task pod: " + .taskgroup.tasks[0].pod' actions: - condition: .backstageUser != null or .backstageGroup != null functionRef: diff --git a/pipeline/workflow-builder-dev.Dockerfile b/pipeline/workflow-builder-dev.Dockerfile index 936a9729..1ed327de 100644 --- a/pipeline/workflow-builder-dev.Dockerfile +++ b/pipeline/workflow-builder-dev.Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/kiegroup/kogito-swf-builder-nightly:main-2024-04-08 AS builder +FROM quay.io/kiegroup/kogito-swf-builder-nightly:latest AS builder # Temp hack to provide persistence artifacts # ENV MAVEN_REPO_URL=https://maven.repository.redhat.com/earlyaccess/all