diff options
author | Christopher Baines <mail@cbaines.net> | 2020-04-10 19:09:39 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-04-10 20:34:47 +0100 |
commit | 97876168197cbbc4780fe34582be47f153af79b4 (patch) | |
tree | 139a0c71de6bfd850e2e3102728156eccd313e56 /guix-build-coordinator/agent.scm | |
parent | 4c11476163b0ee891d23c4d6eb35420e9d087e40 (diff) | |
download | build-coordinator-97876168197cbbc4780fe34582be47f153af79b4.tar build-coordinator-97876168197cbbc4780fe34582be47f153af79b4.tar.gz |
Implement more of an agent sending a status update
Diffstat (limited to 'guix-build-coordinator/agent.scm')
-rw-r--r-- | guix-build-coordinator/agent.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index e69de29..e33eead 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -0,0 +1,27 @@ +;;; Guix Build Coordinator +;;; +;;; Copyright © 2020 Christopher Baines <mail@cbaines.net> +;;; +;;; This file is part of the guix-build-coordinator. +;;; +;;; The Guix Build Coordinator 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 3 of the License, or (at your option) any later version. +;;; +;;; The Guix Build Coordinator is distributed in the hope that it will +;;; be useful, but WITHOUT ANY WARRANTY; without even the implied +;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +;;; See the GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with the guix-data-service. If not, see +;;; <http://www.gnu.org/licenses/>. + +(define-module (guix-build-coordinator agent) + #:use-module (guix-build-coordinator agent-messaging http) + #:export (run-agent)) + +(define (run-agent uuid coordinator-uri password) + (submit-status coordinator-uri uuid password + 'idle)) |