百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gradient

> DevOps
开源

基于 nix 的持续集成系统

197 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

基于 nix 的持续集成系统

Gradient - Modern Nix-CI System

Public Instance • Documentation • Options Search • ️ API Docs • Matrix Chat •

[!IMPORTANT] If you are interested in contributing, please read the Contributing Guidelines for more information.

Features

Screenshot Gallery

  • Modern UI: clean and intuitive user interface
  • Projects: multiple projects, which work independently from each other (e.g. different workers, user access)
  • API: provides a RESTful API with API-Key management for authentication
  • Streaming Logs: real-time log streaming for builds
  • Rich Task Configuration: flake updates, check all branches, pull requests, and tags
  • OAuth2 / OIDC: integrated single-sign-on support
  • Binary Cache: built-in Nix store cache with S3 storage backend support
  • Proto Workers: build and evaluate Nix derivations on distributed gradient-worker instances over a persistent WebSocket protocol
  • Deployment Module: Pull-Deployment via gradient-deploy module
  • Dependency Graph: interactive visualization of Nix build dependency trees
  • Actions Integration: GitHub App, Gitea and Gitlab Integration

Installation

Please refer to the Quick Start Guide for a step-by-step installation guide. Add Cache for prebuilt Gradient packages (optional):

URL: https://public.gradient.ci/cache/main
Public Key: public.gradient.ci-main:qmxRE+saUvhNa3jqaCMWje+feVU77TjABchZrPGf7A8=

Extend your flake.nix with Gradient module:

…

Configure Gradient in your configuration.nix:

[!NOTE] All configuration options here: Options Search

…

Usage

Gradient can be used via the web interface, API, and CLI.

API

The API is a RESTful API that can be used to interact with Gradient programmatically. OpenAPI documentation is available at /docs/gradient-api.yaml or via Swagger Editor

Web Interface

The web interface is the primary way to interact with Gradient. It also just uses the main API.

CLI

The CLI is also based on the API and can be used to interact with Gradient from the command line.

Install the CLI:

…

or

bash
nix run github:wavelens/gradient#gradient-cli

Pull Deployment

Gradient supports pull deployment, which allows you to deploy your code to a server by pulling it from the Gradient server. This is useful for deploying NixOS configurations to systems that don't have much compute power or should run without disturbing the system.

To use pull deployment, you need to enable the gradient-deploy module in your NixOS configuration. This module will set up a systemd service that will pull the latest code from the Gradient server and deploy it to your system daily at 04:00 am.

nix
{
  system.gradient-deploy = {
    enable = true;
    server = "https://gradient.example.com";
    apiKeyFile = "/var/lib/gradient-deploy/api-key";
    task = "project/task";
  };
}

After enabling the module, you can trigger a update manually by running:

bash
sudo gradient-update

Contributing

We welcome contributions to this project. Please read the Contributing Guidelines for more information.

License

This project is under the GNU Affero General Public License v3.0 (AGPL-3.0-only; as published by the Free Software Foundation):

The GNU Affero General Public License v3.0 (AGPL-3.0-only) is a free software license that ensures your freedom to use, modify, and distribute the software, with the condition that any modified versions of the software must also be distributed under the same license.

The license notice follows the REUSE guidelines to ensure clarity and consistency.

Acknowledgements

Developed by Wavelens GmbH. Support us by contributing.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcicicdnix

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理