Skip to content
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

Update deployment commands to use new Drush 10 recommendations #2779

Closed
ElijahLynn opened this issue Aug 26, 2020 · 4 comments
Closed

Update deployment commands to use new Drush 10 recommendations #2779

ElijahLynn opened this issue Aug 26, 2020 · 4 comments
Assignees
Labels
DevOps CMS team practice area Needs refining Issue status

Comments

@ElijahLynn
Copy link
Contributor

Update deployment commands to use new Drush 10 recommendations. We are still on Drush 8 because CI is stuck there until we do something about it. New recommendations in drush-ops/drush#4359 are:

drush updatedb --no-cache-clear # Runs updates and post-updates
drush cache:rebuild
drush config:import
drush cache:rebuild

Our current steps are:

drush status # This populates opcache and takes a long time
drush cache:rebuild
drush updatedb # Runs updates and post-updates
drush config:import
drush cache:rebuild

Need to test this a bunch and I think this might make deploys a bit faster since the updatedb has a --no-cache-clear flag.

@ElijahLynn ElijahLynn added DevOps CMS team practice area Performance labels Aug 26, 2020
@ElijahLynn
Copy link
Contributor Author

Related #1230.

@ElijahLynn
Copy link
Contributor Author

And if we end up on Drush 10 by the time we get to this, update commands to just be drush deploy.

@oksana-c oksana-c added the Needs refining Issue status label Jan 5, 2021
@oksana-c oksana-c added this to the CMS Sprint 27 - Core milestone Feb 16, 2021
@ElijahLynn
Copy link
Contributor Author

And if we end up on Drush 10 by the time we get to this, update commands to just be drush deploy.

We will be getting to Drush so we should do this instead.

@ElijahLynn ElijahLynn removed this from the CMS Sprint 27 - Core milestone Feb 16, 2021
@ElijahLynn
Copy link
Contributor Author

ElijahLynn commented Feb 22, 2021

Done in PR #4378 as part of story #3904.

@ElijahLynn ElijahLynn self-assigned this Feb 22, 2021
@ElijahLynn ElijahLynn added this to the CMS Sprint 26 - Core milestone Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps CMS team practice area Needs refining Issue status
Projects
None yet
Development

No branches or pull requests

3 participants