Skip to content
🔄CI/CD Integration

Use Zof as a Deployment Gate

Advanced20 min read·Updated December 2024·SREsPlatform EngineersEngineering Leaders

Block risky deployments automatically based on Zof reliability scores and findings.

Prerequisites

Before you begin, make sure you have:

  • A Zof account - Sign up free
  • Access to your code repository (GitHub, GitLab, or Bitbucket)
  • Node.js 18+ or Python 3.9+

What you'll achieve

  • Installed and authenticated the Zof CLI
  • Connected Zof to your project
  • Ran your first reliability test
  • Viewed results in the Zof dashboard

Step 1: Install the Zof CLI

Open your terminal and install the CLI globally:

bash
npm install -g @zof/cli

Verify the installation:

bash
zof --version

Expected result: zof/2.x.x

Step 2: Authenticate with Zof

Connect the CLI to your Zof account:

bash
zof login

This opens your browser to complete authentication. Once authorized, you'll see:

text
✓ Authenticated as your@email.com

Tip

Use a service account token for CI rather than your personal token. You can create one at Settings → API Tokens in the Zof dashboard.

Step 3: Initialize your project

Navigate to your project directory and initialize Zof:

bash
cd your-project
zof init

Zof creates a zof.config.json file with sensible defaults for your project type.

Step 4: Run your first test

Execute a quick validation:

bash
zof run --quick

This runs a subset of agents for fast feedback (full runs take longer but are more comprehensive).

Note

The --quick flag runs only smoke and sanity agents. Use zof run without flags for a comprehensive test.

Verify it works

  1. Open app.zof.ai
  2. Navigate to Results
  3. You should see your first test run with findings categorized by severity

You should see: A results summary showing reliability score, issues found, and test coverage.

Troubleshooting

Was this guide helpful?

01治理+高階主管可見性

領導者、審計員和董事會可以實際使用的報告。

Zof 按照您設定的步調產生您已經需要的發布審查、合規性證據包和執行讀數的報告,並附加數據追蹤。

管理人員

每週總結

在一個視圖中釋放生命值。

審計就緒

合規包

  • SOC 2
  • ISO
  • 證據追蹤。

節奏

預定

根據您的日程安排自動產生。

AUDIT-READY/reports
Zof AI 報告頁麵包含四個模闆卡、每週發布摘要、覆蓋率趨勢、風險評估報告和合規性證據包,每個模闆卡都包含生成和計劃操作,以及用於生成報告、保存的視圖和計劃的選項卡。
報告· /reports· 四個企業範本· 來自產品的即時資訊。
  • 01 · TEMPLATES
    • Weekly
    • Coverage
    • Risk

    Schedule or generate on demand

  • 02 · COMPLIANCE EVIDENCE
    • SOC 2
    • ISO
    • audit pack

    Exportable evidence trail

Guides | Zof AI