Use case

Automating Puppeteer Version Check and CF-Scraper Deployment Using Jenkins

About the Customer

BrightPay revolutionizes online payment card management with its card-on-file solution, enabling users to effortlessly save and update their payment cards across various online accounts and subscriptions. By centralizing card updates, users can conveniently manage their payment information without leaving their preferred platforms. This seamless integration benefits merchants and banks by providing them enhanced control over the card-on-file process, driving increased card usage, spending, and transaction volume from the outset. 

Customer Challenge

The CF-Scraper service relied on Puppeteer, a library with frequent version updates. Each update required manually updating the version in the package.json file, rebuilding the Docker image, and redeploying the service. This manual process, performed every 1-2 days, was time-consuming, error-prone, and impacted deployment efficiency. 

The customer needed an automated solution to streamline this process, detect new Puppeteer versions, notify the team, build and deploy updated versions, and reduce deployment time. 

Solution

IAMOPS implemented a two-pipeline automation process using Jenkins to streamline the version-check, build, and deployment workflows.

1) Version Check Pipeline: 

  • Automated the detection of new Puppeteer versions by comparing the latest version on NPM with the existing version in package.json. 
  • Integrated Slack notifications to alert the team of available updates.

2) Build and Deployment Pipeline: 

  • Enabled manual or scheduled triggers to build and push updated Docker images. 
  • Updated the ECS task definition and deployed the new image to the service.
  • Ensured successful deployment through ECS health checks and logging.

Results and Benefits

  • Automated Version Tracking: Reduced manual effort by automating Puppeteer version detection and Slack notifications.
  • Streamlined CI/CD Pipeline: Accelerated build and deployment processes through automation. 
  • Improved Operational Efficiency: Automated repetitive tasks, reducing errors and freeing up team time for higher-value activities. 
  • Faster Deployments: Reduced deployment time and ensured timely updates without disruptions. 
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 tools and technologies, Customer Experience with responsiveness, availability, project management, and transparency to provide an exceptional experience for our clients. 

Looking for a dedicated DevOps team?