cachix icon indicating copy to clipboard operation
cachix copied to clipboard

Make `cachix deploy activate` command output logs from each machine

Open domenkozar opened this issue 3 years ago • 1 comments

The current behavior can be kept with --async.

  • [ ] Allow downloading logs from the deployment
  • [ ] Prepend log output with the agent name (ideally colored)
  • [ ] Detect if the deployment was successful or not

domenkozar avatar Dec 17 '21 11:12 domenkozar

I should also point out that it should send an error code if profile activation failed, that way something like a Hercules-CI effect will show that the deployment failed.

Kranzes avatar Aug 24 '22 22:08 Kranzes

Another user requested this via support!

@sandydoo has a prototype stashed, so it will get done in the next weeks :v:

domenkozar avatar Nov 02 '22 10:11 domenkozar

While this is almost ready, it will ship in v1.2

domenkozar avatar Dec 18 '22 11:12 domenkozar

https://github.com/cachix/cachix/pull/482

domenkozar avatar Dec 30 '22 16:12 domenkozar

Great! When operating in this mode, will the deploy command also exit with non-zero status when any agent’s activation fails?

dhess avatar Dec 31 '22 17:12 dhess

Yeah :)

domenkozar avatar Jan 02 '23 10:01 domenkozar

Implemented in https://github.com/cachix/cachix/pull/482, going to release 1.2 shortly

domenkozar avatar Jan 06 '23 18:01 domenkozar