Re: 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:

Hi Manuel,

On Fri, May 28, 2021 at 11:26:26AM +0200, Manuel Wagesreither wrote:
> 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 ?= "\
> ```


There is an example in the commit you sent, so I would say:
SSTATE_MIRRORS ?= " \
?

Cheers,
Quentin






Join yocto@lists.yoctoproject.org to automatically receive all group messages.