Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
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
automatic_updates
Commits
d145dddc
Commit
d145dddc
authored
11 months ago
by
Adam G-H
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3440006
: 3.0.x branch should not test against the next major version of Drupal core
parent
e08e7ddf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1056
Rip out next major jobs
Pipeline
#143090
passed
11 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-62
0 additions, 62 deletions
.gitlab-ci.yml
with
0 additions
and
62 deletions
.gitlab-ci.yml
+
0
−
62
View file @
d145dddc
...
...
@@ -59,9 +59,6 @@ variables:
_PHPUNIT_TESTGROUPS
:
'
'
# Always test against the previous minor version of core.
OPT_IN_TEST_PREVIOUS_MINOR
:
'
1'
# Test against the next major version of core, with Automatic Updates and
# Package Manager included as core modules.
OPT_IN_TEST_NEXT_MAJOR
:
'
1'
# @todo Remove this line when https://drupal.org/i/3414093 is fixed.
CI_DEBUG_SERVICES
:
"
true"
_TARGET_DB_TYPE
:
"
mariadb"
...
...
@@ -144,24 +141,6 @@ composer (previous minor):
after_script
:
-
!reference
[
composer
,
after_script
]
composer (next major)
:
allow_failure
:
true
before_script
:
# Remove the one core patch we currently apply. We can do this because it does
# not affect Package Manager or Automatic Updates at all. We should remove this
# line once we make the converter command's calls to `patch` work properly on
# GitLab CI.
-
rm ./scripts/core-patches/3331078-allow-beta.patch
-
!reference
[
composer
,
before_script
]
after_script
:
-
!reference
[
composer
,
after_script
]
# Convert Automatic Updates and Package Manager to core modules.
-
composer run core-convert --working-dir=$MODULE_DIR -- $CI_PROJECT_DIR/$_WEB_ROOT --gitlabci_path=$CI_PROJECT_DIR --core_target_branch=$CORE_BRANCH
# Confirm that both modules are now in core, then remove the contrib module.
-
test -d $_WEB_ROOT/core/modules/auto_updates
-
test -d $_WEB_ROOT/core/modules/package_manager
-
rm -r -f $MODULE_DIR
composer (previous minor)
:
before_script
:
-
!reference
[
composer
,
before_script
]
...
...
@@ -179,11 +158,6 @@ phpstan:
# Ensure our PHPStan configuration has the correct include path to core's PHPStan configuration.
-
sed -i "s#%rootDir%/../../../#%rootDir%/../../../$_WEB_ROOT/#" $MODULE_DIR/phpstan.neon
# Disable this job entirely; the modules are moved to core.
phpstan (next major)
:
rules
:
-
when
:
never
phpunit
:
parallel
:
matrix
:
...
...
@@ -211,39 +185,3 @@ phpunit:
phpunit (previous minor)
:
rules
:
-
!reference
[
phpunit
,
rules
]
phpunit (next major)
:
allow_failure
:
true
parallel
:
matrix
:
-
MODULE
:
-
auto_updates
-
package_manager
TEST_TYPE
:
-
Unit
-
Kernel
-
Functional
-
FunctionalJavascript
-
Build
rules
:
-
if
:
$OPT_IN_TEST_NEXT_MAJOR != "1" || $SKIP_PHPUNIT == "1"
when
:
never
# Package Manager has no functional JavaScript tests.
-
if
:
$MODULE == "package_manager" && $TEST_TYPE == "FunctionalJavascript"
when
:
never
-
when
:
on_success
variables
:
_PHPUNIT_EXTRA
:
'
--types
PHPUnit-$TEST_TYPE
--module
$MODULE'
# This variable prevents a deprecation error; see https://www.drupal.org/node/3422624.
MINK_DRIVER_ARGS_WEBDRIVER
:
'
["chrome",
{"browserName":"chrome","goog:chromeOptions":{"args":["--disable-dev-shm-usage","--disable-gpu","--headless"]}},
"http://localhost:9515"]'
# Ensure deprecations will cause tests to fail, except for deprecations that core
# specifically ignores.
SYMFONY_DEPRECATIONS_HELPER
:
'
ignoreFile=$CI_PROJECT_DIR/$_WEB_ROOT/core/.deprecation-ignore.txt'
# This is a really dirty hack to work around a possible bug in Drush when it runs against
# Drupal core 11.x-dev:
# https://git.drupalcode.org/project/automatic_updates/-/jobs/723857#L209
# @todo Remove this bit as soon as possible.
before_script
:
-
echo '#!/bin/sh' > ./vendor/bin/drush
-
echo 'exit 0' >> ./vendor/bin/drush
-
chmod +x ./vendor/bin/drush
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment