Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalci_testbot
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
drupalci_testbot
Merge requests
!9
Allow all composer plugins
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Allow all composer plugins
issue/drupalci_testbot-3334914:allow-all-plugins
into
dev
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Sascha Grossenbacher
requested to merge
issue/drupalci_testbot-3334914:allow-all-plugins
into
dev
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
dev
version 1
e741c672
2 years ago
dev (base)
and
latest version
latest version
9ac4df1a
1 commit,
1 year ago
version 1
e741c672
1 commit,
2 years ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/DrupalCI/Plugin/BuildTask/BuildStep/CodebaseAssemble/ComposerContrib.php
+
3
−
0
Options
@@ -87,6 +87,9 @@ class ComposerContrib extends BuildTaskBase implements BuildStepInterface, Build
$this
->
io
->
writeln
(
"Adding packages.drupal.org as composer repository"
);
$this
->
execRequiredEnvironmentCommands
(
$cmd
,
'Composer config failure'
);
$cmd
=
"sudo -u www-data /usr/local/bin/composer ${verbose}config allow-plugins true --working-dir ${source_dir}"
;
$this
->
io
->
writeln
(
"Allow all composer plugins"
);
$this
->
execRequiredEnvironmentCommands
(
$cmd
,
'Composer config failure'
);
$cmd
=
"sudo -u www-data /usr/local/bin/composer ${verbose} require drupal/"
.
$project
.
" "
.
$composer_branch
.
" --prefer-source --prefer-stable${progress} --no-suggest --no-interaction --working-dir "
.
$source_dir
;
Loading