Skip to content
Snippets Groups Projects
Select Git revision
  • 5bf9e9b914ac68c21258f33ea8f3227ba57f61cf
  • master default protected
2 results

gitlab-ci

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Pierre Smeyers authored
    5bf9e9b9
    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"