Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add .envrc and fix devShell to work with more tools | notgne2 | 2021-08-04 | 2 | -1/+16 |
| | |||||
* | Merge pull request #97 from blaggacao/patch-1 | Alexander Bantyev | 2021-07-08 | 1 | -1/+1 |
|\ | | | | | fix: add meta.description | ||||
| * | fix: add meta.description | David Arnold | 2021-06-25 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #96 from serokell/balsoft/eval-only-once | Alexander Bantyev | 2021-07-02 | 2 | -10/+48 |
|\ \ | |/ |/| | Evaluate only once, and then only realise | ||||
| * | Evaluate only once, and then only realise | Alexander Bantyev | 2021-07-02 | 1 | -9/+47 |
| | | |||||
| * | Add rustfmt and rust-analyzer to devShell | Alexander Bantyev | 2021-06-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #95 from serokell/balsoft/refactor-as-overlay | Alexander Bantyev | 2021-06-23 | 1 | -40/+54 |
|\ | | | | | flake.nix: refactor as overlay | ||||
| * | flake.nix: refactor as overlay | Alexander Bantyev | 2021-06-22 | 1 | -40/+54 |
| | | |||||
* | | Merge branch 'feature/multi-node' | Alexander Bantyev | 2021-06-22 | 5 | -143/+404 |
|\ \ | |/ |/| | |||||
| * | Cargo fmt | Alexander Bantyev | 2021-06-22 | 2 | -7/+11 |
| | | |||||
| * | Add multi node support | Yannik Sander | 2021-06-22 | 5 | -142/+399 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run multiple deployments in sequence Resolve targets later Extend context by deployed flake Apply clippy suggestions Add revoke command builder Track succeeded deploys Add revoke function Register revoke error as deploy error Prepare revoke command in activate Extend logger to handle revoke Implement revoke command client side Run revoke on previously suceeded Control whether to override by flag Adhere profile configuration auto_rollback setting Cargo fmt Correctly provide profile path to activation script when revoking Document multi flake mode in README Resolve a typo in README.md Co-authored-by: notgne2 <gen2@gen2.space> Use existing teminology rename revoke_suceeded -> rollback_suceeded Use more open CLI argument name `targets` instead of `flakes` Document name changes in README Add sudo command support for revokes Call run_deploy with `dry_active` flag Test revoke commands contains sudo Set default temp_path in activate binary Require temp_path for wait and activate subcommands Add copyright comment Address review change requests Fix typo in README Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru> | ||||
* | Merge pull request #84 from lovesegfault/flake-update | Alexander Bantyev | 2021-06-06 | 1 | -9/+9 |
|\ | | | | | flake: update inputs | ||||
| * | flake: update inputs | Bernardo Meurer | 2021-06-06 | 1 | -9/+9 |
|/ | |||||
* | Merge pull request #93 from serokell/balsoft/matrix | Alexander Bantyev | 2021-06-06 | 1 | -0/+2 |
|\ | | | | | Mention the matrix channel in the README | ||||
| * | Mention the matrix channel in the README | Alexander Bantyev | 2021-06-06 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #90 from serokell/balsoft/fix-rollback | Alexander Bantyev | 2021-05-20 | 1 | -7/+3 |
|\ | | | | | Fix auto-rollback with dry_activate | ||||
| * | flake.nix: clean up dry-activation logic | Alexander Bantyev | 2021-05-20 | 1 | -7/+3 |
| | | |||||
| * | Fix rollback to old profiles | Alexander Bantyev | 2021-05-18 | 1 | -1/+1 |
| | | | | | | | | | | | | In 5d5da48 (https://github.com/serokell/deploy-rs/pull/81), $DRY_ACTIVATE is used in a bash script with -u. When DRY_ACTIVATE is not set (which it is not for older profiles), the script fails. Fix this by setting a fallback. | ||||
* | | Merge pull request #82 from serokell/notgne2/add-hm-support | notgne2 | 2021-05-10 | 1 | -0/+2 |
|\| | | | | | Add helper activation function for home-manager | ||||
| * | Add helper activation function for home-manager | notgne2 | 2021-05-10 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #81 from kitnil/dry-activate | notgne2 | 2021-05-10 | 5 | -79/+128 |
|\ | | | | | Add dry-activate | ||||
| * | Use correct path to `deploy-rs-activate` binary when using `dry_activate` | notgne2 | 2021-04-30 | 1 | -3/+5 |
| | | | | | | | | Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com> | ||||
| * | Apply notgne2 suggestions. | Oleg Pykhalov | 2021-04-16 | 3 | -15/+11 |
| | | |||||
| * | flake: Add optional dryActivate argument to activate.custom | Oleg Pykhalov | 2021-04-07 | 1 | -33/+47 |
| | | |||||
| * | Add dry activate argument. | Oleg Pykhalov | 2021-04-07 | 5 | -51/+88 |
|/ | |||||
* | Merge pull request #79 from serokell/zhenya/ops1190-nix-logs | Zhenya Vinogradov | 2021-03-22 | 1 | -1/+1 |
|\ | | | | | CI: print full logs for `nix flake check` | ||||
| * | CI: print full logs for `nix flake check` | Zhenya Vinogradov | 2021-03-22 | 1 | -1/+1 |
|/ | | | | | Without '-L' nix only prints logs on failure, and only the last 10 lines of them | ||||
* | Merge pull request #64 from serokell/notgne2/fix-ssh-url | notgne2 | 2021-03-01 | 1 | -4/+4 |
|\ | | | | | Remove `ssh://` prefix from SSH addresses | ||||
| * | Remove `ssh://` prefix from SSH addresses | notgne2 | 2021-02-28 | 1 | -1/+1 |
| | | |||||
| * | Re-use `ssh_addr` | notgne2 | 2021-02-28 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #70 from talw/readme-fix | notgne2 | 2021-02-28 | 1 | -1/+1 |
|\ | | | | | Fix examples/system/README.md: `deploy` -> `deploy-rs` | ||||
| * | Fix examples/system/README.md: `deploy` -> `deploy-rs` | Tal Walter | 2021-02-27 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #67 from serokell/notgne2/remove-redundant-format | notgne2 | 2021-02-19 | 1 | -1/+1 |
|\ | | | | | Remove redundant `format!()` | ||||
| * | Remove redundant `format!()` | notgne2 | 2021-02-19 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #66 from serokell/notgne2/clean-up-command-args | notgne2 | 2021-02-19 | 3 | -25/+23 |
|\ | | | | | Clean up adding Command arguments | ||||
| * | Clean up adding Command arguments | notgne2 | 2021-02-09 | 3 | -25/+23 |
|/ | |||||
* | Merge pull request #65 from serokell/notgne2/set-tmp-in-nixos-activation | notgne2 | 2021-02-09 | 1 | -0/+3 |
|\ | | | | | cd into `/tmp` during NixOS activation | ||||
| * | Merge branch 'master' into notgne2/set-tmp-in-nixos-activation | notgne2 | 2021-02-09 | 8 | -79/+108 |
| |\ | |/ |/| | |||||
* | | Merge pull request #59 from serokell/notgne2/wait-for-activate | notgne2 | 2021-02-09 | 1 | -43/+85 |
|\ \ | | | | | | | Wait for activation | ||||
| * | | Re-add debug log for activate command erroring | notgne2 | 2021-02-09 | 1 | -0/+1 |
| | | | |||||
| * | | Clean up structure used for activation command error sending | notgne2 | 2021-02-09 | 1 | -11/+9 |
| | | | |||||
| * | | Still wait for activation command to end even in cases of errors | notgne2 | 2021-02-09 | 1 | -43/+70 |
| | | | |||||
| * | | Use oneshot signals to ensure SSH activate command has finished before ↵ | notgne2 | 2021-02-09 | 1 | -7/+14 |
| | | | | | | | | | | | | deployment ends | ||||
| * | | Wait for `ssh_activate` to complete and check for errors in magic_rollback ↵ | notgne2 | 2021-02-09 | 1 | -11/+20 |
|/ / | | | | | | | activation (fixes #58 and #49) | ||||
* | | Merge pull request #47 from lovesegfault/style-fixes | notgne2 | 2021-02-08 | 8 | -36/+23 |
|\ \ | | | | | | | changed: assorted fixes | ||||
| * \ | Merge branch 'master' into style-fixes | notgne2 | 2021-02-08 | 1 | -22/+62 |
| |\ \ | |/ / |/| | | |||||
| * | | changed: sort Cargo.toml | Bernardo Meurer | 2021-01-26 | 1 | -10/+10 |
| | | | |||||
| * | | changed: remove 2015-style extern crate | Bernardo Meurer | 2021-01-26 | 8 | -27/+14 |
| | | | |||||
| | * | Work around NixOS/nixpkgs#73404 by `cd`-ing into `/tmp` during NixOS activation | notgne2 | 2021-02-08 | 1 | -0/+3 |
| |/ |/| | |||||
* | | Merge pull request #63 from serokell/balsoft/lazy-eval | notgne2 | 2021-02-08 | 1 | -22/+62 |
|\ \ | |/ |/| | Evaluate deploy output lazily |