Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates-3449631
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
automatic_updates-3449631
Commits
a79ff6a4
Commit
a79ff6a4
authored
1 year ago
by
Ted Bowman
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3411110
: Test Automatic Updates and Package Manager as part of Drupal core 11.x on GitLab CI
parent
34e72b15
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
package_manager/tests/src/Kernel/SymlinkValidatorTest.php
+6
-3
6 additions, 3 deletions
package_manager/tests/src/Kernel/SymlinkValidatorTest.php
with
8 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
1
View file @
a79ff6a4
...
...
@@ -49,6 +49,7 @@ include:
# Docs at https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/includes/include.drupalci.variables.yml
################
variables
:
_TARGET_CORE
:
"
$CORE_MINOR"
SKIP_COMPOSER_LINT
:
'
1'
SKIP_ESLINT
:
'
1'
SKIP_PHPCS
:
'
1'
...
...
@@ -120,7 +121,7 @@ composer:
-
rm expand_composer_json.php
-
composer create-project --no-install drupal/recommended-project:$_TARGET_CORE ./composer/Template/RecommendedProject
-
composer create-project --no-install drupal/legacy-project:$_TARGET_CORE ./composer/Template/LegacyProject
-
composer run core-convert --working-dir=./modules/contrib/automatic_updates -- $PWD --gitlabci --core_target_branch=1
0.
1.x
-
composer run core-convert --working-dir=./modules/contrib/automatic_updates -- $PWD --gitlabci --core_target_branch=11.x
-
test -d ./core/modules/package_manager
-
test -d ./core/modules/auto_updates
-
rm -r -f ./modules/contrib
...
...
This diff is collapsed.
Click to expand it.
package_manager/tests/src/Kernel/SymlinkValidatorTest.php
+
6
−
3
View file @
a79ff6a4
...
...
@@ -32,10 +32,10 @@ class SymlinkValidatorTest extends PackageManagerKernelTestBase {
// correctly evaluated.
chdir
(
$drush_dir
.
'/docs'
);
symlink
(
'../drush_logo-black.png'
,
'drush_logo-black.png'
);
// Switch back to the project root to ensure that the check isn't affected
// by which directory we happen to be in.
chdir
(
$project_root
);
// Switch back to the Drupal root to ensure that the check isn't affected
// by which directory we happen to be in.
chdir
(
$this
->
getDrupalRoot
());
$this
->
assertStatusCheckResults
([]);
}
...
...
@@ -182,6 +182,9 @@ class SymlinkValidatorTest extends PackageManagerKernelTestBase {
->
set
(
'file_syncer'
,
$file_syncer
)
->
save
();
// Switch back to the Drupal root to ensure that the check isn't affected
// by which directory we happen to be in.
chdir
(
$this
->
getDrupalRoot
());
$this
->
assertStatusCheckResults
(
$expected_results
);
}
...
...
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