-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Problem
Given the purpose for Onesie is to run scripts that largely account for changing data, there are times where an artifact is necessary that records actions taken, and subsequently uploaded for later analysis. This is especially useful in continuous delivery circumstances where these onesies are ran without human intervention.
With that said, it's also understood that this gems purpose is to not handle uploading of artifacts.
Proposal
Add support for a hooks system (akin to RSpec's before(:each)) that allows for either onesie set up or tear down that enables consumers to do things such as:
- prep storage providers for artifact upload
- clean up things that a onesie may have created
- Post a slack message stating this onesie's about to run
Could possibly take advantage of https://github.com/rails/rails/tree/main/activesupport for callback?
Metadata
Metadata
Assignees
Labels
No labels