[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36404] [PATCH v4 0/4] Add 'guix deploy'.
From: |
Jakob L. Kreuze |
Subject: |
[bug#36404] [PATCH v4 0/4] Add 'guix deploy'. |
Date: |
Tue, 02 Jul 2019 13:55:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Kyle Meyer <address@hidden> writes:
> Reading that again, I see my suggestion has a typo: s/as/a/
It's alright, I picked up on it as I was copying it in :)
Anyway, here's another revision updating the documentation. I had a go
at making the environment types more like the service types, in the
sense that configuration objects would be tied to the environment rather
than the machine, but that would involve introducing an 'environment'
object, which I thought to be too verbose.
#+BEGIN_SRC scheme
(list (machine
(system %system)
(environment
(environment managed-host-environment-type
(machine-ssh-configuration
(host-name "localhost")
(identity "./id_rsa")
(port 2222))))))
#+END_SRC
I suppose this could be avoided if I were to expose a different
constructor for 'machine'.
#+BEGIN_SRC scheme
(list (machine %system
(environment managed-host-environment-type
(machine-ssh-configuration
(host-name "localhost")
(identity "./id_rsa")
(port 2222)))))
#+END_SRC
I don't know if that's any better. Thoughts?
Jakob L. Kreuze (4):
ssh: Add 'identity' keyword to 'open-ssh-session'.
gnu: Add machine type for deployment specifications.
Add 'guix deploy'.
doc: Add section for 'guix deploy'.
Makefile.am | 4 +-
doc/guix.texi | 107 ++++++++++++
gnu/local.mk | 5 +-
gnu/machine.scm | 118 +++++++++++++
gnu/machine/ssh.scm | 363 ++++++++++++++++++++++++++++++++++++++++
guix/scripts/deploy.scm | 90 ++++++++++
guix/ssh.scm | 10 +-
7 files changed, 691 insertions(+), 6 deletions(-)
create mode 100644 gnu/machine.scm
create mode 100644 gnu/machine/ssh.scm
create mode 100644 guix/scripts/deploy.scm
--
2.22.0
signature.asc
Description: PGP signature
- [bug#36404] [PATCH 0/3] Refactor out common behavior for system reconfiguration., (continued)
[bug#36404] [PATCH 0/4] Add 'guix deploy'., Jakob L. Kreuze, 2019/07/01
- [bug#36404] [PATCH 1/4] ssh: Add 'identity' keyword to 'open-ssh-session'., Jakob L. Kreuze, 2019/07/01
- [bug#36404] [PATCH 2/4] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/07/01
- [bug#36404] [PATCH 3/4] Add 'guix deploy'., Jakob L. Kreuze, 2019/07/01
- [bug#36404] [PATCH 4/4] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/07/01
- [bug#36404] [PATCH 4/4] doc: Add section for 'guix deploy'., Kyle Meyer, 2019/07/02
- [bug#36404] [PATCH 4/4] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/07/02
- [bug#36404] [PATCH 4/4] doc: Add section for 'guix deploy'., Kyle Meyer, 2019/07/02
- [bug#36404] [PATCH v4 0/4] Add 'guix deploy'.,
Jakob L. Kreuze <=
- [bug#36404] [PATCH v4 1/4] ssh: Add 'identity' keyword to 'open-ssh-session'., Jakob L. Kreuze, 2019/07/02
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/07/02
- [bug#36404] [PATCH v4 3/4] Add 'guix deploy'., Jakob L. Kreuze, 2019/07/02
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/07/02
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Christopher Lemmer Webber, 2019/07/03
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Ludovic Courtès, 2019/07/04
[bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Thompson, David, 2019/07/04
[bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Ludovic Courtès, 2019/07/05
[bug#36404] [PATCH v4 3/4] Add 'guix deploy'., Thompson, David, 2019/07/04
[bug#36404] [PATCH v4 3/4] Add 'guix deploy'., Ludovic Courtès, 2019/07/05