aboutsummaryrefslogtreecommitdiff
path: root/src/data.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [Chore] Make activation wait timeout configurableRoman Melnikov2023-11-021-0/+2
| | | | | | | | | | | | | | 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.
* [Chore] Handle 'temp_path' as an actual 'Path' instead of 'String'Roman Melnikov2023-04-201-1/+2
| | | | | | | | | | | | | Problem: 'temp_path' and 'lock_path' are handled as 'String'. This can be a problem when the 'temp_path' directory is a symlink on the target system, e.g. this is the case with the default '/tmp' and macOS, where this directory is actually a symlink to '/private/tmp'. Solution: Handle 'temp_path' and 'lock_path' as actual Paths. Also, canonicalize 'temp_path' to avoid canary file path mismatches when checking filesystem events. As a side effect, also update the 'notify' dependency to the latest stable version.
* Add option to build on the remote hostPhilipp Herzog2022-11-181-0/+2
|
* Add custom sudo command supportAndrew Fontaine2022-01-281-0/+2
| | | | This is useful for nodes that utilize `doas` instead of `sudo`.
* changed: remove 2015-style extern crateBernardo Meurer2021-01-261-1/+1
|
* Restructure projectnotgne22021-01-081-0/+73