Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Nov 16, 2023
1 parent 49807ce commit 3bb7b29
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bin/ci/_includes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export DRUPAL_TEST_DB_URL="sqlite://localhost/sites/default/files/db.sqlite"
export DRUPAL_TEST_WEBDRIVER_CHROME_ARGS="--disable-gpu --headless --no-sandbox"
export DRUPAL_TEST_WEBDRIVER_HOSTNAME="localhost"
export DRUPAL_TEST_WEBDRIVER_PORT="4444"
export SITESTUDIO_API_KEY="key-cohesion-baseline"
export SITESTUDIO_ORG_KEY="test-cohesion-baseline"

if [[ ! "$ORCA_TEMP_DIR" ]]; then
# GitHub Actions.
Expand Down
2 changes: 0 additions & 2 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ parameters:
env(ORCA_PHPCS_STANDARD): "AcquiaDrupalTransitional"
env(ORCA_TELEMETRY_ENABLE): "false"
env(ORCA_IS_ALLOWED_FAILURE): "%env(ORCA_IS_ALLOWED_FAILURE)%"
env(SITESTUDIO_API_KEY): "key-cohesion-baseline"
env(SITESTUDIO_ORG_KEY): "test-cohesion-baseline"

services:

Expand Down
2 changes: 1 addition & 1 deletion src/Domain/Fixture/FixtureCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ private function setUpFilesDirectories(): void {
* Runs ACMS commands.
*/
public function runAcmsCommands(): void {
if($this->fixtureInspector->getInstalledPackageVersionPretty('acquia/acquia_cms') === '~'){
if ($this->fixtureInspector->getInstalledPackageVersionPretty('acquia/acquia_cms') === '~') {
return;
}
$this->output->section('Run ACMS Site Build');
Expand Down
8 changes: 8 additions & 0 deletions src/Enum/EnvVarEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
* @method static EnvVarEnum DRUPAL_TEST_WEBDRIVER_CHROME_ARGS()
* @method static EnvVarEnum DRUPAL_TEST_WEBDRIVER_HOSTNAME()
* @method static EnvVarEnum DRUPAL_TEST_WEBDRIVER_PORT()
* @method static EnvVarEnum SITESTUDIO_API_KEY()
* @method static EnvVarEnum SITESTUDIO_ORG_KEY()
*/
class EnvVarEnum extends Enum {

Expand Down Expand Up @@ -93,6 +95,10 @@ class EnvVarEnum extends Enum {
public const DRUPAL_TEST_WEBDRIVER_HOSTNAME = 'DRUPAL_TEST_WEBDRIVER_HOSTNAME';

public const DRUPAL_TEST_WEBDRIVER_PORT = 'DRUPAL_TEST_WEBDRIVER_PORT';
public const SITESTUDIO_API_KEY = 'SITESTUDIO_API_KEY';
public const SITESTUDIO_ORG_KEY = 'SITESTUDIO_ORG_KEY';



/**
* Descriptions for the environment variables.
Expand Down Expand Up @@ -131,6 +137,8 @@ public static function descriptions(): array {
self::DRUPAL_TEST_WEBDRIVER_CHROME_ARGS => 'The Chrome WebDriver arguments (Read-only)',
self::DRUPAL_TEST_WEBDRIVER_HOSTNAME => 'The WebDriver hostname (Read-only)',
self::DRUPAL_TEST_WEBDRIVER_PORT => 'The WebDriver port (Read-only)',
self::SITESTUDIO_API_KEY => 'The Site Studio API Key',
self::SITESTUDIO_ORG_KEY => 'The Site Studio ORG Key',
];
}

Expand Down

0 comments on commit 3bb7b29

Please sign in to comment.