Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-02-07 | fixup! Evaluate deploy output lazily | Alexander Bantyev | 1 | -50/+42 | |
2021-02-06 | Evaluate deploy output lazily | Alexander Bantyev | 1 | -22/+70 | |
Currently, we evaluate the `#deploy` output strictly. This means - Longer eval times - Extraneous evaluation errors with `--skip-checks` - `-- --impure` even when the path we're currently deploying is pure - etc. With this change, evaluation happens lazily -- we only evaluate the nodes and profiles we really need. It is only implemented for flaky Nix, and it is on by default. To get the old behavior, one can specify `--strict-eval`. I have tested that this indeed dramatically increases evaluation speed in all of our repos, and removes the need to deploy Agora with `--impure`. Hooray! | |||||
2021-01-14 | Raise wait timeout | notgne2 | 1 | -1/+1 | |
2021-01-14 | Only build wait command if magic_rollback is enabled | notgne2 | 1 | -10/+10 | |
2021-01-08 | Don't import PushProfileData | notgne2 | 1 | -2/+1 | |
2021-01-08 | Remove unused DeployPathToActivatePathError | notgne2 | 3 | -13/+0 | |
2021-01-08 | Remove `Error` postfixes from error variants variants | notgne2 | 1 | -18/+16 | |
2021-01-08 | Use type definition for ToDeploy | notgne2 | 1 | -53/+52 | |
2021-01-08 | Struct-ify arguments to push_profile | notgne2 | 2 | -42/+62 | |
2021-01-08 | Struct-ify arguments to build_wait_command | notgne2 | 1 | -21/+23 | |
2021-01-08 | Struct-ify arguments to build_activate_command | notgne2 | 1 | -26/+28 | |
2021-01-08 | Fix trivial lint issues | notgne2 | 4 | -8/+7 | |
2021-01-08 | Restructure project | notgne2 | 6 | -52/+50 | |
2021-01-01 | Format logs differently | notgne2 | 1 | -3/+3 | |
2020-12-30 | Modify activation logic to keep SSH connection alive for magic-rollback and ↵ | notgne2 | 4 | -84/+325 | |
avoid forking or disconnecting std{out,err} | |||||
2020-12-27 | Make printed deployment information be info level instead of warn | notgne2 | 1 | -1/+1 | |
2020-12-27 | Remove discriminant (they are already differenciated by binary name) | notgne2 | 1 | -1/+0 | |
2020-12-27 | Deduplicate level to emoji pattern into make_emoji() | notgne2 | 1 | -14/+12 | |
2020-12-27 | Fix log dir/file mismatch | notgne2 | 2 | -3/+3 | |
2020-12-27 | Use error log macro more in activate.rs | notgne2 | 1 | -7/+3 | |
2020-12-27 | Replace logger, add more logging options including files | notgne2 | 4 | -20/+136 | |
2020-12-22 | Fix the order in which settings are merged | notgne2 | 1 | -2/+2 | |
2020-12-19 | Fix fast_connection flag to enable substitute-on-destination correctly | notgne2 | 1 | -1/+1 | |
2020-12-15 | Simplify the types involved a little | Andreas Fuchs | 1 | -4/+4 | |
The cursed match is still cursed, but at least we're not sending useless data across channels anymore. | |||||
2020-12-15 | Use notify crate to learn about deletion of the activation sentinel | Andreas Fuchs | 1 | -33/+39 | |
We should now be able to deploy to non-Linux systems, and build all the required binaries too. | |||||
2020-12-02 | Add SPDX-FileCopyrightText to the three files that I changed substantially | Andreas Fuchs | 2 | -0/+2 | |
2020-12-02 | Reinstate NoProfileUser | Andreas Fuchs | 1 | -0/+1 | |
Seems to have been removed by mistake in the previous cleanup | |||||
2020-12-02 | Clean up utils/mod.rs | Alexander Bantyev | 1 | -12/+0 | |
Now that we don't copy `activate` from the same directory as `current_exe`, we can skip the check that the `current_exe` is reachable and in nix store. | |||||
2020-12-02 | Fail early if there is no activation script in profile path | Alexander Bantyev | 1 | -0/+17 | |
2020-12-02 | Use DeployData's store path to build the activate-rs path | Andreas Fuchs | 3 | -30/+4 | |
This gets rid of yet more code, so - win! | |||||
2020-12-02 | Don't copy the activate script (it's part of the closure anyway) | Andreas Fuchs | 1 | -1/+0 | |
2020-12-02 | Use the profile closure's activate script to activate the profile | Andreas Fuchs | 3 | -23/+13 | |
This gets rid of the "current_exe" vestige that has stuck around from when this program was meant to be standalone; instead, we use the (already known) path to the activate-rs wrapper, which automatically uses the correct binary for the deploy target platform. | |||||
2020-11-29 | Use crude Nix parsing for parsing the flake path | notgne2 | 2 | -46/+94 | |
2020-11-27 | Use the last `.` for node/profile name separation, ignore any trailing `.`. ↵ | notgne2 | 1 | -2/+41 | |
This should solve at least part of #10 | |||||
2020-11-27 | Quote node and profile names given to `nix build` (relates to #10) | notgne2 | 1 | -2/+2 | |
2020-11-27 | Remove old `--no-link` flags to the Nix build | notgne2 | 2 | -10/+6 | |
2020-11-24 | Fix ProfileNotFound error message | notgne2 | 1 | -1/+1 | |
2020-11-22 | Print deployment if interactive mode is disabled | notgne2 | 1 | -0/+4 | |
2020-11-22 | Remove ref/cows from DeployDefs, add interactive flag (resolves #4) | notgne2 | 4 | -54/+67 | |
2020-11-22 | Refactor running to deprecate deploy_all_profiles/push_all_profiles | notgne2 | 1 | -237/+122 | |
2020-11-22 | Partially add deployment confirmation utilities (for #4) | notgne2 | 2 | -0/+93 | |
2020-11-22 | Use `/tmp` as temp directory, not `/tmp/deploy-rs` (resolves #8 by deprecation) | notgne2 | 2 | -5/+5 | |
2020-11-21 | Build nothing if checks attribute is missing in non-flakes mode (fixes #7) | notgne2 | 1 | -1/+1 | |
2020-11-21 | fixup! Check auto-rollback flag before deactivating | Christian Höppner | 1 | -3/+1 | |
2020-11-21 | Check auto-rollback flag before deactivating | Christian Höppner | 1 | -4/+12 | |
2020-11-14 | Make `magicRollback` be enabled by default | notgne2 | 1 | -1/+1 | |
2020-11-14 | Pass extra build args to build command | notgne2 | 2 | -0/+12 | |
2020-11-07 | Remove bootstrap | notgne2 | 3 | -55/+0 | |
2020-11-07 | Unmute some more outputs, document the remaining mutes | notgne2 | 3 | -9/+2 | |
2020-11-02 | Mildly improve logging | notgne2 | 2 | -2/+3 | |