diff mbox series

[v1,4/4] linux-mirror: Add a mirror for linux-stable-rc

Message ID 20250310183208.999430-5-cel@kernel.org (mailing list archive)
State New
Headers show
Series Fixes for git mirroring on Fedora | expand

Commit Message

Chuck Lever March 10, 2025, 6:32 p.m. UTC
From: Chuck Lever <chuck.lever@oracle.com>

I test the LTS queue/ branches nightly.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 playbooks/roles/linux-mirror/defaults/main.yml         | 5 +++--
 playbooks/roles/linux-mirror/templates/mirrors.yaml.j2 | 6 ++++++
 2 files changed, 9 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/playbooks/roles/linux-mirror/defaults/main.yml b/playbooks/roles/linux-mirror/defaults/main.yml
index c95342591090..c193932931b6 100644
--- a/playbooks/roles/linux-mirror/defaults/main.yml
+++ b/playbooks/roles/linux-mirror/defaults/main.yml
@@ -14,12 +14,13 @@  defaults_nfstest_git: "git://git.linux-nfs.org/projects/mora/nfstest.git"
 defaults_xfsprogs_git: "https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git"
 defaults_xfsdump_git: "https://github.com/linux-kdevops/xfsdump-dev.git"
 
-# These are mirrors which have variability support, the above should be coverted
+# These are mirrors which have variability support. The above should be converted
 # to these types so to support alternatives for sources and also the ability to
-# not use git and instead https incase of firewall restrictions in some
+# not use git and instead https in case of firewall restrictions in some
 # environments.
 mirror_kdevops_url: "https://github.com/linux-kdevops/kdevops.git"
 mirror_stable_url: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
+mirror_stable_rc_url: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git"
 mirror_torvalds_url: "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
 
 install_only_git_daemon: false
diff --git a/playbooks/roles/linux-mirror/templates/mirrors.yaml.j2 b/playbooks/roles/linux-mirror/templates/mirrors.yaml.j2
index 45e79349a3d4..79bbbc6595ba 100644
--- a/playbooks/roles/linux-mirror/templates/mirrors.yaml.j2
+++ b/playbooks/roles/linux-mirror/templates/mirrors.yaml.j2
@@ -88,6 +88,12 @@  mirrors:
     refresh: "120m"
     refresh_on_boot: "20m"
     reference: "linux.git"
+  - short_name: "stable-rc"
+    url: "{{ mirror_stable_rc_url }}"
+    target: "linux-stable-rc.git"
+    refresh: "120m"
+    refresh_on_boot: "20m"
+    reference: "linux-stable-rc.git"
   - short_name: "vfs"
     url: "{{ mirror_vfs_url }}"
     target: "vfs.git"