View All Videos

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

20

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

 

 

20 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!

Post a new comment