Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

coreweave-ci-integration

БесплатноЗапускает вложенные скриптыНе проверен

Unofficial CI integration for CoreWeave deployments using GitHub Actions. Use when automating container builds, deploying inference services from CI, or…

jeremylongshoreот 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-staging environment with required reviewers.
  • Environment variables CW_CONTEXT, CW_NAMESPACE, CW_DEPLOYMENT and 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

  1. Run local unit/manifest checks before push. Run PR tests on an isolated hosted runner with no CKS credential.
  2. Permit deployment only for a push to the repository’s protected main branch, after tests pass and environment approval is granted.
  3. Materialize the kubeconfig in a private temporary file for the deploy step; never print its contents or place its value in command arguments.
  4. 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.
  5. 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
Полный SKILL.md на GitHub

Установить coreweave-ci-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(gh:*)
Bash(kubectl:*)
Bash(python3:*)

Вложенные файлы

docs/BLUEPRINT.mdeval-spec.yamlreferences/cost-gate.mdreferences/evidence-contract.mdreferences/operator-notes.mdscripts/review-cost-plan.pyscripts/review-workflow.pyscripts/review_common.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить coreweave-ci-integration с