[feature] added post deploy command#85
Conversation
nlewo
left a comment
There was a problem hiding this comment.
Thank you!
This is a really nice first version and i don't think important changes are required to be merged.
return output, prefixed env vars, removed println, method renames, check for env vars in test
|
I hope I managed to incorporate all requested changes now. |
|
Anything else I can help with to get this merged? |
# Conflicts: # internal/deployer/post_deployment_command.go
|
wow, i don't understand why the Nix check is failing while it works on my machine 😢 |
|
It seems like now it passed. Which does not make it any less weird. |
|
I clicked on rerun, and it worked. As you say, it's weird. Anyway, thank you for this contribution! |
|
hm, i realize that we forgot to add an option in the comin module to allow the user to set a post deployment command :/ @tcurdt I'm wondering how do you use this feature, or why you don't use the provided comin NixOS module? |
Darn! You are right.
I can only use it once it's in stable. So for now I am just waiting for it and not using it yet. |
|
Do we want it like this? Not sure about the null case. |
What do you mean by "stable"? In a NixOS release? Because comin is currently not part of nixpkgs 😅
Yes, and this could be refined in a PR. (i think there is a |
Ups. That could have been a bit of a wait then 😅
OK, let's do that. |
Tests are passing but I am sure there is room for improvement.