How to Collaborate between Development and Operations Team Fast and Effectively

0
31
Collaborate between Developmet and Operations Team
Collaborate between Developmet and Operations Team
Spread the love

Collaborate between Development and Operations Teams are the key in the Agile and DevOps. This post will elaborate on three primary models on how to collaborate between Development and Operations Team.

Agile software development has broken down some of the isolation between requirements, analysis, development and testing teams. The objective of DevOps is to remove the silos between development (including testing) and operations teams and bring about collaboration between the teams.

However, since there are separate teams and also the fact the team may have niche skills rather than skills across the software development life cycle, there could a phased approach for creating a pure DevOps team.

There could be two types of DevOps team engagement –

Collaborate between Development and Operations

Model – 1 –   Separate Dev and Ops teams.

Key Issue

Lack of Collaboration between the teams they are silo-ed. However, it may be possible to merge the teams, so the key is to improve the Collaboration through Common interventions. As mentioned in figure, the development and operations (may even have testing teams separate) are separate –

 

  1. Interventions planned at regular intervals with no overhead processes.
  2. Teams keep separate backlogs but take each other’s stories in their backlogs.
  3. Ops team gets knowledge about upcoming features, major design changes, possible impact on production.
  4. Dev team understands what causes outage/defects better, improves Dev processes to reduce the impact (e.g. specific logging, performance testing for a cycle).
  5. Dev team improves the development process over time by understanding Ops defects/outages better.

Model – 2 -Pure DevOps

The teams may be merged although DevOps skills set (end-to-end skills in a software life cycles) may not be readily available.

  1. The embedded team can be created by hiring people with blended skills or cross-training / on the job learning by Dev & Ops teams for each other’s skills.
  2. Team has single backlog with both Dev & Ops tasks.
  3. Each team member is capable of selecting any item & work on it.

Model 3-  One team with Ops Extension: Hybrid

When a pure DevOps team cannot be constructed, a model closer to the pure DevOps team can be constructed.

  1. The horizontal Ops team forms a backbone for all development teams. It provides 24^7 support and performs the tasks which have a larger impact on IT e.g. patch development.
  2. Few Ops team members can become part of the Dev team and perform tasks which are application-specific. An ops team member can become part of the Dev team. This Ops representative will focus on all the Ops activities which are this team/application-specific while all Centralised Ops activities will be taken by horizontal Ops team when speed is increased, deployments are faster. Then teams realise that support service levels start dropping. That is when teams realise the importance of collaboration between development and Ops teams. Reduce the length of the release documents and hand over time.
READ  What Is The Idea Behind Parallel Testing in Automation?

Streamlined Processes across the Delivery lifecycle from Development to operations

Here are the possible process models –

process Model
process Model

The process is important because where teams are merged, the new process that needs to be adopted becomes critical.

Model – 1   Devs and Ops separate

The Development Team may be following an agile approach say scrum. The Ops team may be following another process (ITIL). Here is how the process can be adopted –

  1. Dev in scrum and Ops in any iterative model.
  2. Iteration duration matches with Dev iterations.
  3. Governance team (programme manager) for conflict resolution.
  4. Few team members cross-participate in daily stand-up.

Disadvantages of this model are –

  1. Frequent conflict and less appreciation for each other’s work.
  2. Cross skilling of talent is not possible.

Model – 2  Dev and Ops separate but following similar processes

The development and operation team may be following Agile approach say scrum (by the development team) and Kanban (by the operation team). Here is how the process can be adopted –

  1. One group does scrum and other Kanban as ONE team.
  2. Two different product backlog (PB) but a single product owner (PO).
  3. Dev team works on user stories and Ops team works on high priority Kanban product backlog (PB).
  4. Any interdependent work items are prioritised by the product owner (PO) to resolve dependencies on time. Daily stand-up by the teams.

Disadvantage

  1. Cross skilling of talents is limited.

Model 3:   Unified process

When there is a unified DevOps team, they can follow a unified process like scrum ban.

Advantages

  1. Single product owner (PO) with one product backlog (PB).
  2. Based on history, planned vs unplanned effort considered across.
  3. The team works on the prioritised user stories.
  4. High priority is set to unplan high severity incident.
  5. A team member having expertise in that takes up and resolves.
  6. Cross skilling of the talents is possible

Application in projects

Continuous integration and Continuous delivery is not just about the technical implementation but it is also an organisational and cultural implementation. There can be challenges faced by the team while implementing the same.

The challenges may come from the client is not conversant with the practices. Similarly, with different people and process models, the team may face issues with capacity planning.

There can be challenges related to access control or security with multiple groups involved. The team has to take care of these challenges as they proceed with the DevOps implementations.

READ  How To Configure Jenkins With Selenium Projects

Step by step process of implementing Continuous Integration and Continuous delivery

  1. Use version control repository:– This is the first step and is necessary to start implementing CI. The main objective of using a version control repository is to manage all the Source Code Changes and other software artefacts using a controlled access repository. This provides the team with a “Single source point” so that all Source Code is available from one primary location.

    Version control tools
    Version control tools
  1. Configure the CI Server:- The CI server has to be configured within the project environment to continuously check for any changes in the Version Control repository. The main purpose of the CI server is to run an integration build by retrieving the source files whenever a change is committed to the version control repository. The CI server should support hard-scheduling of the builds on a regular frequency, that is every hour and should provide a dashboard and feedback mechanism where the results of the builds get published.

    continuous-integration-Servers
    continuous-integration-Servers

Build Script for Automation: -Next step is to build automatically. Build scripts must be developed and implemented (which could be a single script or a set of scripts). That will automate the software build cycle which includes Coupling, testing, inspecting and other deployment processes. Developers from the teams that implement CI System should run different Categories of tests which includes Unit, Component, System, functional, regression to speed up the build process and cheek build quality.

Automation
Automation

This step is very important and critical in large projects. It helps in stabilizing Coding Conventions and Constantly monitors Code for

  1. Average Code Complexity
  2. Cover of Code
  3. Duplication of Code
  4. Performance requirements.

If any suspicious code is committed, the server should generate and publish warnings.

  1. Configure CI with automated Deployment

After the creation of each build, how a version of binaries should be automatically deployed to test servers. It helps in importing integration with customer system. After each fix, the customer may verify new versions.

Automatic deployment
Automatic deployment

Best Practices

To reap maximum benefits of implementing Continuous Integration it is advisable to follow the best practices listed below –

The Code Quality Analysis.

    • Commit Code frequently – One of the major advantages of CI is integrating early and often. So to utilize the advantages of CI, developers must commit the latest version of the Code frequently. Waiting for more than a day to commit Code may not be beneficial and prevent developers from being able to use the latest changes.
    • Don’t Commit broken Code – A precarious assumption in any project is that everyone knows not to Commit Code that would not work on the version control repository system. The eventual mitigation of such risk is to have a well-featured build script the complies and tests source Code in a repeatable manner. A team member should always run a private build before Committing Code to the version control repository. It is required to make this process part of the development culture.
    • Fix broken builds immediately –Broken builds is anything that prevents the build from reporting success. It may be a Compilation error or a failed test. When Operating in a CI environment, their problems should be fixed immediately. Fixing a broken build should be done on a high priority.
    •  Write automated developer tests – Build should be e automated in order to run tests for CI system. It is essential to verify that the software works using automated developer tests.
    •  All tests and inspections must pan –In the CI environment, 100% of the project’s automated tests must pass. For any build to pass, automated tests are as important as a compilation. Codes that have error will not work and if we accept such codes, it will lead to lower quality software.
    •  Run Private Builds-To prevent integration failure, the developer should run private build in the local environment before integration changes into the repository. Any defects found in a private build should be fixed before committing changes. This ensures less broken builds.
    •  Avoid Getting Broken Code:-Failure of the build will lead to wastage of time if developers get broken Code from the repository. Developers should get the latest Code only when the build failure is fixed.

Similarly to reap the benefits of Continuous Delivery, the delivery pipeline must be as smooth as possible. Some of the best practices that can be followed are –

  1. Production like environment– Throughout the delivery pipeline, keep the Dev, QA, Pre-prod/ Staging environment same or as close to a production-like environment. This helps in failing early and fixing fast.
  2. Practice feature toggle– Feature toggle allows the software to be delivered/deployed Continuously, but the incomplete features/functionality remains active. This enables the business to take the decision to go live anything.
  3. Strong Configuration management – Not just for Code, have strong configuration management for test scripts, DB schema deployment scripts, server configurations etc.
  4. Automate more– Other than User experience and few areas of testing that needs manual intervention, all other tests, process and deployments should be automated in the delivery pipeline. Automatic promotion to a higher environment should be practised.
  5. Some binary or deployable artefacts across the pipeline– Some binary artefacts or deployable artefacts reduce surprises in every deployment.
  6. Quick feedback from each stage – Instant group chats/display boards can help in faster feedback and better collaboration. It is also very important to fix the issues with its most priority.

Conclusion

Collaborate between Development and Operation team is very important for a successful DevOps journey. I hope practising these guidelines will sure solve most of the DevOps troubles.

If you like this post please consider it sharing.


Spread the love
I am the founder and owner of the blog - TechTravelHub.com, always love to share knowledge on test automation,tools,techniques and tips.I am a passionate coder of Java and VBScript.I also publish articles on Travel ideas and great honeymoon destinations.Apart from these, I am a gear-head,love to drive across India. I have shared lots of articles here on How to travel several parts of India.Customization of cars aka car modification is my another hobby.Get in touch with me on ani01104@gamil.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here