theSteveMitchell / after_party

Automated post-deploy tasks for Ruby/Rails. Your deployment is the party. This is the after party
MIT License
241 stars 50 forks source link

Add pretask feature #26

Closed edk closed 9 months ago

edk commented 8 years ago
Adding new pre-task feature.

This is disabled by default (for backwards compatibility), but when
enabled, allows filtering of tasks that start with the name, 'pretask'
to be hidden from the regular after_party run and status tasks.

Instead they will get run in a new 'after_party:pretask' namespace, with
the same tasks, `run` and `status` that are specific to the pretask
namespace.
theSteveMitchell commented 9 months ago

@edk I hope you're still alive and well. Is this something you're still wanting? I'd love to hear a little more about your usecase

edk commented 9 months ago

Hi! Sorry, it's been a while and I'm no longer at the company where we were using this. I vaguely remember it being about being able to have more control over how things ran, but I don't remember the details any more. I'm sure we worked around it somehow, but I don't recall :)

I'll close the PR, thanks!