[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "guix deploy" is in git master
From: |
Jakob L. Kreuze |
Subject: |
Re: "guix deploy" is in git master |
Date: |
Wed, 10 Jul 2019 13:39:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi Dave,
"Thompson, David" <address@hidden> 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
signature.asc
Description: PGP signature
- Re: "guix deploy" is in git master, (continued)
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/07
- Re: "guix deploy" is in git master, Ludovic Courtès, 2019/07/07
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/08
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/08
- Re: "guix deploy" is in git master, Thompson, David, 2019/07/10
- Re: "guix deploy" is in git master,
Jakob L. Kreuze <=
- Re: "guix deploy" is in git master, Christopher Lemmer Webber, 2019/07/11
- Re: "guix deploy" is in git master, Ludovic Courtès, 2019/07/11
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/11