-
Notifications
You must be signed in to change notification settings - Fork 46
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
Create a deploy command #201
Comments
I think that it may be outside of a defined scope for this tool. What are we trying to accomplish? I would expect that deployment would involve the following steps:
I’m not sure that any of those things make sense as the responsibility of Acquia CLI. I’m particularly concerned about creating a strong coupling between Acquia CLI and specific composer or Drush commands. I think we should also leave it up to the user as to how they will commit changes. At most, we could create a deploy command to do the following:
Note that in specifically avoiding git, composer, and Drush operations. |
Real-life use case from an Acquia CLI user in IDEs:
|
OK, it sounds like you’re envisioning a different scope for this command. Are you suggesting that the command should push files and database upstream? Can you write the user story and requirements? |
I think I agree that it should not necessarily be an ACLI command, but it should allow for a |
For the sake of clarity, I think it might be better to do something like this:
If we add a ‘push:code’ command, I would prefer it to be non-functional and for it to simply emit a message like “Please use git to push code. If you’re using composer, ensure that you commit all required vendor dependencies to your hosting environment.” I don’t wanna be involved in the process of building an artifact at all. That is what BLT currently does, and it something the cloud should eventually do. |
This is especially important since the drush setup on Cloud IDE does not allow you push a database with something like |
Yes, consider this on the roadmap. |
Resolved by #305. |
In Acquia CLI, there's no equivalent to
ads deploy
. This means in Cloud IDE users might be confused as to how they can deploy to any Cloud environment.Here's how
ads deploy
currently works:Perhaps initially in an IDE there could be a wrapper to
ads deploy
until we have a full-blown command.The text was updated successfully, but these errors were encountered: