gansheer opened a new issue, #4558:
URL: https://github.com/apache/camel-k/issues/4558

   Some areas could be improved for the Build Pipeline basic usage:
   
   - the 
[documentation](https://camel.apache.org/camel-k/next/pipeline/pipeline.html) 
does not states that this feature is only available for builder strategy `pod` 
   - when trying to define custom task on camel-k deployed with builder 
strategy `routine` is fails with some cryptic message: 
    ```
   
{"level":"error","ts":1689001311.5820856,"logger":"camel-k.controller.build","msg":"Build
 kit-cim1qh86qbola87p7070 errored: Cannot execute empty task in build 
[default/kit-cim1qh86qbola87p7070]","request-namespace":"default","request-name":"kit-cim1qh86qbola87p7070","api-version":"camel.apache.org/v1","kind":"Build","ns":"default","name":"kit-cim1qh86qbola87p7070","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).updateBuildStatus\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:205\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:187"}
   ```
   It might be a good idea to validate beforehand that the the operator runs on 
`routine` strategy and therefore won't be able to run custom tasks. What do you 
think about such validation/error message @squakez ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to