Skip to content
Snippets Groups Projects

Uncomment allow-all plugins configuration change

1 file
+ 4
6
Compare changes
  • Side-by-side
  • Inline
@@ -89,12 +89,10 @@ sudo -u www-data git config --global user.name \"The Testbot\" && sudo -u www-da
$result = $this->execRequiredEnvironmentCommands($cmd, 'Project dir commit failure');
}
// @TODO: Bots need to run at least composer 2.2.15 for below command to work, or else
// we will encounter this bug: https://github.com/composer/composer/issues/10907
// bots are currently on 2.2.14 so commenting out until we can fix
// $cmd = "sudo -u www-data /usr/local/bin/composer${verbose} config allow-plugins true -n --working-dir " . $source_dir;
// $this->io->writeln("Allow all plugins, since this is running in a CI environment");
// $this->execEnvironmentCommands($cmd);
$cmd = "sudo -u www-data /usr/local/bin/composer${verbose} config allow-plugins true -n --working-dir " . $source_dir;
$this->io->writeln("Allow all plugins, since this is running in a CI environment");
$this->execEnvironmentCommands($cmd);
if (!$is_feature_mr || $has_composer_json) {
// Composer require
Loading