Skip to content
Snippets Groups Projects
Unverified Commit f25b1c78 authored by Lucas Hedding's avatar Lucas Hedding
Browse files

convert to use new gitlab template

parent 25feeac2
No related branches found
No related tags found
No related merge requests found
Pipeline #73823 failed
################
# DrupalCI GitLabCI template
#
# Gitlab-ci.yml to replicate DrupalCI testing for Contrib
#
# With thanks to:
# * The GitLab Acceleration Initiative participants
# * DrupalSpoons
################
################
# Guidelines
#
# 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.
#
# However, you can modify this template if you have additional needs for your project.
################
################
# Includes
#
# Additional configuration can be provided through includes.
# One advantage of include files is that if they are updated upstream, the changes affect all pipelines using that include.
#
# Includes can be overridden by re-declaring anything provided in an include, here in gitlab-ci.yml
# https://docs.gitlab.com/ee/ci/yaml/includes.html#override-included-configuration-values
################
include: include:
- project: 'drupalspoons/composer-plugin' ################
# Best practice is to pin to a tag or a SHA1. https://docs.gitlab.com/ee/ci/yaml/#includefile # DrupalCI includes:
ref: "2.1.0" # As long as you include this, any future includes added by the Drupal Association will be accessible to your pipelines automatically.
# The template below may be inspected at https://gitlab.com/drupalspoons/composer-plugin/-/blob/master/templates/.gitlab-ci.yml # View these include files at https://git.drupalcode.org/project/gitlab_templates/
file: 'templates/.gitlab-ci.yml' ################
# Run tests on Drupal 9.1 by default, including a phpspec/prophecy-phpunit requirement. - project: $_GITLAB_TEMPLATES_REPO
composer_node: ref: $_GITLAB_TEMPLATES_REF
variables: file:
# https://getcomposer.org/doc/articles/versions.md#next-significant-release-operators - '/includes/include.drupalci.main.yml'
DRUPAL_CORE_CONSTRAINT: ~9.1.0 # EXPERIMENTAL: For Drupal 7, remove the above line and uncomment the below.
after_script: # - '/includes/include.drupalci.main-d7.yml'
# See https://www.drupal.org/project/drupal/issues/3182653 - '/includes/include.drupalci.variables.yml'
# This will fail on PHPUnit 8-, that is OK as its not needed there. - '/includes/include.drupalci.workflows.yml'
- vendor/bin/spoon require --no-progress phpspec/prophecy-phpunit:^2 || true
################
# Pipeline configuration variables
#
# These are the variables provided to the Run Pipeline form that a user may want to override.
#
# Docs at https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/includes/include.drupalci.variables.yml
################
variables:
_TARGET_CORE: "$CORE_STABLE"
_SHOW_ENVIRONMENT_VARIABLES: '1'
OPT_IN_TEST_MAX_PHP: '1'
phpcs: ###################################################################################
allow_failure: false #
# *
# /(
# ((((,
# /(((((((
# ((((((((((*
# ,(((((((((((((((
# ,(((((((((((((((((((
# ((((((((((((((((((((((((*
# *(((((((((((((((((((((((((((((
# ((((((((((((((((((((((((((((((((((*
# *(((((((((((((((((( .((((((((((((((((((
# ((((((((((((((((((. /(((((((((((((((((*
# /((((((((((((((((( .(((((((((((((((((,
# ,(((((((((((((((((( ((((((((((((((((((
# .(((((((((((((((((((( .(((((((((((((((((
# ((((((((((((((((((((((( ((((((((((((((((/
# (((((((((((((((((((((((((((/ ,(((((((((((((((*
# .((((((((((((((/ /(((((((((((((. ,(((((((((((((((
# *(((((((((((((( ,(((((((((((((/ *((((((((((((((.
# ((((((((((((((, /(((((((((((((. ((((((((((((((,
# (((((((((((((/ ,(((((((((((((* ,(((((((((((((,
# *((((((((((((( .((((((((((((((( ,(((((((((((((
# ((((((((((((/ /((((((((((((((((((. ,((((((((((((/
# ((((((((((((( *(((((((((((((((((((((((* *((((((((((((
# ((((((((((((( ,(((((((((((((..((((((((((((( *((((((((((((
# ((((((((((((, /((((((((((((* /((((((((((((/ ((((((((((((
# ((((((((((((( /((((((((((((/ (((((((((((((* ((((((((((((
# (((((((((((((/ /(((((((((((( ,((((((((((((, *((((((((((((
# (((((((((((((( *(((((((((((/ *((((((((((((. ((((((((((((/
# *((((((((((((((((((((((((((, /(((((((((((((((((((((((((
# ((((((((((((((((((((((((( ((((((((((((((((((((((((,
# .(((((((((((((((((((((((/ ,(((((((((((((((((((((((
# ((((((((((((((((((((((/ ,(((((((((((((((((((((/
# *((((((((((((((((((((( (((((((((((((((((((((,
# ,(((((((((((((((((((((, ((((((((((((((((((((/
# ,(((((((((((((((((((((* /((((((((((((((((((((
# ((((((((((((((((((((((, ,/((((((((((((((((((((,
# ,(((((((((((((((((((((((((((((((((((((((((((((((((((
# .(((((((((((((((((((((((((((((((((((((((((((((
# .((((((((((((((((((((((((((((((((((((,.
# .,(((((((((((((((((((((((((.
#
###################################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment