View All Videos

Rerun: Making shell scripts even more useful (and a bit cool, again)

39

Damon Edwards / 

I recently made a couple of additional videos about the curiosity that is the Rerun project. You can find them below.

The conventional wisdom on shell scripts is that… well… “shell scripts suck”. But why? Shell as a language is extremely powerful and useful but shell scripts can quickly become unwieldy when trying to use amongst a team or in long-lived operations. But what if you had a framework that solved the team-level problems and the lacking of standardization while letting you use the full power and familiarity of shell? Enter Rerun, a simple tool that turns your favorite shell scripts into modular automation that has standardized options handling, command line completion, documentation generation, and a built-in test framework. Suddenly shell scripts don’t suck so bad anymore.

Why am I so interested in Rerun? Because I’ve seen Rerun have a positive effect on a very real human problem: In most non-startup organizations, the DevOps divide is made worse by a mismatch of skills, tools, and technologies.

It’s common for the Ops team to have used a tool like Puppet to automate server config and image building. But when it comes to app deployment and config, the various app teams don’t have the Puppet skills or motivation to follow suit. So each app team picks their own tooling or glue language. Of course, this just confuses Ops and makes their lives more difficult. Sometimes there will be a centralized release team (often now awkwardly rebranded as the “DevOps Team”) that will attempt to pick their own solution. But, neither Dev nor Ops ends up bring happy with the choice and the “DevOps Team” is now the bottleneck in the middle. Lots of noble DevOps intentions die in scenarios like this.

The effect of Rerun is that everyone can now come to the table on equal footing and use shell as their lingua franca. They can learn to collaborate using a simple framework for the “glue” that holds things together (of course, Ops still builds server images using a config management tool and Dev still builds their apps the way they want to). The built-in documentation generation and test automation framework makes handoffs easier. Everyone knows the simple command and options interfaces, but can also read each others code if need be (it’s just shell scripts, after all). Once you get everyone engaged and contributing to bridging the DevOps Gap, you can collaboratively start to look to other newer, specialized solutions.

I have to get Rerun’s creator, Alex Honor, to do a full post on Rerun. In the meantime you might find these videos interesting:

Video 1: Chuck Scott gives a tour of how he uses Rerun to turn his “keeper scripts” into reusable, standardized, test-driven automation

Video 2: Group discussion with Anthony Shortland, Lee Thompson, Chuck Scott that looks at an example of a DevOps toolchain automated with Rerun

 

 

39 Responses

  1. Todd Trimmer says:

    – “everyone can now come to the table on equal footing and use shell as their lingua franca”

    – “it’s just shell scripts, after all”

    Telling my dev team “it’s just scripts” is like telling them to step into a tornado while exclaiming “it’s just wind!” The few who do use Cygwin only use it if absolutely necessary, and even then it’s only a few high-level commands for niche cases.

    I will certainly give it a whirl for “standardized options handling, command line completion, documentation generation, and a built-in test framework.” However, I still don’t expect dev to get their hands dirty with the scripts or gain much insight into what I do.

  2. […] post is a great intro on using rerun in a non trivial environment and demonstrates conceptual thinking […]

  3. Zandra says:

    Short and very teaching videos very good explanation method, congratulations (free instagram followers website).

  4. badooentrar says:

    good explanation.!!

  5. which they tend to be bigger accepted for.

  6. dinal says:

    good just functions on products that will be jailbroken. Kodi iOS XBMC iPhone at this level but we might just as very well keep it as Simple. Kodi iOS great.

  7. mits says:

    good In a few short minutes, the downloaded apk data file will look on your laptop. Mobdro Android mounted on your Computer simply because very well, Mobdro APK nice.

  8. Emily says:

    This is the reason it is best not to wager at all on a match including the side you bolster. watch Roland Garros live

  9. Emily says:

    Toward the day’s end to wager football is the same to wagering on tennis or baseball. Roland Garros Direct

  10. Emily says:

    here are some days the bookmakers have it wrong and that implies you can benefit from this disparity in the business sector. Roland Garros Direct

  11. pioneerseo says:

    Excellent article. I was wondering about this so I’m very happy I found your website!.visit this site

  12. Julie Soe says:

    The authentic name for these are shell scripts as they are reliant leading the shell they are operation in pay to do research paper, though for concision I will just refer to them as scripts.

  13. Jennifer Grey says:

    Making the Shell Scripts more cool means attracting more viewers towards yourself. However, you have explained about the process perfectly and i will add these in my research paper which is sponsored by Assignment Editing Help and is going to be published soon.

  14. suresh says:

    good You can commence posting to all the 4 gadgets in a one shot and Xender App software program and adhere to on display guidelines. Xender APK Download nice.

  15. Oh, that is the real thing! But sometimes shells are very diificult to install on web sites!

  16. pioneer seo says:

    This really is truly fantastic report. express appreciation you for dispersing it with us! I have a great fat removal product. If you want it so please visit our site…watch movies

  17. ved says:

    good following the step by step guidebook provided below. Live.ly APK application, right now you have got them. nice.

  18. pioneerseo says:

    We also believe that your photography process should be easy and enjoyable – we are here to take great care of you and to provide gracious and customer service.Best wedding photographer DC

  19. Jhon says:

    I am interested in this the blog. thanks for sharing this post. keep it up. I like it so much and impressed your work. I want to say thanks for sharing this post.
    professional plumbers alexandria

  20. sania dutt says:

    Enjoy playing csr classics then know the hacks of it which generators free gold csr classics hack .visit here.

  21. pioneerseo says:

    There are a lot of great ideas in this post. I hope you keep this quality level up so we can enjoy a lot more great content from your side.atualizar boleto santander

  22. pasangan mereka adalah orang asing legal. Ketika Anda
    jasa konstruksi tarif
    jasa konstruksi jembatan

  23. atau pindah ke negara bagian lain. “Kata James Esseks, direktur ACLU Lesbian Gay Biseksual Transgender dan HIV Project,”
    undangan pernikahan murah
    udangan pernikahan pink

  24. pioneerseo says:

    I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article.dentox class reviews

  25. George says:

    Good Movie theater Bx HD App uses a totally free experience for the Android, cinema box appreciate and also enjoy your favored films and also reveals solely free of cost. great.

  26. Aric Tisan says:

    Those who come to read your article will find lots of helpful and informative tips
    Management Assignment Help

  27. pioneer seo says:

    This is a wonderful article, feministiska tankar
    Given so much info in it, These type of articles keeps the users interest in the website, and keeponsharing more…good luck.

  28. pioneer seo says:

    Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.oddstips

  29. pioneer seo says:

    Excellent read, Positive site, where did u come up with the information on this posting ?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.elkjøp tilbudsavis

  30. Henry Weston says:

    Excellent post to read. No doubt such a great piece of writing. Thank you for share this useful information with us. Best Essay Writing

Post a new comment