You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature I would really like to have is being able to trigger CI on pushes to main (or on releases?)
Thinking out loud, but would it be possible to
Identify some key lifecycle events. Maybe Pushed (to main) and Released?
Identify some function name/signature to use as a convention (maybe ci : ShareEvent -> {IO, Exception} ())
When events are triggered, if this function exists in the project, run the CI function?
Might need to figure out how unit tests fit into this as well (Maybe there should be another ciConfig function that returns a CIConfig with some data on how to handle this?). But even with just the above I could do something like
ci event = match event with
Pushed (Branch "main") ->
deployStage
Released ->
result = runIntegrationTests
if result then deployProd else (throw ErrorThatBlocksRelease)
_ -> ()
Would also be down to try to contribute for this but would need a lot of help ;)
The text was updated successfully, but these errors were encountered:
We've definitely got notification webhooks on our roadmap actually!
The main thing holding us up is that we'd like to implement this feature using unison cloud for parts of it, and we're still figuring out what that integration looks like 😄
A feature I would really like to have is being able to trigger CI on pushes to main (or on releases?)
Thinking out loud, but would it be possible to
ci : ShareEvent -> {IO, Exception} ()
)Might need to figure out how unit tests fit into this as well (Maybe there should be another ciConfig function that returns a CIConfig with some data on how to handle this?). But even with just the above I could do something like
Would also be down to try to contribute for this but would need a lot of help ;)
The text was updated successfully, but these errors were encountered: