Date
1 - 3 of 3
Where to define username/password when fetching sstate via http with basic authentication?
Manuel Wagesreither
Hi Quentin, obviously I didn't read that page carefully enough. Sorry for the noise and thanks for the hint. Cheers, Manuel Am Fr, 28. Mai 2021, um 11:35, schrieb Quentin Schulz:
|
|
Quentin Schulz
Hi Manuel,
On Fri, May 28, 2021 at 11:26:26AM +0200, Manuel Wagesreither wrote: Hello all,There is an example in the commit you sent, so I would say: SSTATE_MIRRORS ?= " \ file://.* http://someserver.tld/share/sstate/PATH;user=username:password;downloadfilename=PATH \n" ? Cheers, Quentin |
|
Manuel Wagesreither
Hello all,
to speed up builds, we would like to make the CI generated sstate-cache available via internet. Due to IP concerns, we don't want to make it publically available but for authenticated hosts only. [1] indicates it is possible to serve the sstate-cache over http with basic authentication [2]. How does one set the username & password? By putting it into the URL like in the following example, or are other ways available? ``` SSTATE_MIRRORS ?= "\ file://.* http://username:password@someserver.tld/share/sstate/PATH" ``` Thank you! [1] https://patchwork.openembedded.org/patch/130333/ [2] https://en.wikipedia.org/wiki/Basic_access_authentication |
|