Skip to content

Commit

Permalink
ci: add kas mirror configuration
Browse files Browse the repository at this point in the history
Reimplement 922e7f5.

Having this as an independent configuration gives more freedom
to choose how to use it.

As the development speed of the Poky master is quite fast,
we can take advantage of the sstate-cahce mirror that is made available.
This brings advantages especially when building the toolchain,
which we do not modify in any way and so we can use the existing one.

The Yocto Project now allows you to reuse the Shared State cache from its autobuilder [1].
If the network connection between our server and your machine is faster than you would build recipes from source,
[1] https://docs.yoctoproject.org/dev/migration-guides/release-notes-4.0.html?highlight=sstate_mirrors#new-features-enhancements-in-4-0

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 17, 2024
1 parent 82ee4cc commit 06a2310
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json

header:
version: 14

local_conf_header:
mirror: |
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS = "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"

0 comments on commit 06a2310

Please sign in to comment.