mmajerni commented on issue #3475: URL: https://github.com/apache/camel-k/issues/3475#issuecomment-1192301982
Hi @tadayosi, I updated that test: https://github.com/apache/camel-k/pull/3438/files#diff-d618db0cd5368f9f7428e20a95fd07e6b62a1abd375a331ca74914dc10103821L43 Before, the main branch was used so it worked. I added the branch but it is not working as you mentioned. Docs describe that if you want to specify a branch you need to specify the branch as a query parameter: https://camel.apache.org/camel-k/1.8.x/running/run-from-github.html#_integration_code_stored_in_a_github_repository Also you can see in the error code which you pasted that if you add branch to the URL (`kamel run github:apache/camel-k/release-1.8.x/e2e/common/files/Java.java`) it handles it as path not the branch and automatically set branch to master: .../apache/camel-k/**master**/**release-1.8.x**/e2e/common/files/Java.java There is definitely a problem. One of those commands should work: `kamel run github:apache/camel-k/e2e/common/files/Java.java?branch=release-1.8.x` `kamel run github:apache/camel-k/release-1.8.x/e2e/common/files/Java.java` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
