aboutsummaryrefslogtreecommitdiff
path: root/src/push.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-10Add a flag for building with nix-output-monitornom-flagstuebinm1-3/+4
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.
2023-05-05fixup! [#202] Provide '^out' suffix for deriver on newer nixRoman Melnikov1-7/+15
2023-05-05[#202] Provide '^out' suffix for deriver on newer nixRoman Melnikov1-3/+24
Problem: Since 2.15 nix no longer reference '.drv' as derivation outputs. At the same time, nix before '2.13' doesn't support '.drv' special suffix handling. Solution: Provide '^out' suffix for the profile deriver in case 'nix path-info <...>.drv' returns the same '<...>.drv' path. In other cases either an error about the build result not being present in the /nix/store is returned or an actual build result path is returned.
2023-04-14[#197] Fix hostname overriding for remote buildsRoman Melnikov1-8/+6
Problem: '--hostname' is ignored when used with '--remote-build'. Solution: Account for 'data.deploy_data.cmd_overrides.hostname' when building a profile remotely.
2022-12-29Build every profile first, then push (#158)2xsaiko1-14/+19
Try to build everything first before pushing to remotes. Since the build is more likely to fail than the upload, if there is an error the deployment will fail sooner and before uploading any potentially unusable configuration.
2022-11-18Add option to build on the remote hostPhilipp Herzog1-59/+135
2021-08-12General code cleanupnotgne21-20/+20
2021-07-02Evaluate only once, and then only realiseAlexander Bantyev1-9/+47
2021-02-09Clean up adding Command argumentsnotgne21-10/+10
2021-01-26changed: remove 2015-style extern crateBernardo Meurer1-2/+2
2021-01-08Remove unused DeployPathToActivatePathErrornotgne21-2/+0
2021-01-08Struct-ify arguments to push_profilenotgne21-37/+56
2021-01-08Restructure projectnotgne21-0/+0
2020-12-19Fix fast_connection flag to enable substitute-on-destination correctlynotgne21-1/+1
2020-12-02Fail early if there is no activation script in profile pathAlexander Bantyev1-0/+17
2020-12-02Use DeployData's store path to build the activate-rs pathAndreas Fuchs1-1/+0
This gets rid of yet more code, so - win!
2020-12-02Don't copy the activate script (it's part of the closure anyway)Andreas Fuchs1-1/+0
2020-12-02Use the profile closure's activate script to activate the profileAndreas Fuchs1-6/+2
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-27Quote node and profile names given to `nix build` (relates to #10)notgne21-2/+2
2020-11-27Remove old `--no-link` flags to the Nix buildnotgne21-9/+5
2020-11-22Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne21-1/+1
2020-11-14Pass extra build args to build commandnotgne21-0/+5
2020-11-07Unmute some more outputs, document the remaining mutesnotgne21-2/+1
2020-10-30Abbreviate match expression with unwrap_or()notgne21-4/+1
2020-10-29Make all the errors work correctly (I am so so sorry)notgne21-13/+42
2020-10-23Add an option to keep build resultsnotgne21-13/+30
2020-10-23Fix log messages, prevent non-flake builds writing to result, unmute stderr ↵notgne21-4/+3
on nix builds
2020-10-13Clean up some CLI arguments, make magic rollback optionalnotgne21-1/+1
2020-10-02General improvements, deprecate `activate` profile option in favor of ↵notgne21-5/+0
executing $PROFILE/activate (Wrap It Yourself) to ensure successful rollback activations
2020-10-01Handle more command exits correctlynotgne21-9/+21
2020-10-01Rework system for deploy properties, add CLI override flagsnotgne21-23/+23
2020-10-01Improve nix copy stuffnotgne21-4/+6
2020-09-29Add license information, reformat Nix files, clean upnotgne21-0/+4
2020-09-28use separate binary for activation, more cleanupnotgne21-1/+1
2020-09-28Add missing filesnotgne21-0/+108