($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Jon Mason <jon.mason@arm.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH] CI: add Yocto Project SSTATE Mirror
Date: Tue, 23 Apr 2024 09:37:08 -0400	[thread overview]
Message-ID: <20240423133708.23216-1-jon.mason@arm.com> (raw)

Add the Yocto Project public SSTATE mirror to its own unique yml file.
This allows for developers to use this to speed up builds, while not
adding in the default case.  This "off by default" is because it can add
10s of minutes to each build, which might not be beneficial to those who
are using SSTATE dir locally.

Also, removing the removal ptest distro feature, as this change prevents
an optimal usage of the YP SSTATE mirror (~30% match to ~90% match for
qemuarm64).

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 ci/base.yml          | 1 -
 ci/sstate-mirror.yml | 9 +++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 ci/sstate-mirror.yml

diff --git a/ci/base.yml b/ci/base.yml
index 3d868a476d4e..6058b1c29caa 100644
--- a/ci/base.yml
+++ b/ci/base.yml
@@ -32,7 +32,6 @@ local_conf_header:
     PACKAGECONFIG:remove:pn-qemu-system-native = "gtk+ sdl"
     PACKAGECONFIG:append:pn-perf = " coresight"
     INHERIT += "rm_work"
-    DISTRO_FEATURES:remove = "ptest"
   extrapackages: |
     CORE_IMAGE_EXTRA_INSTALL += "perf opencsd"
     CORE_IMAGE_EXTRA_INSTALL:append:aarch64 = " gator-daemon"
diff --git a/ci/sstate-mirror.yml b/ci/sstate-mirror.yml
new file mode 100644
index 000000000000..c31b90759381
--- /dev/null
+++ b/ci/sstate-mirror.yml
@@ -0,0 +1,9 @@
+header:
+  version: 14
+
+local_conf_header:
+  sstate_mirror: |
+    BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
+    SSTATE_MIRRORS = "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
+    BB_HASHSERVE = "auto"
+    BB_SIGNATURE_HANDLER = "OEEquivHash"
-- 
2.39.3 (Apple Git-146)



             reply	other threads:[~2024-04-23 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 13:37 Jon Mason [this message]
2024-04-24 14:12 ` [PATCH] CI: add Yocto Project SSTATE Mirror Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240423133708.23216-1-jon.mason@arm.com \
    --to=jon.mason@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).