Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.One of the biggest requests for DevShop has been site-folder-repos and drush make driven development and deployment.
I'm sold. Let's make this happen.
What if we store a "makefile URL" property on projects. It could be a link to the raw source code on drupalcode.org or github. Then we could build the platforms from that.
We would then have to store a Git URL for each environment.
Hostmaster creates the sites/mysite.com folder automatically, writing over settings.php and creating the files folder.
We could run a post hosting task hook to git init that folder, and then `git remote add` and `git pull`. As long as the .gitignore ignored the settings.php and files folders, I think this would work pretty well.
I also want to make a new task called "Deploy". This would create a New Platform for the chosen tag/branch and then Migrate the site properly using aegir. Do do this I would need another table to keep track of all the platforms for an environment.
This should open things up for people that work this way.
Thoughts?










Comments
Comment #1
Jon PughComment #2
btopro CreditAttribution: btopro commentedsounds awesome!
Are these invoked via drush or bash scripts? Sounds like capability that I'd love to have in drush_recipes (as a recipe that is). Also if there's currently a script that starts providing this capability I'd love to simplify the drush call as much as possible (plus add another recipe to our community).
Once these move ahead:
#2323035: New recipe spec: Tokenized / Madlib style ingredients
#2323051: allow madlib tokens to be passed via options
Comment #3
Jon PughIt's all drush, but sometimes calling exec() for for commands.
Aegir already can deploy a platform from a make file, so it's more about figuring out the orchestration. See the provision project if you are interested in using something that builds make files and installs sites via the command line.
Comment #4
Jon PughComment #5
Jon PughI think I'm going to have to postpone this one, at least for 1.0.0
Comment #6
daggerhart CreditAttribution: daggerhart as a volunteer and at Hook 42 commentedIssue queue is now mantained at Github.
Comment #7
daggerhart CreditAttribution: daggerhart as a volunteer and at Hook 42 commented