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 ?= "\
> file://.* http://username:[email protected]/share/sstate/PATH";
> ```
> 

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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53687): https://lists.yoctoproject.org/g/yocto/message/53687
Mute This Topic: https://lists.yoctoproject.org/mt/83145194/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to