unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze)
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: "guix deploy" is in git master
Date: Wed, 10 Jul 2019 13:39:22 -0400	[thread overview]
Message-ID: <87sgrd6b79.fsf@sdf.lonestar.org> (raw)
In-Reply-To: <CAJ=RwfaG=RmZB=2-3DFVH-yyhbExerN=YGefq4APJkkKnWhi8w@mail.gmail.com> (David Thompson's message of "Wed, 10 Jul 2019 09:51:03 -0400")

[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]

Hi Dave,

"Thompson, David" <dthompson2@worcester.edu> writes:

> Agreed. Also this should be done in parallel eventually because
> updating 24 machines serially is silly.

Good idea. Do we have a Guix-specific API for parallelism, or should I
look to the Guile manual section on Futures?

> This does bring up the question of what to do upon failure. Other
> deployment systems that I've worked with (mainly AWS CodeDeploy)
> provide some options. First, the user can specify what it means for a
> deploy to succeed. Does it have to successfully deploy to each of them
> or should it allow some amount of failure? Then, upon failure, the
> user can specify whether or not a rollback should happen.

Would it make sense to allow failure to be defined on a
machine-by-machine basis? For example, adding some sort of
'behavior-on-failure' field to the 'machine' type?

Other options that come to mind are a '--behavior-on-failure' option for
'guix deploy', or to use a more elaborate type for deployment
specifications, maybe having a 'machines->deployment' function, similar
to 'packages->manifest'.

> My personal preference for default behavior right now is to update
> everything possible and print out a report so users can see what
> failed, but I think ultimately we'll need to provide more options.

Agreed.

> We need to also keep in mind that in-place updates to machines is just
> a primitive initial use-case. Things will get really fun when we get
> to blue-green deployments in cloud environments because "rollback"
> takes on a whole new meaning. :)

Glad to hear that you're already thinking about this sort of thing :)

Regards,
Jakob

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-07-10 17:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06  6:17 "guix deploy" is in git master Christopher Lemmer Webber
2019-07-05 23:33 ` Jakob L. Kreuze
2019-07-05 23:34 ` Jakob L. Kreuze
2019-07-06  9:29 ` Ricardo Wurmus
2019-07-06 11:51   ` Jakob L. Kreuze
2019-07-06  9:23     ` Christopher Lemmer Webber
2019-07-06 17:22       ` Ricardo Wurmus
2019-07-06 17:17         ` Christopher Lemmer Webber
2019-07-07  0:12         ` Mark H Weaver
2019-07-07  7:55           ` Ricardo Wurmus
2019-07-07  6:55             ` Christopher Lemmer Webber
2019-07-08 17:15           ` Jakob L. Kreuze
2019-07-07  8:05   ` Ricardo Wurmus
2019-07-07 14:45     ` Ludovic Courtès
2019-07-08 17:37       ` Jakob L. Kreuze
2019-07-08 19:27         ` Ricardo Wurmus
2019-07-08 20:11           ` Jakob L. Kreuze
2019-07-08 20:16             ` Jakob L. Kreuze
2019-07-08 20:23               ` Ricardo Wurmus
2019-07-10 13:51           ` Thompson, David
2019-07-10 17:39             ` Jakob L. Kreuze [this message]
2019-07-11  4:27               ` Christopher Lemmer Webber
2019-07-11 15:43                 ` Ludovic Courtès
2019-07-11 16:58                   ` Jakob L. Kreuze

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=87sgrd6b79.fsf@sdf.lonestar.org \
    --to=zerodaysfordays@sdf.lonestar.org \
    --cc=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /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).