You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Gitlab to build a package that has a dependency on another package in a private registry.
After specifying CONAN_LOGIN_USERNAME: "ci_user" and CONAN_PASSWORD: ${CI_JOB_TOKEN} I can upload to the repo's registry. But even though I specify CONAN_LOGIN_USERNAME_other_repo: "ci_user" and CONAN_PASSWORD_other_repo: ${CI_JOB_TOKEN} conan cannot pull the dependency and always fails with conans.errors.NotFoundException: Unable to find 'my_package/1.0@company/stable' in remotes.
I checked the source code and to me it looks like remote authentication only happens for package uploads. Could that be?
It seems like CPT never tries to login to my other registry before trying to pull from there.
Environment Details
Conan Package Tools Version: 0.35.1
Operating System: Linux
Operation System Version: Ubuntu 20.04
Compiler+version: gcc-10
Docker image: conanio/gcc10
Conan version: conan 1.39.0
Python version: python 3.7.5
The text was updated successfully, but these errors were encountered:
Description of Problem, Request, or Question
I am using Gitlab to build a package that has a dependency on another package in a private registry.
After specifying
CONAN_LOGIN_USERNAME: "ci_user"
andCONAN_PASSWORD: ${CI_JOB_TOKEN}
I can upload to the repo's registry. But even though I specifyCONAN_LOGIN_USERNAME_other_repo: "ci_user"
andCONAN_PASSWORD_other_repo: ${CI_JOB_TOKEN}
conan cannot pull the dependency and always fails withconans.errors.NotFoundException: Unable to find 'my_package/1.0@company/stable' in remotes
.I checked the source code and to me it looks like remote authentication only happens for package uploads. Could that be?
It seems like CPT never tries to login to my other registry before trying to pull from there.
Environment Details
The text was updated successfully, but these errors were encountered: