Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.49 KiB
Newer Older
Owen Bush's avatar
Owen Bush committed
################
# GitLabCI template for Drupal projects.
Owen Bush's avatar
Owen Bush committed
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification.
# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your
# pipelines automatically. However, you can modify this template if you have additional needs for your project.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
Owen Bush's avatar
Owen Bush committed
################

# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/
# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml
Owen Bush's avatar
Owen Bush committed
include:
  - project: $_GITLAB_TEMPLATES_REPO
    ref: $_GITLAB_TEMPLATES_REF
    file:
      - "/includes/include.drupalci.main.yml"
      - "/includes/include.drupalci.variables.yml"
      - "/includes/include.drupalci.workflows.yml"
Owen Bush's avatar
Owen Bush committed
################
# Pipeline configuration variables are defined with default values and descriptions in the file
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
Owen Bush's avatar
Owen Bush committed
################
variables:
  # Keep testing on Drupal 10 until our dependencies are D11 ready.
  CORE_STABLE: $CORE_PREVIOUS_STABLE
Owen Bush's avatar
Owen Bush committed