From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85D701FC8 for ; Sat, 30 Mar 2024 02:25:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711765545; cv=none; b=mpRNgDT8/ExDHuSJfxU9IQ3iov+zz4sMJRNaV302nKMUTMftFwfyc2IKkuH5iCB7401J0HZn2c7/mDhVsOo54qX06unFVruOl3Mic8VmgF/z+VpRiHCq9OXS2+zVlCjP/coUcDKuHja4CTzfpILqCOPD2QTMO9+IUWpjdq/M/5M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711765545; c=relaxed/simple; bh=9jz9owyN0A/7WqwGlrm/OYjRCY6EBo6NQoK3hzla5WM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=owOY6ENJXoKghNxxr8HpMfOa3CCRDA+4DPuxIuibwCqOo3Q3N+IYlmH6F1yzn/sd/1vrfo4TDLXKH7XjhAdlrnIaaMrSCcAtvVImhcHUroqm6l7XBVNmRHzir//fH9NM/LwV9/N8fcy0T+iwpjGEbJqQyfOHpWo+JEClA9dCoLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=reB+7+KZ; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="reB+7+KZ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=BAAhD+voJMcaPFnt8T521zilfthxwt0AWGhJ/n1P+1Y=; b=reB+7+KZaJcbi1GN96eVlB631K rni591txwL7Mwbvmpyu3DbuPK/V6AkGWj9Q3zaOFVzGQsAcOyRtNxdbUjYjBMMAM2mWM8WsDf0Kwc 4vhNjhK9QncMqX7CTed66PjST+mQRwgiKedvcE3HCAIgfG9mCI1Fwr7ZbMdZoUXfC4QYjG+kzTr/f SW3ODodqAlY9fqhtxYWTeapQgpd4PaQ1Fw+uYivo+3/q5BQdxxTfVWhFFIxeNlFpofiTCmR6CTDZf X+IpfYPkoHM5cfBWsVrprBIZp3T5lnBRqXssocOmVseOa7mm2en9t7lZ65c5L3YfdTpXrsy4KwxS1 8jxUlmUw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqOPe-00000002ZLq-2MJ1; Sat, 30 Mar 2024 02:25:42 +0000 From: Luis Chamberlain To: kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 13/18] mirrors: move status check Date: Fri, 29 Mar 2024 19:25:35 -0700 Message-ID: <20240330022540.612487-14-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240330022540.612487-1-mcgrof@kernel.org> References: <20240330022540.612487-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain 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 --- 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