How to write a capistrano plugin?

113 visninger
Gå til det første ulæste opslag

Haani Niyaz

ulæst,
12. aug. 2016, 05.57.5212.08.2016
til Capistrano
Hi there,

I'm interested in writing a few Capistrano plugins to share some of the code resources between multiple capistrano projects we use. I assume this where writing a Capistrano plugin would come in handy unless there is a better way?

I'm wondering how to get started. Does anyone have any step-by-step resources they can point me to? 

Thanks.

Lee Hambley

ulæst,
12. aug. 2016, 06.35.2612.08.2016
til Capistrano
Hi Haani,

The best thing to do is to look at something like https://github.com/capistrano/rails plugin and/or something *very* simple such as https://github.com/harrowio/capistrano-harrow which is a minimal plugin with one single hook

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/793a1a22-1f89-4da3-bffb-0afdb534e752%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Haani Niyaz

ulæst,
14. aug. 2016, 22.29.3714.08.2016
til Capistrano
Thanks Lee. I'll take a look.


On Friday, 12 August 2016 20:35:26 UTC+10, Lee Hambley wrote:
Hi Haani,

The best thing to do is to look at something like https://github.com/capistrano/rails plugin and/or something *very* simple such as https://github.com/harrowio/capistrano-harrow which is a minimal plugin with one single hook
On 12 August 2016 at 11:57, Haani Niyaz <haani...@gmail.com> wrote:
Hi there,

I'm interested in writing a few Capistrano plugins to share some of the code resources between multiple capistrano projects we use. I assume this where writing a Capistrano plugin would come in handy unless there is a better way?

I'm wondering how to get started. Does anyone have any step-by-step resources they can point me to? 

Thanks.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.

Marcos Chicote

ulæst,
20. sep. 2016, 11.18.5420.09.2016
til Capistrano
Hi Lee
I'm working on a Capistrano plugin myself and I've been looking at https://github.com/seuros/capistrano-puma and https://github.com/seuros/capistrano-sidekiq for guidance.
Its a very simple plugin strongly based on an existing plugin that is not being maintained anymore so I just wrote the code and I now want to test it a little bit. However, I can't figure out how can I easily execute the task I wrote from the command line while developing. Current version does not use any methods from Capistrano (they are commented out actually). Can you help me with this? All code is available at https://github.com/mchicote/capistrano3-autoscaling-deploy

Thanks!


On Friday, August 12, 2016 at 7:35:26 AM UTC-3, Lee Hambley wrote:
Hi Haani,

The best thing to do is to look at something like https://github.com/capistrano/rails plugin and/or something *very* simple such as https://github.com/harrowio/capistrano-harrow which is a minimal plugin with one single hook
On 12 August 2016 at 11:57, Haani Niyaz <haani...@gmail.com> wrote:
Hi there,

I'm interested in writing a few Capistrano plugins to share some of the code resources between multiple capistrano projects we use. I assume this where writing a Capistrano plugin would come in handy unless there is a better way?

I'm wondering how to get started. Does anyone have any step-by-step resources they can point me to? 

Thanks.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.

William Johnston

ulæst,
21. sep. 2016, 03.12.2021.09.2016
til capis...@googlegroups.com
You can run something like bundle exec cap dev --trace
autoscaling_deploy:setup_instances to test. Is this what you are
looking for?

~William Johnston
> https://groups.google.com/d/msgid/capistrano/b8251427-89b2-45a0-ae30-4a9ec6ac9b84%40googlegroups.com.
Svar alle
Svar til forfatter
Videresend
0 nye opslag