Gemini CLI Extension for CI/CD
The CI/CD extension for Gemini CLI automates Continuous Integration and Continuous Delivery (CI/CD) workflows using AI. It simplifies deployment to Google Cloud services, such as Cloud Run and Cloud Storage, and generates secure CI/CD pipelines compliant with testing and security best practices.
[!CAUTION]
-
EXPERIMENTAL PROJECT - Use with extreme care:
This project is currently experimental. Features, commands, and functionality are subject to change and may contain bugs.
-
Do not use this extension in production environments or with business-critical Google Cloud projects: You are responsible for any changes made to your cloud resources. Always carefully review and validate any generated configurations or commands before execution.
-
Review all outputs and understand the Security Considerations below before use: as this extension can modify your Google Cloud (GCP) resources.
📋 Key Features
- Intelligent Code Deployment: Use the
google-cicd-deploy skill to deploy your codebase. The extension leverages Gemini to analyze your project and deploy to Google Cloud services like Cloud Run for dynamic applications or Cloud Storage for static websites. Includes pre-deployment secret scanning.
- AI-Powered CI/CD Pipeline Design: Generate secure and robust CI/CD pipelines with
google-cicd-pipeline-design. Collaborate with Gemini to tailor the pipeline and generate a YAML configuration.
- Terraform GCP Infrastructure: Provision and troubleshoot production-grade Google Cloud infrastructure using the
google-cicd-terraform skill, enforcing Google’s Cloud Foundation Fabric patterns.
- Interactive GCP Management: The extension provides tools to interact directly with Google Cloud's CI/CD services (Cloud Build, Artifact Registry, Cloud Deploy, Developer Connect) from within Gemini CLI.
- Simplified Complex Release Flows: Build sophisticated Cloud Deploy release pipelines with the
google-cicd-release-orchestration skill, setting up deployment strategies like canary and automatic rollbacks.
- Integrated CI/CD MCP Server: The extension includes a local Model Context Protocol (MCP) server, seamlessly integrating Gemini CLI with Google Cloud CI/CD services.
⚙️ Installation
✅ Prerequisites
For Gemini CLI
To install the CI/CD extension, run the following command in your terminal:
gemini extensions install https://github.com/gemini-cli-extensions/cicd
To install development build add --ref=nightly --pre-release flags.
For Claude Code
To install the CI/CD extension, run the following command in your terminal:
- Add the Marketplace.
claude plugin marketplace add https://github.com/gemini-cli-extensions/cicd.git#v0.2.2
- Install the Plugin.
claude plugin install cicd
For Antigravity
To install the CI/CD plugin (which bundles both the cicd-mcp MCP server and all four CI/CD skills) in Antigravity:
- Ensure either Go (1.24+, to build
./bin/cicd-mcp-server locally) or Node.js (v18+ with npx on your PATH) is installed. When launching cicd-mcp, the plugin runs ./bin/cicd-mcp-server (or ./cicd-mcp-server in release archives) relative to the plugin directory, auto-builds it if ./cicd-mcp-server source and go are present, or falls back to npx -y --package=@google-cloud/cicd-mcp cicd-mcp-server.
Option 1: Install from the Antigravity Plugins Marketplace (UI or CLI)