You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/12/12 23:26:26 UTC
[GitHub] [camel-k] hguerrero commented on issue #1136: Kamel CLI run from URL
hguerrero commented on issue #1136: Kamel CLI run from URL
URL: https://github.com/apache/camel-k/issues/1136#issuecomment-565232452
This is the error when trying:
```hguerrer-osx:~ hguerrer$ kamel run https://raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java --name proxy -d camel-http --dev
integration "proxy" created
Error: stat /Users/hguerrer/https:/raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java: no such file or directory
Usage:
kamel run [file to run] [flags]
Flags:
--compression Enable store source as a compressed binary blob
--configmap strings Add a ConfigMap
-d, --dependency strings The integration dependency
--dev Enable Dev mode (equivalent to "-w --logs --sync")
-e, --env strings Set an environment variable in the integration container. E.g "-e MY_VAR=my-value"
-h, --help help for run
-k, --kit string The kit used to run the integration
--logging-level strings Configure the logging level. E.g. "--logging-level org.apache.camel=DEBUG"
--logs Print integration logs
--name string The integration name
--open-api strings Add an OpenAPI v2 spec
-o, --output string Output format. One of: json|yaml
--profile string Trait profile used for deployment
-p, --property stringArray Add a camel property
--repository strings Add a maven repository
--resource strings Add a resource
--secret strings Add a Secret
--sync Synchronize the local source file with the cluster, republishing at each change
-t, --trait strings Configure a trait. E.g. "-t service.enabled=false"
-v, --volume strings Mount a volume into the integration container. E.g "-v pvcname:/container/path"
-w, --wait Waits for the integration to be running
Global Flags:
--config string Path to the config file to use for CLI requests
-n, --namespace string Namespace to use for all operations
Error: stat /Users/hguerrer/https:/raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java: no such file or directory```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services