Modernization at Scale with the CLI and CI/CD Pipelines
Ayan Gupta shows how to take GitHub Copilot’s Java modernization workflow out of the IDE and run it at scale from the terminal, producing assessment reports, upgrade plans, diffs, and pull requests across many repositories, and wiring the process into repeatable CI/CD and scheduled jobs.
Overview
Modernizing a single legacy Java app in an IDE can work well, but this episode focuses on scaling that workflow to dozens or hundreds of repositories by moving it into a CLI-driven, automatable process.
Using the GitHub Copilot CLI to modernize multiple repositories
The episode covers how to use the GitHub Copilot CLI modernize command to:
- Scan and modernize multiple repositories in one workflow
- Produce reviewable artifacts per repo, including:
- Assessment reports
- Upgrade plans
- Diffs
- Pull requests on GitHub
Delegating work to parallel cloud coding agents
Ayan explains how to delegate assessment and upgrade work to cloud coding agents that can run in parallel, so modernization work can be performed across a large repo portfolio concurrently.
Reviewing consolidated results across a repo portfolio
The video describes reviewing consolidated assessment outputs across multiple repositories, including:
- Blockers
- Upgrade needs
- Technology distribution across the portfolio
From plans to pull requests
The episode walks through the workflow where agents:
- Generate upgrade plans
- Apply changes
- Produce pull requests that you review like any other code change in GitHub
Fitting modernization into CI/CD and scheduled automation
The episode positions CLI-based modernization as something that can be operationalized via:
- CI/CD pipelines
- Scheduled jobs
- Batch runs across an entire application portfolio
Treating modernization as continuous maintenance
A key theme is that modernization becomes ongoing maintenance rather than a one-off project when the workflow is scriptable and repeatable.
Links
- Series playlist: https://www.youtube.com/playlist?list=PLlrxD0HtieHhaBJWlcxGd-kTDikSD4xyD
- GitHub Copilot CLI: https://aka.ms/GHCPMod-Java