Skip to content

Commit

Permalink
use acms during fixture creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Raksha-Bharuka committed Oct 29, 2024
1 parent cf93bf0 commit 9e11067
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Domain/Fixture/FixtureCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,4 +978,19 @@ private function displaySecurityVulnerabilityAdvisories(): void {
}
}

/**
* Runs ACMS commands.
*/
public function runAcmsCommands(): void {
if ($this->fixtureInspector->getInstalledPackageVersionPretty('acquia/acquia_cms') === '~') {
return;
}
$this->output->comment("ACMS commands started... ");
$this->output->section('Run ACMS Site Build');
$this->processRunner->runFixtureVendorBin(['acms', 'acms:build', 'acquia_cms_community', '--no-interaction']);
$this->output->section('Run ACMS Site Install');
$this->processRunner->runFixtureVendorBin(['acms', 'site:install', 'acquia_cms_community', '--no-interaction']);
$this->output->comment("ACMS commands executed... ");
}

}

0 comments on commit 9e11067

Please sign in to comment.