Skip to content
Snippets Groups Projects
Commit cf83369a authored by Damien McKenna's avatar Damien McKenna
Browse files

Merge branch '3440527-gitlab-ci' into '7.x-1.x'

Issue #3440527 by DamienMcKenna: Add Gitlab CI template file.

See merge request !26
parents 8fc0e9fa 76305d7a
No related branches found
No related tags found
No related merge requests found
Pipeline #151022 canceled
################
# 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:
################
# DrupalCI includes:
# As long as you include this, any future includes added by the Drupal Association will be accessible to your pipelines automatically.
# View these include files at https://git.drupalcode.org/project/gitlab_templates/
################
- project: $_GITLAB_TEMPLATES_REPO
# "ref" value can be:
# - Recommended (default) - `ref: $_GITLAB_TEMPLATES_REF` - The Drupal Association will update this value to the recommended tag for contrib.
# - Latest - `ref: main` - Get the latest additions and bug fixes as they are merged into the templates.
# - Minor or Major latests - `ref: 1.x-latest` or `ref: 1.0.x-latest` - Get the latest additions within a minor (mostly bugfixes) or major (bugs and new features).
# - Fixed tag - `ref: 1.0.1` - Set the value to a known tag. This will not get any updates.
# If you change the default value of ref, you should set the _CURL_TEMPLATES_REF variable in the variables section to be the same as set here.
ref: $_GITLAB_TEMPLATES_REF
file:
# - "/includes/include.drupalci.main.yml"
# For Drupal 7, remove the above line and uncomment the below.
- "/includes/include.drupalci.main-d7.yml"
- "/includes/include.drupalci.variables.yml"
- "/includes/include.drupalci.workflows.yml"
#
################
# 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/main/includes/include.drupalci.variables.yml
################
variables:
# SKIP_ESLINT: '1'
# OPT_IN_TEST_NEXT_MAJOR: '1'
# _CURL_TEMPLATES_REF: 'main'
# Require specific dependencies.
_D7_DRUPAL_TEST_DEPENDENCIES: "devel-7.x-1.x-dev field_collection link"
# Ignore the Coder test that errors because this module implements hooks on
# behalf of other modules. Note, this doesn't specify the "InvalidPrefix"
# item, that is the error code, while the sniff itself is shorter.
_PHPCS_EXTRA: "--exclude=Drupal.NamingConventions.ValidFunctionName"
# Add the Devel module from the d7security community on gitlab.
.phpunit-base:
before_script:
- composer config repositories.d7security/devel git https://gitlab.com/d7security/devel.git
- composer require d7security/devel:dev-7.x-1.x@dev
###################################################################################
#
# *
# /(
# ((((,
# /(((((((
# ((((((((((*
# ,(((((((((((((((
# ,(((((((((((((((((((
# ((((((((((((((((((((((((*
# *(((((((((((((((((((((((((((((
# ((((((((((((((((((((((((((((((((((*
# *(((((((((((((((((( .((((((((((((((((((
# ((((((((((((((((((. /(((((((((((((((((*
# /((((((((((((((((( .(((((((((((((((((,
# ,(((((((((((((((((( ((((((((((((((((((
# .(((((((((((((((((((( .(((((((((((((((((
# ((((((((((((((((((((((( ((((((((((((((((/
# (((((((((((((((((((((((((((/ ,(((((((((((((((*
# .((((((((((((((/ /(((((((((((((. ,(((((((((((((((
# *(((((((((((((( ,(((((((((((((/ *((((((((((((((.
# ((((((((((((((, /(((((((((((((. ((((((((((((((,
# (((((((((((((/ ,(((((((((((((* ,(((((((((((((,
# *((((((((((((( .((((((((((((((( ,(((((((((((((
# ((((((((((((/ /((((((((((((((((((. ,((((((((((((/
# ((((((((((((( *(((((((((((((((((((((((* *((((((((((((
# ((((((((((((( ,(((((((((((((..((((((((((((( *((((((((((((
# ((((((((((((, /((((((((((((* /((((((((((((/ ((((((((((((
# ((((((((((((( /((((((((((((/ (((((((((((((* ((((((((((((
# (((((((((((((/ /(((((((((((( ,((((((((((((, *((((((((((((
# (((((((((((((( *(((((((((((/ *((((((((((((. ((((((((((((/
# *((((((((((((((((((((((((((, /(((((((((((((((((((((((((
# ((((((((((((((((((((((((( ((((((((((((((((((((((((,
# .(((((((((((((((((((((((/ ,(((((((((((((((((((((((
# ((((((((((((((((((((((/ ,(((((((((((((((((((((/
# *((((((((((((((((((((( (((((((((((((((((((((,
# ,(((((((((((((((((((((, ((((((((((((((((((((/
# ,(((((((((((((((((((((* /((((((((((((((((((((
# ((((((((((((((((((((((, ,/((((((((((((((((((((,
# ,(((((((((((((((((((((((((((((((((((((((((((((((((((
# .(((((((((((((((((((((((((((((((((((((((((((((
# .((((((((((((((((((((((((((((((((((((,.
# .,(((((((((((((((((((((((((.
#
###################################################################################
......@@ -4,6 +4,7 @@ Search and Replace Scanner 7.x-1.x-dev, 2024-xx-xx
the errors/warnings reported by PHP_CodeSniffer.
#3440474 by DamienMcKenna: Move functionality into separate pages.inc file.
#3440512 by DamienMcKenna: Search/replace on summary field doesn't work.
#3440527 by DamienMcKenna: Add Gitlab CI template file.
Search and Replace Scanner 7.x-1.1, 2018-11-09
......
{
"name": "drupal/scanner",
"description": "Perform search and replace on chosen text fields.",
"license": "GPL-2.0-or-later",
"type": "drupal-module",
"keywords": [
"Drupal"
],
"authors": [
{
"name": "See contributors",
"homepage": "https://git.drupalcode.org/project/scanner/-/graphs/7.x-1.x",
"role": "Developer"
}
],
"homepage": "https://www.drupal.org/project/scanner",
"support": {
"issues": "https://www.drupal.org/project/issues/scanner",
"source": "https://git.drupalcode.org/project/scanner",
"docs": "https://www.drupal.org/docs/7/modules/scanner"
},
"repositories": {
"d7security/devel": {
"type": "git",
"url": "https://gitlab.com/d7security/devel.git"
}
},
"require": {},
"require-dev": {
"drupal/field_collection": "dev-1.x@dev",
"drupal/link": "dev-1.x@dev"
},
"minimum-stability": "dev",
"extra": {
"composer-normalize": {
"indent-size": 2,
"indent-style": "space"
}
}
}
......@@ -5,8 +5,8 @@
* Administrative / settings functionality.
*/
// Load the 'pages' file, which contains a
include('scanner.inc');
// The shared functions were moved into a separate file.
include_once 'scanner.inc';
/**
* The main settings form.
......
......@@ -5,8 +5,8 @@
* Custom page callbacks for the Scanner module.
*/
// Load the 'pages' file, which contains a
include('scanner.inc');
// The shared functions were moved into a separate file.
include_once 'scanner.inc';
/**
* Form constructor for the confirmation form.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment