You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "domhanak (via GitHub)" <gi...@apache.org> on 2024/08/07 05:55:23 UTC

[I] [kn-plugin-workflow] Improve error message when deploying without running cluster on local [incubator-kie-tools]

domhanak opened a new issue, #2516:
URL: https://github.com/apache/incubator-kie-tools/issues/2516

   **Goal**
   Improve the error message when running `kn workflow deploy –namespace apache-10 --custom-generated-manifests-dir ./` on a project that has YAML workflow.
   
   **Reason**
   No cluster up and running on local, should be solved by our docs and prerequisites 
   
   **Details**
   ``` 
   - ✅ Manifest 01-sonataflow_hello.yaml successfully deployed in namespace apache-10
   error: unable to decode "workflow.sw.yaml": Object 'Kind' is missing in
    '{"description":"Description","id":"hello","name":"Hello World","specVersion":"0.8.0","start":"HelloWorld",
   "states":[{"data":{"message":"Hello World"},"end":true,"name":"HelloWorld","type":"inject"}],"version":"1.0"}'
    has a errorError:
    ❌ ERROR: applying deploy: ❌ ERROR: failed to deploy manifest workflow.sw.yaml,  
   ❌ ERROR: failed to execute kubectl apply command for workflow.sw.yaml: exit status 1
   ```
   
   **Expected result**
   A message stating there is no cluster running to where to deploy.


-- 
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-unsubscribe@kie.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [kn-plugin-workflow] Improve error message when deploying without running cluster on local [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento closed issue #2516: [kn-plugin-workflow] Improve error message when deploying without running cluster on local
URL: https://github.com/apache/incubator-kie-tools/issues/2516


-- 
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-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [kn-plugin-workflow] Improve error message when deploying without running cluster on local [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on issue #2516:
URL: https://github.com/apache/incubator-kie-tools/issues/2516#issuecomment-4920034652

   Closing due to https://github.com/apache/incubator-kie-tools/pull/3540


-- 
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-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org