CircleCI Documentation Project

repository·main·Indexed 21 days ago

https://github.com/circleci/circleci-docs

A technical documentation platform built with Antora and AsciiDoc, serving as the hub for CircleCI's technical guides, API references, and architectural specifications. The project includes a Go-based API markdown generator for converting OpenAPI specifications into LLM-friendly documentation, custom AI skills for content review and Vale linting, and a customized Antora UI implementation.

Tokens
232.4K
Snippets
553
Records
985
Agent score
72%

What's inside circleci-docs

  1. Overview of the CircleCI Server installation service

    main

    The CircleCI Server installation service is a professional engagement designed to help server administrators set up a new instance of CircleCI Server. A field engineer manages the process through multiple working sessions and phases to ensure an efficient and optimized deployment.

    Key benefits include:

    • Infrastructure Assessment: Detailed review of prerequisites and infrastructure requirements.
    • Optimized Deployment: Installation of the latest Server version tailored to your specific needs.
    • Environment Tuning: Configuration and fine-tuning for optimal performance.
    • Tool Integration: Integration with your existing tools and systems.
    • Validation: Thorough testing to ensure the installation is functional and successful.
  2. Overview of the API Documentation LLM Access Implementation

    main
    The CircleCI API Documentation LLM Access project implements a system to make API documentation more accessible to AI agents (like Claude Code or Gemini). It achieves this by converting OpenAPI JSON specifications into chunked Markdown files and generating an llms.txt index. This allows LLMs to discover and consume specific API operations efficiently without processing massive JSON files.
  3. Overview of Chunk by CircleCI

    main

    Chunk is an AI agent for CI/CD tasks that assists through a natural language chat interface and task scheduling. It connects to your existing CircleCI pipelines and analyzes build history and repository code to understand test, configuration, and dependency behavior.

    Core Capabilities:

    • Fix flaky tests: Identify and resolve known flaky tests.
    • Extend test coverage: Add new tests for untested or under-tested code.
    • Fix bugs: Detect and resolve bugs in your code.
    • Refactor code: Suggest improvements for maintainability.
    • Improve documentation: Enhance documentation for key functions and components.
    • Optimize build configs: Review and improve CircleCI configurations.

    Note: Chunk is currently in beta. It uses CircleCI credits and your AI model provider tokens.

  4. Overview of CircleCI and CI/CD concepts

    main

    CircleCI is an automation platform for building, testing, and deploying software. It supports Linux, macOS, Android, and Windows in both Cloud and Server (v4+) environments.

    Core Concepts

    • Continuous Integration (CI): The practice of integrating code into a shared repository frequently. Every commit to a shared mainline triggers automated tests and builds to identify failures early.
    • Continuous Delivery (CD): The practice of producing reliable releases to specific development environments, such as staging or production.

    How CircleCI Works in a Workflow

    1. Authorization: Authorize a software repository from a supported Version Control System (VCS) and add it as a project in the CircleCI app.
    2. Automation: Every code change triggers automated tests. CircleCI executes each Job in an isolated container or virtual machine.
    3. Feedback: CircleCI provides success or failure notifications via email and integrated Slack or IRC notifications. Code test coverage results are available on the project details page if a reporting library is configured.
    4. Deployment: CircleCI can deploy code to various environments (e.g., AWS S3, AWS EC2, GCP, Azure, Heroku, Firebase, Android, iOS).
  5. Overview of CircleCI Server 4.9

    main

    CircleCI Server 4.9 is an on-premises CI/CD platform designed for enterprise customers with specific compliance or security requirements. It allows organizations to operate within their own firewall, private cloud, or data center by deploying the platform within a Kubernetes cluster on GCP or AWS.

    Key characteristics:

    • Provides the same features as the CircleCI cloud offering.
    • Operates within your own Kubernetes cluster.
    • Supports job scheduling via HashiCorp Nomad.
    • Uses object storage (S3, Google Cloud Storage, etc.) for job artifacts, outputs, and audit logs.
  6. Overview of Config Policies

    main

    Config policies allow organization admins to enforce rules and scopes on CircleCI project configurations (config.yml). These policies can mandate specific configuration elements, allow certain patterns, or prohibit others. In strict enforcement modes, pipelines will not trigger until the configuration complies with all associated policy rules. Decisions are stored and auditable, providing visibility into the pipeline definitions used across an organization.

    Availability:

    • Plan: Scale Plan
    • Server: CircleCI Server v4.2+
    • Requirement: Must be an organization admin.
  7. Overview of CircleCI server v4.8

    main

    CircleCI server is an on-premises CI/CD platform designed for enterprise customers with compliance or security requirements that necessitate operating within a private cloud, data center, or behind a firewall. It provides the same feature set as CircleCI's cloud offering but runs within your own Kubernetes cluster on GCP or AWS.

    Core Architecture

    • Deployment Target: Kubernetes clusters (EKS, GKE, or local).
    • Job Scheduling: Uses HashiCorp Nomad to schedule CI jobs.
    • Execution Environments:
      • Nomad for the Docker executor.
      • Machine provisioner for virtual machines (the machine executor).
      • Runner for all executor types.
    • Storage: Job artifacts, outputs, and audit logs are sent directly to object storage (e.g., S3, Google Cloud Storage, or MinIO). Both the Kubernetes cluster and Nomad clients require access to this object storage.
  8. Overview of CircleCI Server 4.10

    main

    CircleCI Server 4.10 is an on-premises CI/CD platform designed for enterprise customers with specific compliance or security requirements. It allows organizations to operate within their own firewall, private cloud, or data center by deploying the platform onto a Kubernetes cluster on GCP or AWS.

    Key characteristics:

    • Provides the same features as CircleCI's cloud offering.
    • Operates within your own Kubernetes cluster.
    • Supports job scheduling via HashiCorp Nomad.
    • Uses object storage (S3, Google Cloud Storage, etc.) for job artifacts, outputs, and audit logs.
  9. Overview of antora-ui-default

    main
    The antora-ui-default package provides the default UI templates used by the CircleCI static documentation site overhaul. It is a manual fork of the original Antora UI default templates, adapted for use within the CircleCI documentation ecosystem.
  10. Use the CircleCI Developer Toolkit

    main

    CircleCI provides several tools to enhance the developer experience:

    Command Line Interfaces

    • CircleCI CLI: The primary tool for interacting with CircleCI from your terminal.
    • Chunk CLI: A specialized CLI for managing code chunks.
    • Environment CLI: A tool for managing environment-specific configurations.

    Integration and IDEs

    • VS Code Extension: Bring CircleCI insights and controls directly into your editor.
    • MCP (Model Context Protocol): Connect to CircleCI via MCP servers or the CLI MCP for AI-assisted workflows.

    APIs and SDKs

    • API v2: The standard interface for programmatic interaction with CircleCI.
    • Config SDK: Tools for programmatically generating or managing CircleCI configurations.
    • Orb Development Kit: Tools for building and testing CircleCI Orbs.
  11. Use the CircleCI Config SDK to generate configuration

    main

    The CircleCI Config SDK allows you to programmatically generate CircleCI YAML configuration files instead of writing them manually. This is useful for:

    • Replacing manual YAML writing: Use JavaScript logic to construct your config.
    • Generating static YAML: Useful for CLI tools that output configuration files.
    • Modularization: Manage your configuration as versioned Node packages.
    • Dynamic Configuration: Enhance CircleCI's Dynamic Configuration capabilities.
    • Tooling Integrations: Build integrations for CLI tools or browser-based experiences (like the visual config editor).