Automotive industry is driving innovation with DevOps

Detroit, Michigan has been the centre of the American auto industry since the turn of the 20th century, when Henry Ford churned out a few cars each day at his Mack Avenue factory. Nowadays, in addition to Ford, Buick, Cadillac and the rest of the GM family call Motor City home. Behind all the horsepower and sheet metal of the production line, car manufacturers also employ numerous software applications and tools from various vendors as part of their business. One such organisation in the automotive industry that you may not have heard of is Detroit-based Urban Science – a company that is changing the way the car industry does business.

Urban Science is a global automotive retail performance expert that serves nearly every automotive OEM in over 70 countries. From Acura to Volvo and just about every manufacturer in between, Urban Science is finding new and innovative ways for auto companies to increase market share and improve profitability. Their goal is to identify and solve the toughest business challenges of this massive industry.

Gaining insights

2016-State-of-DevOps-Survey-is-Open.jpg

They work with manufacturers to help them understand how people are buying, servicing their cars, and using their cars. Basically, if there is any kind of statistic around the automotive industry, Urban Science is tracking and interpreting it. Their work helps manufacturers gain insights across the entire product lifecycle. For example, not only can they tell you which Ford dealer is selling the most yellow Mustangs with ragtops, but they can give Ford insights into how likely the client is to bring that car back to that same dealer for repairs, and if they do so, what that means the client will do the next time they are ready to purchase a car.

You can imagine the infrastructure and software updates required to support such an operation — with its demanding customers, high stakes business, and massive amount of data being collected from all over the world and analysed 24/7.

Mark Priolo, Software Configuration Manager at Urban Science, is tasked with this challenge. Straddling the line between Configuration Management and Release Management, Priolo is responsible for building and managing the software release processes and IT environments to deliver Urban Science’s offering to its customers. And he’s doing it by implementing DevOps automation and Continuous Delivery (CD) as part their software delivery practices.

The drivers

Across its portfolio and various services, Urban Science develops and releases dozens of applications, developed and managed by hundreds of developers and IT release managers.

As Urban Science’s applications continued to get more complex, their corresponding deployments and release processes became more complex as well. Limited test coverage and lack of standardised processes and environments were delaying critical software rollouts to their clients, leading to missed releases. In addition, infrastructure utilisation was inefficient, with growing infrastructure costs and increased management overhead. For the company to remain competitive and effectively serve its customers – something had to be done.

While Urban Sciences’ IT operations teams were incredibly strong, the complex nature of these deployments continued to increase the likelihood of errors. It was identified that what was being asked of ops team simply wasn’t sustainable. For example, there were teams that were rolling out applications which required having 15-page documents with go-to logic in them (I.E. “Go to page 7 and do this…then go to page 3 and do this”). Not only were the deployments complex and time-consuming to develop, the deployment process itself could take hours.

So, Priolo set out to implement automation and CD practices to accelerate this pipeline – aiming to reduce manual tasks, one-off configurations and deployment errors, while increasing test coverage, feedback loops and release cadence.

Doing so, however, was not without its growing pains.

The challenges on the path to continuous delivery

Another challenge of automation was team-adoption. Although the executive management recognised the need to adopt DevOps practices and implement CD, these practices were not required for teams to use. Rather, teams were given a choice if they wanted to automate, or continue doing things the old, manual, way.

After a while, the organisation took a step back to analyse and re-evaluate their rollout strategy. It was clear things could be improved – and part of this realisation came directly from looking at tickets assigned to old applications’ release processes that were over two years old, and were simply not progressing, while newer, CD-enabled developments were gliding through the pipeline. Now, people were asking: “Can we automate the old stuff, too?”

Streamlining Your Path to CD

You are more alike than you realise:

The fact was, while every application’s code was unique, and some deployment processes required very unique configurations or tasks — 90 per cent of the delivery process throughout the lifecycle was the same across all applications. Priolo and his team set out to find those similarities in the commit-to-release pipeline across the different applications. Once they could map the process, they came up with a robust pipeline model that would work with that 90 per cent. They then proceeded to rolling out this pipeline, and all its inherent automation tasks, to about half a dozen teams who started using it.

The results were extremely encouraging: with a relatively small number of teams and applications included, the project had already saved over 1,800 man hours annually.

Look at the big picture, focus on the biggest pain for the biggest impact

Being a small team, Priolo didn’t want to have automation creep – ad-hoc fixing of different processes for various teams to address specific scenarios. The focus had to have been on reusability, system-level view and the ability to scale. These would allow his efforts to have the most impact for the entire organisation, rather than achieving only local optimisations, which may not amount to much in the large scheme of things (- or – may just be moving the bottlenecks to other areas in the pipelines.)

Therefore, Urban Science focused on three different pipeline models that would be applicable for the vast majority of use cases. By doubling down on those three, Urban Science can service the majority of teams and application, giving them just about everything they need.

Bring others on board!

While the initial efforts to implement automation started off with just that half dozen teams buying-in, Urban Science now has over 70 teams taking advantage of that model. Depending on the specific application and use case, some teams have chosen to release monthly, weekly, and even multiple times a day.

These three pipeline models and the standardisation across teams allow the entire organisation to become more agile, and increase product quality and release velocity and throughput. This sort of release cadence and speed was just not possible with trying to schedule times for manually manage all the processes and environments configurations involved in the delivery pipeline.

Think ‘Process as Code’

After modelling the key release pipelines and standardising their processes, Urban Science turned their focus on treating their process as code. Using a technology that enabled them to essentially export their pipeline models and all related automation as code, they were able to have their DevOps processes themselves be programmable. This meant that they could be versioned, reused and stored in their source code repository- along with their application code and environment configuration.

With the process itself being codified, Urban Science could more easily on-board new applications and teams, update their code to support additional use cases, and more easily extend certain pipelines for specific needs – achieving predictable, repeatable release processes across the organisation.

Do it end-to-end

To accomplish all this, Urban Science leveraged Electric Flow – an end-to-end DevOps Release Automation platform from Electric Cloud, to simplify build, test, deployment and release of multi-tiered applications.

A successful DevOps transformation takes the right people and culture, the right processes, and also the right tooling. From a tooling perspective, it was crucial for Urban Science to have a unified, single platform that can support their entire end-to-end delivery process, across all teams, and be able to orchestrate all the point tools, workflows and environments that are part of the process.

This ensured the ability to standardise their pipelines across teams and applications, and scale to support the entire organisation (rather than cobble-together a different chain of tools or snowflake configurations for various tasks). In addition, this provided both Development and IT shared control and visibility into their software pipeline, across development, testing and packaging stages.

To ensure compliance and organisational control, the pipeline also supports both automated and manual approval gates as code is promoted to further stages along the pipelines and into higher environments. (For example, code can be promoted automatically upon passing a battery of tests, or await a confirmation from a supervisor via the platform, before proceeding to the next stage.)

Continuous Improvement and the bottom line:

By adapting new ways of thinking and new technology solutions, Urban Science is now able to drive their software production within a Release Pipeline model. In this approach, all the tasks and workflows throughout the pipeline – from code commit to Release into Production – are being completely automated, and standardised as much as possible across teams.

This has had a great impact on the business.

DevOps and CD are essentially a journey – along a path to continuously optimise your software delivery, to improve IT and organisational performance. Automating the end-to-end Release pipeline is what “greases the wheels” for Urban Science software innovation. Now, the teams are freed to focus on developing great features, rather than on building ad-hoc workflows or doing manual work to manage the path that the code has to go through until it is ready to be released to end users.

DevOps release automation and Continuous Delivery practices have enabled Urban Science to accelerate their software delivery – saving time, lowering costs and increasing productivity. They are now able to better serve their automotive clients – building new and innovative solutions that are changing the way auto manufacturers produce, sell and services their cars.

Urban Science achieved:

  • Faster and more frequent deployments. Urban Science went from 12 deployments per week to 40 deployments a week.
  • Fewer person resources required. Manual processes replaced by automation reduced person resources needed for deployment by 78 per cent.
  • Fewer process errors. Tedious, error-prone manual operations have been eliminated, improving predictability and reliability, and reducing the number of deployments needed.
  • Better software quality. Automated deployments mean more time is spent testing instead of on the deploy process.

Sam Fell, author at Electric Cloud