omega8cc / boa

Barracuda Octopus Aegir 5.5.0-PRO
https://omega8.cc/compare
394 stars 75 forks source link

provision_platform_git ? #473

Closed niccolox closed 4 years ago

niccolox commented 10 years ago

is it possible to use the Aegir contrib provision_platform_git in BOA?

will provision_platform_git break BOA?

omega8cc commented 10 years ago

It was/is included for testing, but I don't think it works.

omega8cc commented 9 years ago

You have reported via e-mail that you were able to make it work. Please share what you have found so others could benefit.

niccolox commented 9 years ago

it was a quick proof of concept, a manual hack, I havent repeated this, and and no doubt wont survive and upgrade, I should modify the BOA script, but I dont have time, apologies for that

all I did was git clone the latest Provision Platform GIT and replace /data/disk/o1/.drush/xts/provision_platform_git

fixed permissions for o1:user (although again, I need to tweak this, I think the folder should have slightly different permissions to the folder contents)

verified the aegir site o1.aegirboa.domain.gov in aegir itself

logged into admin user on o1.aegirboa.domain.gov and enabled module (I also changed roles for the admin user, but I would have to check again if that was needed)

then created a new platform, and the provision from git option was available, had to expanded

I used John Pughs Hubdrop.io / Github drupalprojects repo of Drupal 7

pasted the github url for cloning

added the 7.x tag (could of been a branch if on a different repo)

the platform was created, verified, then I created a site

and job done, thankyou Aegir BOA and thankyou cweagons

I knew the Hosting Platform GIT and Provision Platform GIT combination was in a working state because I was generously given a demo by https://github.com/xalgorithm at the Badcamp Devops summit 2014 in San Francisco who is Drupal lead at https://www6.slac.stanford.edu/ where they use a git flow branching philosophy and on a multi server (I think wolf pack) implementation on RHEV

being able to create platforms based on branches or tags, using git centered workflow is a standard approach imho

one of the big pain points we have with aegir boa is fact that when creating a git based custom site, in static, you dont see GIT information in the Aegir UI, instead you work from command line

with Hosting Platform GIT/Provision Platform GIT you have the basis of making GIT centered Aegir workflow a first class citizen

one thing I have not tried, is developing a site in devshop or locally and then pushing it to Aegir BOA using the Hosting Platform GIT/Provision Platform GIT as a bridge

..

as a general research direction I have been testing Dokku-Alt, and Deis, which are Docker PAAS, and they are totally GIT workflow based for deployment (Pantheon and Acquia Cloud are also, who uses sftp if they can avoid it?)

it would be really great if you could just git push aegir-origin master a project from local to an Aegir site

obviously thats a separate ticket

karudonaldson commented 9 years ago

+1. I'd love to see it implemented, have been anticipating something like this as it makes total sense

niccolox commented 9 years ago

me too ! +1

all it would take is for the Provision Hosting GIT extension to be updated in Aegir BOA installer/updater

most of the elements are in place

omega8cc commented 9 years ago

OK, thanks for the feedback. If this works, then we will of course add this workflow in BOA. We have tried it before moving BOA from our previous Aegir 2.x fork to latest Aegir 2.x with newer Drush, so maybe that is why it didn't work before.

niccolox commented 9 years ago

I got it working first on mainline Aegir 2.x on Wheezy and then within our production environment Aegir BOA Wheezy, like yesterday, I think there is updated code from cweagons

omega8cc commented 4 years ago

This is done by including more modern https://www.drupal.org/project/hosting_deploy