populist / drupal-auto-update Goto Github PK
View Code? Open in Web Editor NEWA little bit of magic for automatically updating Drupal sites
A little bit of magic for automatically updating Drupal sites
Drush fails when trying to update contrib modules:
Message in Slack:
Drupal contrib has *updates available* for the following modules: Command, pm-updatestatus, needs, a, higher, bootstrap, level, to, run, -, you, [error], to, run, this, command., The, drush, command, 'pm-updatestatus', could, not, be, executed., [error], Could, not, find, a, Drupal, settings.php, file, at, [error], sites/default/settings.php.
Circle CI during drupal-auto-update.sh:
Command pm-updatestatus needs a higher bootstrap level to run - you [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'pm-updatestatus' could not be executed. [error]
Could not find a Drupal settings.php file at [error]
sites/default/settings.php.
[notice] Command: auto-drupes.update-dr -- drush pm-updatestatus [Exit: 1]
[error]
[notice] Command: auto-drupes.update-dr -- drush pm-updatestatus [Exit: 1]
[error]
Updating Drupal modules on the update-dr multidev...
Command pm-updatecode needs a higher bootstrap level to run - you [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'pm-updatecode' could not be executed. [error]
Could not find a Drupal settings.php file at [error]
sites/default/settings.php.
[notice] Command: auto-drupes.update-dr -- drush pm-updatecode [Exit: 1]
[error]
I'm finding the following line of code is returning a false positive result when module names are long. See the screenshot. Would another result format work better? of possibly using the --pipe
option instead?
PLUGIN_UPDATES="$(terminus drush $SITE_UUID.$TERMINUS_ENV -- pm-updatestatus --format=list | grep -v ok)"
BTW, thanks for this. There is real value in the concept.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.