<feed xmlns='http://www.w3.org/2005/Atom'>
<title>deploy-rs/src, branch nom-flag</title>
<subtitle>forked from https://github.com/serokell/deploy-rs/
</subtitle>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/'/>
<entry>
<title>Add a flag for building with nix-output-monitor</title>
<updated>2024-03-10T20:48:23+00:00</updated>
<author>
<name>stuebinm</name>
</author>
<published>2023-10-01T19:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=9001480e03ab8c957716e2bf164bbde605472399'/>
<id>9001480e03ab8c957716e2bf164bbde605472399</id>
<content type='text'>
all this does is to replace the build invocations of nix/nix-build
with nom/nom-build (of https://github.com/maralorn/nix-output-monitor)
which gives more structured output of the running build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
all this does is to replace the build invocations of nix/nix-build
with nom/nom-build (of https://github.com/maralorn/nix-output-monitor)
which gives more structured output of the running build.
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for entering password for sudo</title>
<updated>2024-02-16T12:51:25+00:00</updated>
<author>
<name>Nick Hassan</name>
</author>
<published>2024-02-03T04:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=5f694ef481610e8c4c77bb963b49e2d3b0d4db3c'/>
<id>5f694ef481610e8c4c77bb963b49e2d3b0d4db3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Chore] Add missing documentation for timeout options</title>
<updated>2023-12-20T12:55:53+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-12-20T12:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=56ba8c3929802fb00c4803452024e23cdb54cc99'/>
<id>56ba8c3929802fb00c4803452024e23cdb54cc99</id>
<content type='text'>
Problem: README misses documentation for 'confirmTimeout' and
'activationTimeout'.

Solution: Mention them in README.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: README misses documentation for 'confirmTimeout' and
'activationTimeout'.

Solution: Mention them in README.
</pre>
</div>
</content>
</entry>
<entry>
<title>[#245] Return non-zero exit code in case of confirmation timeout</title>
<updated>2023-12-11T13:42:55+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-12-08T13:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=b076e35c4ac157110b894032fe3155172668cdd8'/>
<id>b076e35c4ac157110b894032fe3155172668cdd8</id>
<content type='text'>
Problem: When profile activation confirmation fails due to
confirmation timeout and performs a rollback, zero exit code is
returned. Such a behavior is confusing since rollback usually means
something went wrong during deployment and it shouldn't return
successful exit code.

Solution: Explicitly return confirmation waiting error instead of
printing it and silently signalizing success.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: When profile activation confirmation fails due to
confirmation timeout and performs a rollback, zero exit code is
returned. Such a behavior is confusing since rollback usually means
something went wrong during deployment and it shouldn't return
successful exit code.

Solution: Explicitly return confirmation waiting error instead of
printing it and silently signalizing success.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! [Chore] Make activation wait timeout configurable</title>
<updated>2023-11-02T10:29:53+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-11-01T16:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=50d640f4032c32d5bddab31af493670ba1773518'/>
<id>50d640f4032c32d5bddab31af493670ba1773518</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Chore] Make activation wait timeout configurable</title>
<updated>2023-11-02T10:29:52+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-11-01T11:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=aeeee3c1e3e9bfc38462cb315b6e19ee9fe6db70'/>
<id>aeeee3c1e3e9bfc38462cb315b6e19ee9fe6db70</id>
<content type='text'>
Problem: Currently profile activation waiting timeout is hardcoded to
240 seconds, see https://github.com/serokell/deploy-rs/pull/48.
In some cases, this timeout can be exceeded (e.g.
activation performs a heavy DB migration and waits for it to finish
before considering the profile activation succesful).

Solution: Make this timeout configurable via 'activationTimeout' deploy
attribute or corresponding '--activation-timeout' CLI option. For the
sake of backward compatibility, the new 'wait' subcommand
'--activation-timeout' option is made optional and defaults to 240
seconds if it wasn't provided.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Currently profile activation waiting timeout is hardcoded to
240 seconds, see https://github.com/serokell/deploy-rs/pull/48.
In some cases, this timeout can be exceeded (e.g.
activation performs a heavy DB migration and waits for it to finish
before considering the profile activation succesful).

Solution: Make this timeout configurable via 'activationTimeout' deploy
attribute or corresponding '--activation-timeout' CLI option. For the
sake of backward compatibility, the new 'wait' subcommand
'--activation-timeout' option is made optional and defaults to 240
seconds if it wasn't provided.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Chore] fix error messages claiming to have rolled back when not actually doing so</title>
<updated>2023-11-02T08:25:24+00:00</updated>
<author>
<name>Philipp Herzog</name>
</author>
<published>2023-11-02T08:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=6f77c65c258043f65ec203f895fe17cc613fcaae'/>
<id>6f77c65c258043f65ec203f895fe17cc613fcaae</id>
<content type='text'>
closes: #241
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes: #241
</pre>
</div>
</content>
</entry>
<entry>
<title>[#201] Deduce profile directory during activation</title>
<updated>2023-09-12T10:00:17+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-09-06T12:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=f26e888c41d28107de9dbc5b4e1553c1dfcf83db'/>
<id>f26e888c41d28107de9dbc5b4e1553c1dfcf83db</id>
<content type='text'>
Problem: Since https://github.com/NixOS/nix/pull/5226 nix profiles for
users are stored in 'XDG_STATE_HOME' or 'HOME' directory. However,
'deploy-rs' still expects profiles to be present in
'/nix/var/nix/profiles/per-user'. As a result, an attempt to deploy a
profile with newer nix may fail with an error about non-existing files.

Solution: Instead of deducing the profile path prior to ssh'ing and
actual activation, deduce the path to the profile during as a part of
'activate-rs' invocation.

Now if the profile path is not specified explicitly as an attribute in
profile within the deploy flake, the path to the profile is determined
based on the user to which the profile belongs and on the values of
'XDG_STATE_HOME' and 'HOME' variables.
Additionally, if the old profile directory (in
'/nix/var/nix/profiles/per-user') for a given user already exists, it is
used instead for the sake of backward compatibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Since https://github.com/NixOS/nix/pull/5226 nix profiles for
users are stored in 'XDG_STATE_HOME' or 'HOME' directory. However,
'deploy-rs' still expects profiles to be present in
'/nix/var/nix/profiles/per-user'. As a result, an attempt to deploy a
profile with newer nix may fail with an error about non-existing files.

Solution: Instead of deducing the profile path prior to ssh'ing and
actual activation, deduce the path to the profile during as a part of
'activate-rs' invocation.

Now if the profile path is not specified explicitly as an attribute in
profile within the deploy flake, the path to the profile is determined
based on the user to which the profile belongs and on the values of
'XDG_STATE_HOME' and 'HOME' variables.
Additionally, if the old profile directory (in
'/nix/var/nix/profiles/per-user') for a given user already exists, it is
used instead for the sake of backward compatibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>actually merge confirm_timeout into merged_settings</title>
<updated>2023-06-08T08:33:01+00:00</updated>
<author>
<name>Artemis Everfree</name>
</author>
<published>2023-06-08T08:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=f28f8c6063dfdee3720a8841cc857df2c911dec8'/>
<id>f28f8c6063dfdee3720a8841cc857df2c911dec8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #203 from serokell/rvem/#202-add-workaround-for-derivations-store-paths-interpolation</title>
<updated>2023-05-08T03:05:03+00:00</updated>
<author>
<name>Roman Melnikov</name>
</author>
<published>2023-05-08T03:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/deploy-rs/commit/?id=64160276cd6569694131ed8864d4d35470a84ec3'/>
<id>64160276cd6569694131ed8864d4d35470a84ec3</id>
<content type='text'>
[#202] Provide '^out' suffix for deriver on newer nix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[#202] Provide '^out' suffix for deriver on newer nix</pre>
</div>
</content>
</entry>
</feed>
