castai-ci-integration

Featured

Integrate CAST AI policy validation and cost checks into CI/CD pipelines. Use when adding CAST AI savings verification to GitHub Actions, validating Terraform plans, or gating deployments on cost thresholds. Trigger with phrases like "cast ai CI", "cast ai github actions", "cast ai terraform CI", "cast ai pipeline".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CAST AI CI Integration ## Overview Add CAST AI cost validation to CI/CD pipelines: verify savings thresholds, validate Terraform plans before apply, and gate deployments on autoscaler health. ## Prerequisites - GitHub Actions enabled - CAST AI API key stored as repository secret - Terraform state accessible from CI (if using Terraform) ## Instructions ### Step 1: GitHub Actions -- Savings Gate ```yaml # .github/workflows/castai-check.yml name: CAST AI Cost Check on: pull_request: paths: ["terraform/**", "k8s/**"] schedule: - cron: "0 8 * * 1" # Weekly Monday report jobs: cost-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Check CAST AI Savings env: CASTAI_API_KEY: ${{ secrets.CASTAI_API_KEY }} CASTAI_CLUSTER_ID: ${{ secrets.CASTAI_CLUSTER_ID }} run: | SAVINGS=$(curl -s -H "X-API-Key: ${CASTAI_API_KEY}" \ "https://api.cast.ai/v1/kubernetes/clusters/${CASTAI_CLUSTER_ID}/savings") PERCENT=$(echo "$SAVINGS" | jq -r '.savingsPercentage') MONTHLY=$(echo "$SAVINGS" | jq -r '.monthlySavings') echo "### CAST AI Savings Report" >> $GITHUB_STEP_SUMMARY echo "- Monthly savings: \$${MONTHLY}" >> $GITHUB_STEP_SUMMARY echo "- Savings percentage: ${PERCENT}%" >> $GITHUB_STEP_SUMMARY # Fail if savings drop below threshold if (( $(echo "$PERCENT < 10" | bc -l) )); then echo "WARNIN...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

castai-local-dev-loop

Set up a local Kubernetes development loop with CAST AI cost monitoring. Use when building cost-aware deployments, testing autoscaler policies, or iterating on Terraform CAST AI configurations locally. Trigger with phrases like "cast ai dev setup", "cast ai local testing", "develop with cast ai", "cast ai terraform dev".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-cost-tuning

Maximize Kubernetes cost savings with CAST AI spot strategies and right-sizing. Use when analyzing cloud spend, optimizing spot-to-on-demand ratios, or configuring CAST AI for maximum savings. Trigger with phrases like "cast ai cost", "cast ai savings", "cast ai spot strategy", "reduce kubernetes cost", "cast ai budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-prod-checklist

Production readiness checklist for CAST AI cluster onboarding. Use when going live with CAST AI autoscaling, validating Phase 2 setup, or preparing for production cost optimization. Trigger with phrases like "cast ai production", "cast ai go-live", "cast ai checklist", "cast ai launch".

2,266 Updated today
jeremylongshore
DevOps & Infrastructure Featured

castai-deploy-integration

Deploy CAST AI across multi-cloud Kubernetes clusters with Terraform modules. Use when onboarding EKS, GKE, or AKS clusters to CAST AI using infrastructure-as-code patterns. Trigger with phrases like "deploy cast ai", "cast ai eks", "cast ai gke", "cast ai aks", "cast ai terraform module".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-core-workflow-a

Configure CAST AI autoscaler policies and node templates for cost optimization. Use when enabling Phase 2 automation, setting spot instance policies, or configuring node downscaler and evictor settings. Trigger with phrases like "cast ai autoscaler", "cast ai policies", "cast ai spot instances", "cast ai node optimization".

2,266 Updated today
jeremylongshore