You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "mikoskinen (via GitHub)" <gi...@apache.org> on 2023/07/31 08:58:43 UTC

[GitHub] [camel-karavan] mikoskinen opened a new issue, #835: Project build fails with not able to access remote Git repository: "Could not resolve host"

mikoskinen opened a new issue, #835:
URL: https://github.com/apache/camel-karavan/issues/835

   I'm trying to use Azure DevOps as the Git host for Karavan. In general things seem to start and work OK and I can see that Karavan has created "Templates" -folder into the Git repository.
   
   But I get an error when trying to deploy the project:
   
   ```
   step-karavan-build-deploy
   Cloning into '/scripts'...
   fatal: unable to access 'https://xxx@dev.azure.com/xxx/karavan-demo/_git/karavan-demo/': Could not resolve host: xxx@dev.azure.com
   /tekton/scripts/script-0-ktzbc: line 15: cd: /scripts/test: No such file or directory
   jbang -Dcamel.jbang.version=3.20.3 camel@apache/camel export --local-kamelet-dir=/scripts/kamelets
   [jbang] Downloading JDK 17. Be patient, this can take several minutes...
   [jbang] Installing JDK 17...
   [jbang] Default JDK set to 17 (17.0.8, 17-jbang, /jbang/.jbang/cache/jdks/17)
   [jbang] Resolving dependencies...
   [jbang]    org.apache.camel:camel-bom:3.20.3@pom
   [jbang]    org.apache.camel:camel-jbang-core:3.20.3
   [jbang]    org.apache.camel.kamelets:camel-kamelets:4.0.0-RC1
   [jbang] Dependencies resolved
   [jbang] Building jar...
   The runtime option must be specified
   fatal: not a git repository (or any parent up to mount point /)
   Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
   ```
   
   I suppose the issue could be that I have to provide the repo's host in username@dev.azure.com format. Some parts of the Karavan seems to be ok with this:
   
   ![image](https://github.com/apache/camel-karavan/assets/143570/4237b0e9-3f88-4f70-b0ec-dbc8877158ed)


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

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


[GitHub] [camel-karavan] mikoskinen commented on issue #835: Project build fails with not able to access remote Git repository: "Could not resolve host"

Posted by "mikoskinen (via GitHub)" <gi...@apache.org>.
mikoskinen commented on issue #835:
URL: https://github.com/apache/camel-karavan/issues/835#issuecomment-1657963272

   And to confirm, I edited the repository so that instead of https://xxx@dev.azure.com/xxx/karavan-demo/_git/karavan-demo/ I used https://dev.azure.com/xxx/karavan-demo/_git/karavan-demo/ and this seems to have fixed the issue.


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

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


[GitHub] [camel-karavan] mgubaidullin commented on issue #835: Project build fails with not able to access remote Git repository: "Could not resolve host"

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin commented on issue #835:
URL: https://github.com/apache/camel-karavan/issues/835#issuecomment-1658964666

   @mikoskinen could you please also try with 3.21.0 ?
   Will this PR https://github.com/apache/camel-karavan/pull/831 impact on your case?


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

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


[GitHub] [camel-karavan] mgubaidullin closed issue #835: Project build fails with not able to access remote Git repository: "Could not resolve host"

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #835: Project build fails with not able to access remote Git repository: "Could not resolve host"
URL: https://github.com/apache/camel-karavan/issues/835


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

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