这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@leemhenson
Copy link
Contributor

Hey. I've moved guts of the deploy command into a new plugin, 01_dokku-deploy. In doing this, it paves the way for other plugins to customise the deploy process a bit more. In my particular case, supporting the Shoreman plugin for greater process control:

https://github.com/musicglue/dokku-shoreman/blob/master/run-deploy

@slaskis slaskis mentioned this pull request Nov 8, 2013
10 tasks
@plietar
Copy link
Contributor

plietar commented Nov 8, 2013

Can't this be handled by a pre/post release hook, which would replace the /start script ?

@leemhenson
Copy link
Contributor Author

Yeah possibly. I suppose I like the idea of moving all the 'default' behaviour into plugins, rather than a single monolithic dokku script. Looks like the "dokku ps" pull request is doing a similar thing anyway, so maybe it's worth just letting that one play out.

@josegonzalez
Copy link
Member

This isn't mergeable, though the deploy command is looking long in the tooth. @michaelshobbs Should we pull it out into a plugin, or just close this PR out? I'm fine either way.

@michaelshobbs
Copy link
Member

We've already started this move to plugins since the dockerfile support. Might as well finish the job. Currently things we getting moved into standard. Not sure we need an actual deploy plugin. Especially if we're going to rework plugins to require a file per command. In that case, its just an organizational choice.

@josegonzalez
Copy link
Member

Closing then. If we need further work, it'll be done in a separate pr. Thanks @leemhenson for the initial PR! Sorry for the long wait on a response :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants