Commit c3be0d38 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch '334995-conan-install-fails-with-environment-variables' into 'master'

Resolve "Conan install fails with environment variables"

See merge request gitlab-org/gitlab!67780
parents 97d7663d 7ea13d91
...@@ -210,13 +210,6 @@ conan user <gitlab_username or deploy_token_username> -r gitlab -p <personal_acc ...@@ -210,13 +210,6 @@ conan user <gitlab_username or deploy_token_username> -r gitlab -p <personal_acc
Now when you run commands with `--remote=gitlab`, your username and password are Now when you run commands with `--remote=gitlab`, your username and password are
included in the requests. included in the requests.
Alternatively, you can explicitly include your credentials in any given command.
For example:
```shell
CONAN_LOGIN_USERNAME=<gitlab_username or deploy_token_username> CONAN_PASSWORD=<personal_access_token or deploy_token> conan upload Hello/0.1@mycompany/beta --all --remote=gitlab
```
NOTE: NOTE:
Because your authentication with GitLab expires on a regular basis, you may Because your authentication with GitLab expires on a regular basis, you may
occasionally need to re-enter your personal access token. occasionally need to re-enter your personal access token.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment