Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scheduler
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
scheduler
Merge requests
!196
Draft:
#3484055
MR 277 Do not run Max PHP jobs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft:
#3484055
MR 277 Do not run Max PHP jobs
issue/scheduler-3445052:3445052-mr277-do-not-run-max
into
2.x
Overview
1
Commits
7
Pipelines
8
Changes
1
Closed
Jonathan Smith
requested to merge
issue/scheduler-3445052:3445052-mr277-do-not-run-max
into
2.x
7 months ago
Overview
1
Commits
7
Pipelines
8
Changes
1
Expand
Gitlab Templates issue
#3484055
Gitlab Templates
MR 277
Scheduler test issue
#3445052
0
0
Merge request reports
Compare
2.x
version 7
a3080b38
7 months ago
version 6
6a0dd040
7 months ago
version 5
f835b1d6
7 months ago
version 4
ab089e1d
7 months ago
version 3
e1996458
7 months ago
version 2
8e5fd4ea
7 months ago
version 1
1a3c19e1
7 months ago
2.x (base)
and
latest version
latest version
1090258f
7 commits,
7 months ago
version 7
a3080b38
6 commits,
7 months ago
version 6
6a0dd040
5 commits,
7 months ago
version 5
f835b1d6
4 commits,
7 months ago
version 4
ab089e1d
3 commits,
7 months ago
version 3
e1996458
2 commits,
7 months ago
version 2
8e5fd4ea
2 commits,
7 months ago
version 1
1a3c19e1
1 commit,
7 months ago
1 file
+
40
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
40
−
19
Options
@@ -4,8 +4,13 @@
# View these include files at https://git.drupalcode.org/project/gitlab_templates/
################
include
:
-
project
:
$_GITLAB_TEMPLATES_REPO
ref
:
$_GITLAB_TEMPLATES_REF
# - project: $_GITLAB_TEMPLATES_REPO
# ref: $_GITLAB_TEMPLATES_REF
# MR 277 Do not run max PHP variants
-
project
:
issue/gitlab_templates-3484055
ref
:
3484055-do-not-run-max-php
file
:
-
'
/includes/include.drupalci.main.yml'
-
'
/includes/include.drupalci.variables.yml'
@@ -17,18 +22,34 @@ include:
variables
:
OPT_IN_TEST_CURRENT
:
1
OPT_IN_TEST_MAX_PHP
:
1
OPT_IN_TEST_PREVIOUS_MINOR
:
1
OPT_IN_TEST_PREVIOUS_MAJOR
:
1
OPT_IN_TEST_NEXT_MINOR
:
1
OPT_IN_TEST_NEXT_MAJOR
:
1
OPT_IN_TEST_DRUPAL9
:
1
OPT_IN_TEST_DRUPAL8
:
1
RUN_JOB_UPGRADE_STATUS
:
1
OPT_IN_TEST_PREVIOUS_MINOR
:
0
OPT_IN_TEST_PREVIOUS_MAJOR
:
0
OPT_IN_TEST_NEXT_MINOR
:
0
OPT_IN_TEST_NEXT_MAJOR
:
0
OPT_IN_TEST_DRUPAL9
:
0
OPT_IN_TEST_DRUPAL8
:
0
RUN_JOB_UPGRADE_STATUS
:
0
# If the MR has changes to a file that is retrieved via curl then specify these two CURL_TEMPLATES variables to match the repo and ref above.
# Better to have any value here, even if it does not match the values above, because any MR is likely to be more up-to-date than 'default-ref'.
_CURL_TEMPLATES_REPO
:
issue/gitlab_templates-3484055
_CURL_TEMPLATES_REF
:
3484055-do-not-run-max-php
SKIP_COMPOSER_LINT
:
1
SKIP_ESLINT
:
1
SKIP_STYLELINT
:
1
SKIP_PHPCS
:
1
SKIP_CSPELL
:
1
SKIP_PHPSTAN
:
0
SKIP_PHPUNIT
:
0
SKIP_NIGHTWATCH
:
1
SKIP_TEST_ONLY_CHANGES
:
1
_SHOW_ENVIRONMENT_VARIABLES
:
1
_PHPUNIT_CONCURRENT
:
1
_PHPUNIT_TESTGROUPS
:
'
'
_CSPELL_EXTRA
:
'
--dot'
# Override what will be done in MR276
CORE_PHP_NEXT
:
8.4
################
# Job overrides
@@ -86,11 +107,10 @@ variables:
-
COLUMNS=120 composer show | grep -E '\/(core |rules|commerce|entity|inline_entity_form|workbench|drush|devel_generate|address)'
composer (max PHP version)
:
# Using when: manual needs 'allow failure: true' otherwise the overall pipeline status shows 'blocked'
rules
:
-
!reference
[
.opt-in-max-php-rule
]
-
when
:
manual
allow_failure
:
true
before_script
:
-
echo -e "_TARGET_PHP=$_TARGET_PHP, CORE_PHP_MIN=$CORE_PHP_MIN, CORE_PHP_MAX=$CORE_PHP_MAX, CORE_PHP_NEXT=$CORE_PHP_NEXT\nPHP_VERSION=$PHP_VERSION"
variables
:
PHP_VERSION
:
$CORE_PHP_NEXT
composer (previous minor)
:
rules
:
@@ -164,6 +184,8 @@ phpstan:
after_script
:
-
test -f phpstan.neon && echo "=== This is phpstan.neon ===" && cat phpstan.neon
-
php $CI_PROJECT_DIR/scripts/phpstan-baseline-summary.php phpstan-baseline-to-fix.neon
variables
:
PHP_VERSION
:
$CORE_PHP_NEXT
# -------------------------------- TEST ----------------------------------------
@@ -173,12 +195,7 @@ phpunit:
# Run test groups in parallel. This also speeds up identification of failing tests.
# @todo put back "scheduler_drush" when https://www.drupal.org/i/3359998 is solved.
-
_MATRIX_VALUE
:
-
scheduler
-
scheduler_api
# - scheduler_drush
-
scheduler_js
-
scheduler_kernel
-
scheduler_rules_integration
before_script
:
# If any variation also needs a before_script then add - !reference [phpunit, before_script] to include this script.
-
*show-variables
@@ -206,6 +223,10 @@ phpunit:
-
if [[ $DRUPAL_CORE =~ ^(\^)?(8.9|9.5|10.2) ]]; then patch -p1 < tests/3451750-strict-config-schema.patch; fi
-
echo "End of before_script _PHPUNIT_CONCURRENT=$_PHPUNIT_CONCURRENT _PHPUNIT_EXTRA=$_PHPUNIT_EXTRA"
phpunit (max PHP version)
:
variables
:
PHP_VERSION
:
$CORE_PHP_NEXT
phpunit (next minor)
:
variables
:
# Use core ignoreFile to show deprecations. This is only used when $_PHPUNIT_CONCURRENT=1 so make sure that is also set.
Loading