How to Deploy Security Updates to Drupal 7 Site through Kraftwagen
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY riyas.nr
1 year ago
Security-Updates
0 comments comment

Kraftwagen is an Open Source deployment tool which is built entirely on top of Drush. Kraftwagen makes Drupal “easy to use” for developers, who customize Drupal extensively, need staged deployments and use version control systems to collaborate. It provides a set of commands for 'drush make' based Drupal development workflow.

Benefits of using Kraftwagen for security updates

By using Kraftwagen to deploy security updates, the benefits are multifold, which include

  • Kraftwagen stores configuration as code in version control as opposed to other methods which store it in a database.
  • No need of copying files to project instead refer to external code resources (Drupal core, contrib modules and external libraries). This means that your project repository is very slim.
  • Effective single command deployment to multiple deploy targets (Development, Staging, Production).

Deploying Security Updates to Drupal 7 Site

Usually deploying security updates to Drupal 7 project can be a painful process. Basic Drupal 7 site update workflow is as follows:

  1. Backup database.
  2. Backup codebase.
  3. Download newer version of modules or make use of drush command drush up.
  4. Manually investigate if the modules have been hacked or patched.
  5. Then for database changes, run update.php in browser.

But with Kraftwagen this whole process becomes easier. All Drupal 7 core and contrib projects are saved by just version number in a .make file. Everything will be downloaded at the time of site building. This itself makes updating process easier since we only need to update version number in our .make file and rebuild the site.

Steps to Deploy using Kraftwagen

  1. Update version number in .make file.
  2. Build site using command drush kw-build.

Conclusion

So it is very evident that deployment to a Drupal 7 site through Kraftwagen put developers at ease with an otherwise hectic process. This is for more serious developers who crave for some single trigger deployment unlike other file transfer or dashboard based deploy environment. Deploying with Kraftwagen helps keep your git repo simple and slim.


RELATED ARTICLE

more_horiz
close

on 30th May 2013 / by Anoop John
Maintaining a Drupal site is not just about managing the content on the site and administering users and the configuration. An important part of maintaining a Drupal site is in keeping the site updated with the latest security updates released for Drupal core and also for the contributed modules used on the site. Drupal Drupal Updates Security Updates Leave a reply Your email address will not be published. Required fields are marker *
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.