Skip to content
Snippets Groups Projects
Commit c6ba1a50 authored by Steven Ayers's avatar Steven Ayers
Browse files

Issue #3398124: Gitlab CI

parent fc50e49f
No related branches found
No related tags found
1 merge request!1Issue #3398124 by bluegeek9: Gitlab CI
Pipeline #42525 passed
################
# 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: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
# EXPERIMENTAL: 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/1.0.x/includes/include.drupalci.variables.yml
################
# variables:
# SKIP_ESLINT: '1'
###################################################################################
#
# *
# /(
# ((((,
# /(((((((
# ((((((((((*
# ,(((((((((((((((
# ,(((((((((((((((((((
# ((((((((((((((((((((((((*
# *(((((((((((((((((((((((((((((
# ((((((((((((((((((((((((((((((((((*
# *(((((((((((((((((( .((((((((((((((((((
# ((((((((((((((((((. /(((((((((((((((((*
# /((((((((((((((((( .(((((((((((((((((,
# ,(((((((((((((((((( ((((((((((((((((((
# .(((((((((((((((((((( .(((((((((((((((((
# ((((((((((((((((((((((( ((((((((((((((((/
# (((((((((((((((((((((((((((/ ,(((((((((((((((*
# .((((((((((((((/ /(((((((((((((. ,(((((((((((((((
# *(((((((((((((( ,(((((((((((((/ *((((((((((((((.
# ((((((((((((((, /(((((((((((((. ((((((((((((((,
# (((((((((((((/ ,(((((((((((((* ,(((((((((((((,
# *((((((((((((( .((((((((((((((( ,(((((((((((((
# ((((((((((((/ /((((((((((((((((((. ,((((((((((((/
# ((((((((((((( *(((((((((((((((((((((((* *((((((((((((
# ((((((((((((( ,(((((((((((((..((((((((((((( *((((((((((((
# ((((((((((((, /((((((((((((* /((((((((((((/ ((((((((((((
# ((((((((((((( /((((((((((((/ (((((((((((((* ((((((((((((
# (((((((((((((/ /(((((((((((( ,((((((((((((, *((((((((((((
# (((((((((((((( *(((((((((((/ *((((((((((((. ((((((((((((/
# *((((((((((((((((((((((((((, /(((((((((((((((((((((((((
# ((((((((((((((((((((((((( ((((((((((((((((((((((((,
# .(((((((((((((((((((((((/ ,(((((((((((((((((((((((
# ((((((((((((((((((((((/ ,(((((((((((((((((((((/
# *((((((((((((((((((((( (((((((((((((((((((((,
# ,(((((((((((((((((((((, ((((((((((((((((((((/
# ,(((((((((((((((((((((* /((((((((((((((((((((
# ((((((((((((((((((((((, ,/((((((((((((((((((((,
# ,(((((((((((((((((((((((((((((((((((((((((((((((((((
# .(((((((((((((((((((((((((((((((((((((((((((((
# .((((((((((((((((((((((((((((((((((((,.
# .,(((((((((((((((((((((((((.
#
###################################################################################
...@@ -27,20 +27,18 @@ ...@@ -27,20 +27,18 @@
"patches": { } "patches": { }
}, },
"require": { "require": {
"php": "^7.4 || ^8.0",
"composer/installers": "~1.0 || ~2.0", "composer/installers": "~1.0 || ~2.0",
"cweagans/composer-patches": "^1.6.0", "cweagans/composer-patches": "^1.6.0",
"drupal/admin_toolbar": "3.3.0", "drupal/core-composer-scaffold": "^10.0",
"drupal/core-composer-scaffold": "9.5.9", "drupal/core-project-message": "^10.0",
"drupal/core-project-message": "9.5.9", "drupal/core-recommended": "^10.0",
"drupal/core-recommended": "9.5.9",
"drupal/knowledge": "1.x-dev", "drupal/knowledge": "1.x-dev",
"drupal/module_filter": "^4.0", "drupal/module_filter": "^4.0",
"drupal/search_api_page": "^1.0", "drupal/search_api_page": "^1.0",
"drupal/visitors": "^2" "drupal/visitors": "^2.0"
}, },
"config": { "config": {
"sort-packages": true, "sort-packages": true,
"allow-plugins": { "allow-plugins": {
"composer/installers": true, "composer/installers": true,
"cweagans/composer-patches": true, "cweagans/composer-patches": true,
......
name: Open Knowledge name: Open Knowledge
type: profile type: profile
description: 'Open Knowledge distribution profile.' description: 'Open Knowledge distribution profile.'
core_version_requirement: ^9 core_version_requirement: ^9 || ^10
version: '0.0.1'
project: open_knowledge project: open_knowledge
# Dependencies that Open Social can not live without.
dependencies: dependencies:
# core # core
- node - node
...@@ -38,7 +36,6 @@ dependencies: ...@@ -38,7 +36,6 @@ dependencies:
- file - file
- views - views
- views_ui - views_ui
- tour
- automated_cron - automated_cron
- civicrm:civicrm - civicrm:civicrm
- civicrm:civicrm_entity - civicrm:civicrm_entity
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
/** /**
* @file * @file
* Install, update and uninstall functions for the open knowledge installation profile. * Install, update and uninstall functions for the open knowledge profile.
*/ */
use Drupal\user\Entity\User;
use Drupal\shortcut\Entity\Shortcut; use Drupal\shortcut\Entity\Shortcut;
use Drupal\user\Entity\User;
/** /**
* Implements hook_install(). * Implements hook_install().
......
<?php <?php
/**
* @file
* Open Knowledge profile.
*/
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