geerlingguy / drupal-operator

Drupal Operator for Kubernetes, built with Ansible and the Operator SDK.
32 stars 6 forks source link

Run Drush commands when Drupal deployment image is updated #6

Open geerlingguy opened 5 years ago

geerlingguy commented 5 years ago

If the Drupal deployment image is updated, then we should at minimum run the following Drush commands:

  1. drush updb -y
  2. drush csim -y (or drush cim -y if not using Config Split)
  3. drush cr

Maybe just updb and cr as defaults, but it would be best if the command list were overridable.

geerlingguy commented 5 years ago

Related: #9 ‚ since the default Drupal image from Docker Hub doesn't include Drush.

stale[bot] commented 4 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 4 years ago

This issue is no longer marked for closure.