-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backdrop Drush on Pantheon #1682
Comments
that did not work. then I tried (BACKDROP_ROOT):
but then drush was not working with my drupal 7 or backdrop site. Seems to make drupal 7 happy Have to be on |
If you want to put your Alternatively, put your Drush executable at Breaking it down:
Note also that you'll need to run |
@greg-1-anderson I've got a fresh install of backdrop on pantheon here: https://dashboard.pantheon.io/sites/03332ea9-3572-41eb-82ff-b7a53b52cf7a#dev/code php is 5.5 When I run
It is reporting drush 5.10.1? Do you think we can change the drush container for backdrop pantheon instances? I know that the backdrop drush extension is working on Kalabox @pirog could you provide any insight as to the Kalabox container config you are using for drush and backdrop? thanks for all the help. |
There is a Terminus command to set the Drush version.
Try Drush 8. |
Thanks @greg-1-anderson ! I've set the Drush version to 8
but it seems to not be fully installed in the pantheon environment? and thus can not pick up my local drush ... does that seem correct? If you have any further thoughts it would be much appreciated. incidentally there is a typo in the error message; |
On Pantheon, you need to commit your vendor directory to the repository. |
@greg-1-anderson you are my hero!
When you thanks so much! @jenlampton @quicksketch what are next steps to working with pantheon ; should we make this Can we have backdrop listed as an option now that we have a reliable way to run updates? thanks again @greg-1-anderson ! 😄 👍 😄 |
It sounds like we need to commit the backdrop-drush vendor directory into our upstream backdrop-pantheon repo? That's at https://github.com/backdrop-ops/backdrop-pantheon.
The holdup was the "run updates" checkbox on the Pantheon dashboard that's part of the deployment workflow. Can you check and see if that is working now too? |
The dashboard update operation works strictly as a series of git operations, so as long as your site's upstream is set to something (e.g. backdrop-ops/backdrop-pantheon) that is appropriately updated, then it should work fine. |
@jenlampton I've filed a To get the local drush detected on my test instance on Pantheon I had to set the drush version to drush 8 I think @greg-1-anderson has set it so that Backdrop CMS instances are running PHP 5.5 out of the box on Pantheon but it definitely needs to be >PHP 5.3 and we might consider PHP 7. We are getting close! 😄 👍 |
Today, all new sites get php 5.5 and Drush 8. I think all new sites should get PHP 7, but there are still some Drupal 7 issues with PHP 7, so we'll probably bump up to 5.6 before we go to 7. Ultimately, all of this stuff will be controlled via pantheon.yml, so the platform defaults won't be as critical -- you'll be able to just set the values you need in your upstream. |
@greg-1-anderson is there any documentation on the pantheon.yml yet, or are we too soon still? I'd love to get Backdrop on PHP7 out-of-the-box, and if all we need to do is include a config file in the backdrop-pantheon upstream that would be fantastic :) Pantheon is starting to sound a lot like OpenShift :) |
It's official:
|
Late to the party here but here is the dockerfile for the backdrop drush container |
I got terminus errors when I tried to run the command
A few thoughts:
Full report of my testing here |
I was able to get drush working for terminus, but it looks like the Pantheon UI still doesn't work. I wonder if this is because the Pantheon UI ignores the site-specific version of drush in favor of it's own flavor? I would love to hear from @greg-1-anderson or @populist on how that may actually be set up behind the scenes, and what we have to do to next get the dashboard working for backdrop sites. |
Make sure that you are running Drush 8. In your pantheon.yml:
If you do that, then pantheonssh will call the global Drush 8, which should detect and redispatch to your site-local Drush. |
Yes, that is done. Its still lot working. Should I open a pantheon ticket? On Sep 23, 2016 6:33 AM, "Greg Anderson" [email protected] wrote:
|
Open a Pantheon ticket and ask Support to pass your site id over to me. |
@greg-1-anderson I've opened a ticket and requested they pass you the site id. I'll put it here too if it helps |
@serundeputy: This looks right to me:
pantheonssh called the global Drush, which redispatched to |
Thanks @greg-1-anderson ; I agree that drush/backdrop drush extension is being picked up by Pantheon and I can execute commands via I don't know if the dashboard calls a specific drush that has no opportunity to swap out with the site local drush? If you can have a look and provide any insights that would be great! thanks so much for all your help! |
@greg-1-anderson I can confirm the same. All dashboard activities are not working with the new drush. You can see screenshots of all the dashboard tasks I tested over at backdrop-ops/backdrop-pantheon#6 (comment). Sadly, none of them worked. |
I had a great chat with @greg-1-anderson at BADCamp this weekend, and he made a change internally to the Pantheon dashboard /upstream set-up that should help with this. I haven't been able to get it working on my dev site yet due to some unrelated permissions issues, but I have hope! |
Do we need this open against core? ...or can we close, and take discussion over to backdrop-ops/backdrop-pantheon#6 ? |
That or the drush issue queue I think. Let's close this. |
BADCamp is rolling around again if this still needs attention. |
@greg-1-anderson yup. Some the gang will be there. I trust that you'll bump into each other 😄 |
Pantheon is now defaulting to Drush 8 for new sites, so the site-local Drush feature might work with Backdrop.
Haven't tried this myself, but the steps would be:
drush @pantheon.mybackdropsite.dev status
and confirm that the Drush script is, in fact, your site-local Drush.Might work.
The text was updated successfully, but these errors were encountered: