From: Luis Chamberlain <mcgrof@kernel.org>
To: kdevops@lists.linux.dev
Cc: Luis Chamberlain <mcgrof@kernel.org>
Subject: [PATCH 13/18] mirrors: move status check
Date: Fri, 29 Mar 2024 19:25:35 -0700 [thread overview]
Message-ID: <20240330022540.612487-14-mcgrof@kernel.org> (raw)
In-Reply-To: <20240330022540.612487-1-mcgrof@kernel.org>
Move most of the 'make mirror-status' work onto the makefile
which already has most of the timer and services already so
we can just use the variables there.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---
Makefile.linux-mirror | 13 +------------
.../linux-mirror/linux-mirror-systemd/Makefile | 8 ++++++++
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/Makefile.linux-mirror b/Makefile.linux-mirror
index 3968acecb98e..40532eb0e477 100644
--- a/Makefile.linux-mirror
+++ b/Makefile.linux-mirror
@@ -26,18 +26,7 @@ mirror: $(KDEVOPS_EXTRA_VARS)
PHONY += mirror
mirror-status: $(KDEVOPS_EXTRA_VARS)
- $(NQ) systemd timer units list
- $(Q)systemctl --user list-timers
- $(NQ) systemd timer status
- $(Q)systemctl status --user linux-mirror.timer linux-stable-mirror.timer \
- linux-next-mirror.timer mcgrof-next-mirror.timer \
- kdevops-linus-mirror.timer \
- qemu-mirror.timer jic23-qemu-mirror.timer
- $(NQ) systemd service units status
- $(Q)systemctl status --user linux-mirror.service linux-stable-mirror.service \
- kdevops-linus-mirror.service \
- linux-next-mirror.service mcgrof-next-mirror.service \
- qemu-mirror.service jic23-qemu-mirror.timer
+ $(Q)make -C $(MIRROR_CODE) status
PHONY += mirror-status
diff --git a/playbooks/roles/linux-mirror/linux-mirror-systemd/Makefile b/playbooks/roles/linux-mirror/linux-mirror-systemd/Makefile
index b773c0a2e70a..367ffdc526df 100644
--- a/playbooks/roles/linux-mirror/linux-mirror-systemd/Makefile
+++ b/playbooks/roles/linux-mirror/linux-mirror-systemd/Makefile
@@ -149,3 +149,11 @@ install:
$(Q)sudo cp $(GIT_DAEMON_FILES) $(LOCAL_SYSTEMD)
$(Q)sudo systemctl enable git-daemon.socket
$(Q)sudo systemctl start git-daemon.socket
+
+status:
+ $(NQ) systemd timer units list
+ $(Q)systemctl --user list-timers
+ $(NQ) systemd timer status
+ $(Q)systemctl status --user $(MIRROR_TIMERS)
+ $(NQ) systemd service units status
+ $(Q)systemctl status --user $(MIRROR_SERVICES)
--
2.43.0
next prev parent reply other threads:[~2024-03-30 2:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 2:25 [PATCH 00/18] mirrors: enhance and add tons of mirrors Luis Chamberlain
2024-03-30 2:25 ` [PATCH 01/18] linux-mirror: add kdevops mirroring support Luis Chamberlain
2024-03-30 2:25 ` [PATCH 02/18] Makefile.min_deps: add netcat as a min binary dependency Luis Chamberlain
2024-03-30 2:25 ` [PATCH 03/18] provision: generalize bridge-ip further Luis Chamberlain
2024-03-30 2:25 ` [PATCH 04/18] mirrors: add guestfs mirror options without 9p Luis Chamberlain
2024-03-30 2:25 ` [PATCH 05/18] mirrors: enable kdevops mirror Luis Chamberlain
2024-03-30 2:25 ` [PATCH 06/18] mirrors: add fstests to mirrors Luis Chamberlain
2024-03-30 2:25 ` [PATCH 07/18] fstests: use local primary fstests mirror if present Luis Chamberlain
2024-03-30 2:25 ` [PATCH 08/18] mirrors: add kdevops git alternative for fstests Luis Chamberlain
2024-03-30 2:25 ` [PATCH 09/18] mirrors: use kdevops fstests mirror when available Luis Chamberlain
2024-03-30 2:25 ` [PATCH 10/18] mirrors: add blktests mirror Luis Chamberlain
2024-03-30 2:25 ` [PATCH 11/18] mirrors: use blktests mirror when its available Luis Chamberlain
2024-03-30 2:25 ` [PATCH 12/18] mirrors: increase scope of mirroring in output Luis Chamberlain
2024-03-30 2:25 ` Luis Chamberlain [this message]
2024-03-30 2:25 ` [PATCH 14/18] mirrors: move mirror editing into one file Luis Chamberlain
2024-03-30 2:25 ` [PATCH 15/18] mirrors: add new mirrors.yaml and add xfsprogs Luis Chamberlain
2024-03-30 2:25 ` [PATCH 16/18] mirrors: add xfsdump mirror and use it Luis Chamberlain
2024-03-30 2:25 ` [PATCH 17/18] mirrors: add dbench git Luis Chamberlain
2024-03-30 2:25 ` [PATCH 18/18] mirrors: add blktrace mirror and use it Luis Chamberlain
2024-03-30 16:37 ` [PATCH 00/18] mirrors: enhance and add tons of mirrors Chuck Lever III
2024-04-03 1:01 ` Luis Chamberlain
2024-04-03 18:04 ` Chuck Lever III
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=20240330022540.612487-14-mcgrof@kernel.org \
--to=mcgrof@kernel.org \
--cc=kdevops@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.