coreweave-ci-integration
БесплатноЗапускает вложенные скриптыНе проверенUnofficial CI integration for CoreWeave deployments using GitHub Actions. Use when automating container builds, deploying inference services from CI, or…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
UNOFFICIAL CI INTEGRATION FOR COREWEAVE
Community-contributed. Not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc.
Overview
Separate credential-free pull-request tests from an approved, post-merge staging deployment.
Use Read to inspect the workflow and locked project dependencies, Write the proposed workflow, and Edit it only after the repository owner reviews its trust boundaries.
The example assumes an npm project with package-lock.json, npm test, and a reviewed k8s/staging.yaml; adapt these to the actual repository.
Prerequisites
- A protected main branch and a protected
coreweave-stagingenvironment with required reviewers. - Environment variables
CW_CONTEXT,CW_NAMESPACE,CW_DEPLOYMENTand a reviewed staging manifest targeting that exact namespace. - A dedicated, least-privilege kubeconfig stored as environment secret
COREWEAVE_KUBECONFIG_B64. - A runner with kubectl compatible with the cluster; install it through the project’s pinned toolchain before the deploy step.
- A known-good prior manifest/revision, capacity budget and a non-sensitive workload acceptance check.
Cost and safety gate
Before any billable action, follow the mandatory cost gate.
Use the local scripts/review-cost-plan.py helper to inspect the exact plan;
then obtain explicit user confirmation through the trusted approval channel.
No plan, missing price, changed digest or expired approval means no execution.
Default to offline inspection; server dry-run and Terraform plan are account calls.
Instructions
- Run local unit/manifest checks before push. Run PR tests on an isolated hosted runner with no CKS credential.
- Permit deployment only for a push to the repository’s protected main branch, after tests pass and environment approval is granted.
- Materialize the kubeconfig in a private temporary file for the deploy step; never print its contents or place its value in command arguments.
- Verify the explicit context/namespace and server dry-run the exact reviewed manifest before applying it. Keep billable workload approval separate from offline unit tests.
- Check rollout and application acceptance. On failure, preserve sanitized events and have the owner apply the retained recovery revision; never weaken branch or environment protection.
Examples
Save the trusted deployment workflow separately from the PR workflow. Its environment review must bind the source SHA and manifest digest to the exact cost plan.
name: Unofficial CI integration for CoreWeave
on:
push:
branches: [main]
permissions:
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: '22'
- run: npm ci
- run: npm test
staging:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: unit-tests
runs-on: ubuntu-latest
environment: coreweave-staging
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
# Use the project’s reviewed pinned kubectl installation step here.
- name: Apply approved staging manifest
env:
KUBECONFIG_B64: ${{ secrets.COREWEAVE_KUBECONFIG_B64 }}
CW_CONTEXT: ${{ vars.CW_CONTEXT }}
CW_NAMESPACE: ${{ vars.CW_NAMESPACE }}
CW_DEPLOYMENT: ${{ vars.CW_DEPLOYMENT }}
shell: bash
run: |
set -euo pipefail
: "${KUBECONFIG_B64:?}" "${CW_CONTEXT:?}" "${CW_NAMESPACE:?}" "${CW_DEPLOYMENT:?}"
umask 077
export KUBECONFIG
KUBECONFIG=$(mktemp "$RUNNER_TEMP/coreweave-kubeconfig.XXXXXX")
trap 'rm -f -- "$KUBECONFIG"' EXIT
printf '%s' "$KUBECONFIG_B64" | base64 --decode > "$KUBECONFIG"
kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" auth can-i patch deployments.apps
kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" apply --dry-run=server -f k8s/staging.yaml
kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" apply -f k8s/staging.yaml
kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" rollout status "deployment/$CW_DEPLOYMENT" --timeout=10m
Use a second file for credential-free PR checks:
name: CoreWeave PR checks
on:
pull_request:
permissions:
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
with:
node-version: '22'
- run
Установить coreweave-ci-integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(gh:*)Bash(kubectl:*)Bash(python3:*)Вложенные файлы
FAQ
Что делает скилл coreweave-ci-integration?
Unofficial CI integration for CoreWeave deployments using GitHub Actions. Use when automating container builds, deploying inference services from CI, or validating GPU manifests in pull requests. Trigger with phrases like "coreweave CI", "coreweave github actions", "coreweave pipeline", "automate coreweave deploy".
Как установить скилл coreweave-ci-integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coreweave-ci-integration запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub