[Git][qa/jenkins.debian.net][master] osl31: setup cachefilesd (for NFS caching of openQA assets)
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Oct 9 08:38:13 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
5a95ac84 by Philip Hands at 2025-10-09T09:37:45+02:00
osl31: setup cachefilesd (for NFS caching of openQA assets)
(cherry picked from commit d7f34b55b80b25f56e354998644bb2a1b0a7f6f2)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- + hosts/osuosl31-amd64/etc/cachefilesd.conf
- update_jdn.sh
Changes:
=====================================
hosts/osuosl31-amd64/etc/cachefilesd.conf
=====================================
@@ -0,0 +1,28 @@
+###############################################################################
+#
+# Copyright (C) 2006,2010 Red Hat, Inc. All Rights Reserved.
+# Written by David Howells (dhowells at redhat.com)
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version
+# 2 of the License, or (at your option) any later version.
+#
+###############################################################################
+
+# WARNING:
+# This file is maintained in the jenkins.debian.net git repository
+# changes should be made there or they will be overwritten
+
+dir /var/lib/openqa/var_cache_fscache
+tag mycache
+brun 40%
+bcull 30%
+bstop 10%
+frun 15%
+fcull 10%
+fstop 5%
+
+# Assuming you're using SELinux with the default security policy included in
+# this package
+# secctx system_u:system_r:cachefiles_kernel_t:s0
=====================================
update_jdn.sh
=====================================
@@ -521,6 +521,7 @@ if [ -f /etc/debian_version ] ; then
# os-autoinst/trixie-fasttrack
sudo systemctl disable --now openqa-worker-cacheservice-minion.service || true
sudo systemctl disable --now openqa-worker-cacheservice.service || true
+ [ -d /var/lib/openqa/var_cache_fscache ] || sudo mkdir -p /var/lib/openqa/var_cache_fscache
if ! grep -q '/var/lib/openqa/share' /etc/fstab; then
cat <<-EOF
In order to get the caching NFS for openqa to work, do this by hand
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/5a95ac84762c241afafd8fdd66ae8a4345e0d0fc
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/5a95ac84762c241afafd8fdd66ae8a4345e0d0fc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20251009/8306c72a/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list