Stéphane Burwash
04/27/2023, 4:27 PMuser
04/27/2023, 4:37 PMWill Da Silva (Arch)
04/27/2023, 4:43 PMpip_url
by using env vars. Alternatively pip
will source some specific env vars for private index credentials, but I don't remember what those are off the top of my head.Stéphane Burwash
04/27/2023, 4:44 PMStéphane Burwash
04/27/2023, 5:16 PMuser
04/27/2023, 5:17 PMuser
04/27/2023, 5:22 PM$PIP_INDEX_URL
with the username and password (or token) provided within the index URL. This can be done without changing pip_url
.Stéphane Burwash
04/27/2023, 5:27 PMStéphane Burwash
04/27/2023, 5:28 PMuser
04/27/2023, 5:35 PMpip
under the hood, and pip's options can be configured via env vars as $PIP_<option name>
Stéphane Burwash
04/27/2023, 5:51 PMuser
04/27/2023, 5:53 PMenv
section, rather than the pip_url
. The pip_url
would only have the package name, and the pip index URL (with credentials) would be specified via env var.Stéphane Burwash
04/27/2023, 5:56 PMpip_url: git+<https://github.com/stephane/tap-stephane-app.git>
env:
PIP_INDEX_URL: git+https://<username>:<password>@github.com/stephane/tap-stephane-app.git
user
04/27/2023, 6:00 PMStéphane Burwash
04/27/2023, 6:01 PMuser
04/27/2023, 6:02 PMStéphane Burwash
04/27/2023, 6:02 PMuser
04/27/2023, 6:24 PMecho "machine <http://github.com|github.com> login ... password ..." > ~/.netrc
https://stackoverflow.com/a/39519547/5535114Stéphane Burwash
04/27/2023, 6:26 PMStéphane Burwash
04/27/2023, 6:26 PM