Skip to content
Snippets Groups Projects
Select Git revision
  • 0ceb8fb57ee93338c5c7b0c8403ed2d1bec157da
  • master default protected
2 results

gitlab-ci

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Pierre Smeyers authored
    closes #1
    0ceb8fb5
    History

    GitLab CI Stuff

    Overview

    This template provides a jobs to validate your template syntax.

    It uses the GitLab CI Lint API.

    Template validation

    The template implements a gitlab-ci-lint job, enabled with GITLAB_CI_FILES variable (GitLab CI files pattern(s) to analyse).

    Example of a .gitlab-ci.yml file for a GitLab CI template project:

    include:
      - project: 'to-be-continuous/tools/gitlab-ci'
        ref: 'master'
        file: '/templates/validation.yml'
    
    stages:
      - build
    
    variables:
      GITLAB_CI_FILES: "templates/*.yml"