New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Deployment skills for GCP covering Cloud Run, CI/CD pipelines, IAM, and Terraform infrastructure.

version
1.0.0
GitHub stars
2
View on GitHub

What it does

  • Adds 4 skills: cicd-patterns, cloud-run-deployment, gcp-services, and infrastructure-as-code for GCP work
  • Covers GitHub Actions and Cloud Build pipelines, including Workload Identity federation for authentication
  • Handles Cloud Run container deployments with blue-green or canary rollouts, traffic splits, and rollbacks
  • Configures service accounts, Secret Manager secrets, VPC networking, and firewall rules with security practices
  • Manages GCP resources with Terraform using modular patterns and remote state in a GCS backend

GCP deployment, Cloud Run, CI/CD, Infrastructure as Code

Add marketplace

/plugin marketplace add Agentient/vibekit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install gcp-tools@vibekit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

CI/CD Patterns Skill

Metadata (Tier 1)

Keywords: cicd, github actions, cloud build, pipeline, workflow, automation, deploy

File Patterns: .github/workflows/*.yml, cloudbuild.yaml, .gitlab-ci.yml

Modes: deployment


Instructions (Tier 2)

Standard Pipeline Stages

  1. Lint & Format - Code quality validation
  2. Test - Unit and integration tests
  3. Security Scan - Vulnerability detection
  4. Build - Container image creation
  5. Image Scan - Container vulnerability scan
  6. Deploy Staging - Automated deployment
  7. Deploy Production - Manual approval + deployment

GitHub Actions with Workload Identity

Setup Workload Identity (One-time)
gcloud iam workload-identity-pools create "github-pool" \
  --project=PROJECT --location=global

gcloud iam workload-identity-pools providers create-oidc "github-provider" \
  --project=PROJECT --location=global \
  --workload-identity-pool="github-pool" \
  --issuer-uri="https://token.actions.githubusercontent.com" \
  --attribute-mapping="google.subject=assertion.sub,attribute.repository=assertion.repository"
Workflow Authentication
- uses: google-github-actions/auth@v2
  with:
    workload_identity_provider: 'projects/123/locations/global/workloadIdentityPools/github-pool/providers/github-provider'
    service_account: 'deployer@PROJECT.iam.gserviceaccount.com'
Deploy Step
- uses: google-github-actions/deploy-cloudrun@v2
  with:
    service: my-service
    region: us-central1
    image: ${{ env.IMAGE }}

Cloud Build Pipeline

steps:
- id: 'test'
  name: 'python:3.13'
  entrypoint: 'pytest'
  args: ['--cov=src']

- id: 'build'
  name: 'gcr.io/cloud-builders/docker'
  args: ['build', '-t', '$_IMAGE', '.']

- id: 'scan'
  name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
  entrypoint: 'bash'
  args:
  - '-c'
  - |
    gcloud artifacts docker images scan $_IMAGE --remote
    # Check for CRITICAL vulnerabilities

- id: 'deploy'
  name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
  args:
  - 'run'
  - 'deploy'
  - '$_SERVICE'
  - '--image=$_IMAGE'
  - '--region=$_REGION'

images: ['$_IMAGE']

Security Best Practices

  • Use Workload Identity (no service account keys)
  • Scan images for vulnerabilities
  • Run tests before deployment
  • Use least-privilege service accounts
  • Store secrets in Secret Manager
  • Enable branch protection on main
  • Require approvals for production

Anti-Patterns

  • Service account keys in secrets
  • No vulnerability scanning
  • No test stage
  • Direct push to production without validation
  • Secrets in environment variables

Details

Marketplace
Agentient/vibekit
Source
plugins/gcp-tools
Category
Devops
Listed since
Apr 7, 2026

More from Agentient/vibekit

All 16

Similar to gcp-tools

More DevOps & Cloud