Use case

Optimizing Code Integration Duration
using Jenkins and Docker

About the Customer

BrightPay is a cutting-edge solution that simplifies online payment card management. By offering a seamless card-on-file feature, BrightPay allows users to easily save and update their payment cards across various online accounts and subscriptions. This streamlined experience enables merchants and banks to gain more control over transactions, leading to increased card usage, spending, and overall transaction volume.

Customer Challenge

BrightPay’s development team was facing significant delays due to lengthy build times in their Code Integration pipeline. Each build process took between 12 to 15 minutes, causing interruptions in the workflow and delaying the delivery of features to customers. The team sought to optimize the build pipeline to enhance the efficiency of developers, reduce the overall build time, and accelerate the release process of new features and updates.

These prolonged build durations led to a slower feedback loop, making it difficult for developers to integrate changes efficiently. The need for a solution that could significantly reduce these times and enhance productivity became critical for BrightPay to maintain its competitive edge.

Solution

IAMOPS implemented a solution that focused on optimizing the Code Integration pipeline by using a Jenkins build pipeline and Docker to standardize and accelerate the build process for all microservices.

Identifying and Extracting Common Dependencies:

  • The solution began with identifying common dependencies across BrightPay’s microservices. These dependencies, such as libraries and frameworks, were then extracted into a separate Bitbucket repository, reducing redundancy and improving maintainability.

Modification of the Jenkins Pipeline:

  • The existing Jenkins pipeline was modified to handle these common dependencies before building the microservices. This modification ensured that common components were always up-to-date and reused, which contributed to reducing the overall build time.

Leveraging Docker and Pre-cooked Images:

  • A base Docker image containing the necessary dependencies for the application was pulled from an AWS registry. Each microservice used this base image, minimizing redundant steps in the build process and speeding up the overall pipeline execution.

Docker Image Standardization:

  • Docker images were standardized across all microservices to ensure consistency. By standardizing the development environment, BrightPay  could maintain clear processes for each microservice, leading to easier management and faster builds.

The diagram below illustrates the architecture and flow of the Jenkins build pipeline.

Semantic Release Workflow

Results & Benefits

By implementing the optimized Code Integration pipeline, IAMOPS delivered significant improvements to BrightPay’s development processes:

  • Reduced Build Time: The use of pre-cooked Docker images reduced the build time for each microservice to approximately 1.5 minutes. The overall pipeline execution time was decreased to 4-6 minutes, a drastic improvement from the previous 12-15 minutes.
  • Improved Dependency Management: Common dependencies were centralized in a separate repository, which enhanced maintainability and eliminated duplication across microservices.
  • Increased Developer Efficiency: Developers could now integrate and deliver changes faster, improving overall productivity and enabling the timely delivery of new features to customers.
  • Standardization Across Microservices: Each microservice now had a dedicated Docker image, promoting consistency, ease of management, and streamlined updates across the board.

About IAMOPS

IAMOPS is a full DevOps suite company that supports technology companies to achieve intense production readiness.

Our mission is to ensure that our clients’ infrastructure and CI/CD pipelines are scalable, mitigate failure points, optimize performance, ensure uptime, and minimize costs.

Our DevOps suite includes DevOps Core, NOC 24/7, FinOps, QA Automation, and DevSecOps to accelerate overall exponential growth.

As an AWS Advanced Tier Partner and Reseller, we focus on two key pillars: Professionalism by adhering to best practices and utilizing advanced technologies, and Customer Experience with responsiveness, availability, clear project management, and transparency to provide an exceptional experience for our clients.

Looking for a dedicated DevOps team?