docs.gitlab.cn Open in urlscan Pro
110.249.196.124  Public Scan

URL: https://docs.gitlab.cn/14.0/ee/ci/lint.html
Submission: On June 20 via api from IE — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

文档中心
 * 14.0
   14.1-pre
   
   14.0
   
 * 获取免费试用

极狐GitLab 文档

订阅极狐GitLab

使用许可证激活极狐GitLab

安装极狐GitLab

安装需求

安装方式

Linux 安装包 (Omnibus)

配置

LDAP NGINX SMTP SSL DNS
参考架构

1000 用户

2000 用户

3000 用户

5000 用户

10000 用户

25000 用户

50000 用户

错误排查

安装后续操作

管理员文档

配置您的安装实例

配置和管理中心

GitLab Pages

Geo

安装包

容器仓库

GitLab Runner

Collapse sidebar
|
 1. GitLab Docs
 2. GitLab CI/CD
 3. Validate .gitlab-ci.yml syntax with the CI Lint tool

ON THIS PAGE

ON THIS PAGE

 * Validate basic logic and syntax
 * Pipeline simulation
 * Pipeline simulation limitations


VALIDATE .GITLAB-CI.YML SYNTAX WITH THE CI LINT TOOL

If you want to test the validity of your GitLab CI/CD configuration before
committing the changes, you can use the CI Lint tool. This tool checks for
syntax and logical errors by default, and can simulate pipeline creation to try
to find more complicated issues as well.

To access the CI Lint tool, navigate to CI/CD > Pipelines or CI/CD > Jobs in
your project and click CI lint.


VALIDATE BASIC LOGIC AND SYNTAX

By default, the CI lint checks the syntax of your CI YAML configuration and also
runs some basic logical validations. Configuration added with the includes
keyword, is also validated.

To use the CI lint, paste a complete CI configuration (.gitlab-ci.yml for
example) into the text box and click Validate:




PIPELINE SIMULATION

Introduced in GitLab 13.3.

Not all pipeline configuration issues can be found by the basic CI lint
validation. You can simulate the creation of a pipeline for deeper validation
that can discover more complicated issues.

To validate the configuration by running a pipeline simulation:

 1. Paste the GitLab CI configuration to verify into the text box.
 2. Click the Simulate pipeline creation for the default branch checkbox.
 3. Click Validate.




PIPELINE SIMULATION LIMITATIONS

Simulations run as git push events against the default branch. You must have
permissions to create pipelines on this branch to validate with a simulation.


 * 关于极狐GitLab
 * 联系我们

ON THIS PAGE

ON THIS PAGE

 * Validate basic logic and syntax
 * Pipeline simulation
 * Pipeline simulation limitations