From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75010@debbugs.gnu.org
Subject: [bug#75010] [PATCH 0/7] Roll back when deployment fails.
Date: Sat, 21 Dec 2024 18:02:35 +0100 [thread overview]
Message-ID: <zrxq4axts6fcbybijcsndtuy2aw3rbjpbrcj4kaiyacimefrlz@o35c72jre4ax> (raw)
[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]
Hello,
Felix's patch is from issue #69343, one is also squashed into [PATCH
2/7].
In [PATCH 2/7], does the mbegin above the mlet work, or is its value
discarded? Guix deploy seems to work the same way.
In [PATCH 7/7] I try to add a test for the guix deploy rollback
behavior. See attachment, why does this error occur?
Cheers,
Herman
Felix Lechner (1):
Rename two remote variables confusingly named 'generations'.
Herman Rimm (6):
monads: Add 'mmatch'.
gnu: machine: ssh: Refactor roll-back-managed-host.
gnu: machine: ssh: Return monadic value from roll-back-managed-host.
gnu: machine: Remove &deploy-error.
gnu: machine: ssh: Roll-back on failure.
WIP: gnu: tests: Add module for guix deploy tests.
doc/guix.texi | 6 ++
gnu/machine.scm | 17 +---
gnu/machine/ssh.scm | 122 +++++++++++-------------
gnu/tests/deploy.scm | 203 ++++++++++++++++++++++++++++++++++++++++
guix/monads.scm | 11 +++
guix/scripts/deploy.scm | 8 +-
6 files changed, 279 insertions(+), 88 deletions(-)
create mode 100644 gnu/tests/deploy.scm
base-commit: 11855e1c2863c56d9a3364cdac614a529a1c7cc2
--
2.45.2
[-- Attachment #2: 1gv9mdpy6ygfgfvh4j56j4nq8c9a1m-module-import-compiled.drv.gz --]
[-- Type: application/x-gunzip, Size: 1183 bytes --]
reply other threads:[~2024-12-21 18:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=zrxq4axts6fcbybijcsndtuy2aw3rbjpbrcj4kaiyacimefrlz@o35c72jre4ax \
--to=guix-patches@gnu.org \
--cc=75010@debbugs.gnu.org \
--cc=herman@rimm.ee \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).