:) Can you give me a concrete example of a standard operation you might perform with Jenkins? Unfortunately, I’m a little slow sometimes. Okay, I’m sure the more savvy listeners followed that perfectly.If it does pass the tests, you may want the code automatically deployed to staging, for example. If it does, you don’t want their work merged or deployed. When each developer commits their work, you want to know if it breaks any of the tests. Think SimpleTest for Drupal 7 or PHPUnit for Drupal 8. Hopefully you have also written some tests. Think of it this way - you have multiple developers working on a project, all committing their code to Git or SVN. In simplest terms, its like a cross between a cron and a job queue that’s integrated with revision control. Other CI’s include Gitlab CI or Bamboo from Atlassian, but Jenkins is open source and has been around a long time. Lets start with Jenkins - it is what is termed a Continuous Integration server - or CI for short.So, can you start out by explaining what they are? You mentioned Ansible and Jenkins - I’ve heard of Jenkins, but haven’t used it, and I haven’t even heard of Ansible.Cascade automates this so those with the right permissions can do this with a click of a button. A lot of Drupal developers aren’t also sysadmins - so they aren’t involved with, or maybe don’t have permissions, to take code live - they may also not have access to copy the database down for development purposes. I’ve been working on a project we call Cascade which leverages two open source tools, Jenkins and Ansible. Since transitioning to BlackMesh this past August, my focus has changed to automating the development workflow process, with a special focus of course on Drupal. What is the most recent project you have been working on?.Read more about 130 Building Sites with Drush Recipes and Profiler Builder with Bryan Ollendyke - Modules Unraveled Podcastġ29 Automation Tools with Solomon Gifford - Modules Unraveled Podcast.Where can we see your recipes and contribute our own?.dwr - Interactive (What theme do you want to install?).I use TextExpander to do this, so I just type a shortcut, and my commands are filled in.You might need to mess around w/ it to get a sense of some of the things you can do with it since it’s a lot more then just chain automation as it supports branching path logic, automatic recipe authoring, drush commandline recording to author recipes, the ability to take two sites and engineer the difference between them (as drush calls), remote loading of recipes, etc.Why do this instead of just using standard drush calls?.Drush Recipes is a series of drush calls chained together in a lightweight command-file, similar to chef and it’s recipes / roles structure.Is there anything that Profiler Builder doesn’t catch?.My work on profiler builder started to lead me toward the notion that install profiles and distributions can be more of a pain then they are worth, hence recipes. Profiler Builder was created cause I’m lazy and wanted to just build a site, then figure out the profile, not build both at the same time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |