This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 388
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
project.local.protocol=https causes checkCiConfig to fail on Travis CI #2188
Copy link
Copy link
Closed
Labels
EnhancementA feature or feature requestA feature or feature request
Description
My system information:
- Operating system type: Travis CI
- Operating system version: trusty
- BLT version: 8.9.9
Start a new project, use blt ci:travis:init to setup CI, edit blt/project.yml setting project.local.protocol to https.
When Travis runs, it fails with this output:
[Acquia\Blt\Robo\Tasks\DrushTask] Running /home/travis/build/censored/web/vendor/bin/drush @self cache-rebuild --uri=default --yes in /home/travis/build/censored/web/docroot
Cache rebuild complete. [ok]
[Acquia\Blt\Robo\Tasks\DrushTask] Done in 8.244s
Checking for features overrides...
Checking for config overrides...
[Acquia\Blt\Robo\Tasks\DrushTask] Running /home/travis/build/censored/web/vendor/bin/drush @self cex sync --uri=default --no in /home/travis/build/censored/web/docroot
Differences of the active config to the export directory:
Collecti Config Operation
on
core.entity_view_display.node.location.tea update
ser
core.entity_view_display.node.page.teaser update
core.entity_view_display.node.page.default update
core.entity_form_display.node.page.default update
The .yml files in your export directory (/home/travis/build/censored/web/config/default) will be deleted and replaced with the active config. (y/n): n
Cancelled. [cancel]
[Acquia\Blt\Robo\Tasks\DrushTask] Exit code 75 Time 1.396s
[error] Configuration in the database does not match configuration on disk. You must re-export configuration to capture the changes. This could also indicate a problem with the import process, such as changed field storage for a field with existing content. To permit configuration overrides, set cm.allow-overrides to true in blt/project.yml.
[error] Command `setup:config-import ` exited with code 1.
[error] Command `setup:drupal:install ` exited with code 1.
01:33 total time elapsed.
blt tests:all --define drush.alias='${drush.aliases.ci}' --define tests.run-server=true --yes -v
> tests:behat
[warning] tests.run-server is enabled, but the server URL does not match Drupal's base URL.
[warning] project.local.uri = https://127.0.0.1:8888
[warning] tests.server.url = http://127.0.0.1:8888
[warning] local.extensions.Behat\MinkExtension.base_url = https://127.0.0.1:8888
[warning] Behat is not configured properly.
BLT can (re)generate tests/behat/local.yml using tests/behat/example.local.yml.
[warning] tests.run-server is enabled, but the server URL does not match Drupal's base URL.
[warning] project.local.uri = https://127.0.0.1:8888
[warning] tests.server.url = http://127.0.0.1:8888
[warning] local.extensions.Behat\MinkExtension.base_url = https://127.0.0.1:8888
[error] Behat is not configured properly. Please run `blt doctor` to diagnose the issue.
[error] Command `tests:behat ` exited with code 1.
0.654s total time elapsed.
I would expect the tests to pass. Setting project.local.protocol=http works fine.
Metadata
Metadata
Assignees
Labels
EnhancementA feature or feature requestA feature or feature request