acquia / blt

Acquia's toolset for automating Drupal 10 development, testing, and deployment.
https://docs.acquia.com/blt/
GNU General Public License v2.0
443 stars 395 forks source link

Problem with initial deploy of blt lightning project to acquia cloud #2398

Closed tiannajensen closed 6 years ago

tiannajensen commented 6 years ago

My system information:

Output of blt doctor:

+----------------------+----------------------------------------------------------------------------------+
| Property             | Value                                                                            |
+----------------------+----------------------------------------------------------------------------------+
| %paths               |                                                                                  |
|  - %root             | /var/www/[project]/docroot                                                      |
|  - %site             | sites/default                                                                    |
|  - %modules          | modules                                                                          |
|  - %themes           | themes                                                                           |
|  - %config-sync      | /var/www/[project]/config/default                                               |
|  - %files            | sites/default/files                                                              |
|  - %private          | /var/www/[project]/files-private                                                |
|  - %temp             | /tmp                                                                             |
| admin-theme          | seven                                                                            |
| blt-version          | 8.9.11                                                                           |
| bootstrap            | Successful                                                                       |
| config-sync          | /var/www/[project]/config/default                                               |
| db-driver            | mysql                                                                            |
| db-hostname          | localhost                                                                        |
| db-name              | [db name]                                                                           |
| db-password          | [db pass]                                                                           |
| db-port              | 3306                                                                             |
| db-status            | Connected                                                                        |
| db-username          |  [db user]                                                                          |
| dev-desktop-enabled  | false                                                                            |
| drupal-settings-file | sites/default/settings.php                                                       |
| drupal-version       | 8.4.3                                                                            |
| drupal-vm-enabled    | true                                                                             |
| drush-alias-files    | /var/www/[project]/docroot/../drush/site-aliases/example.local.aliases.drushrc. |
|                      | php                                                                              |
|                      | /var/www/[project]/docroot/../drush/site-aliases/aliases.drushrc.php            |
|                      | /var/www/[project]/docroot/../drush/site-aliases/example.acsf.aliases.drushrc.p |
|                      | hp                                                                               |
| drush-conf           | /var/www/[project]/drush/drushrc.php                                            |
| drush-script         | /var/www/[project]/vendor/drush/drush/drush.php                                 |
| drush-temp           | /tmp                                                                             |
| drush-version        | 8.1.15                                                                           |
| files                | sites/default/files                                                              |
| install-profile      | lightning                                                                        |
| local-drushrc        | /var/www/[project]/docroot/sites/default/local.drushrc.php                      |
| local-settings       | /var/www/[project]/docroot/sites/default/settings/local.settings.php            |
| modules              | modules                                                                          |
| php-bin              | /usr/bin/php                                                                     |
| php-conf             | /etc/php/7.1/cli/php.ini                                                         |
| php-mysql            | /var/run/mysqld/mysqld.sock                                                      |
| php-os               | Linux                                                                            |
| private              | /var/www/[project]/files-private                                                |
| root                 | /var/www/[project]/docroot                                                      |
| shell                |                                                                                  |
| site                 | sites/default                                                                    |
| temp                 | /tmp                                                                             |
| theme                | bartik                                                                           |
| themes               | themes                                                                           |
| uri                  | http://[project].com                                                            |
| user                 |                                                                                  |
+----------------------+----------------------------------------------------------------------------------+
+--------------------------+------------------------------------------------------+
| Check                    | Outcome                                              |
+--------------------------+------------------------------------------------------+
| checkDocrootExists       | Found docroot.                                       |
| checkCoreExists          | Drupal core exists                                   |
| checkSettingsFile        | BLT settings are included in settings file.          |
| checkLocalSettingsFile   | Found your local settings file.                      |
| checkLocalDrushFile      | Found your local drush settings file.                |
| checkUri                 | $options['uri'] is set.                              |
| checkUriResponse         | Received a response from site http://[project].com. |
| checkFileSystem:%files   | Public files directory is writable.                  |
| checkFileSystem:%private | Private files directory is writable.                 |
| checkFileSystem:%temp    | Temporary files directory is writable.               |
| checkDbConnection        | Connected to database.                               |
| checkDrupalBootstrapped  | Bootstrapped Drupal via drush.                       |
| checkDrupalInstalled     | Drupal is installed.                                 |
| checkCaching:page        | Drupal cache is disabled.                            |
| checkCaching:css         | CSS preprocessing is disabled.                       |
| checkCaching:js          | JS preprocessing is disabled.                        |
| checkComposer:require    | acquia/blt is in composer.json's require object.     |
| checkBehat:exists        | Behat local settings file exists.                    |
| checkBehat:root          | Behat drupal_root is set correctly for Drupal VM.    |
| checkProjectYml:keys     | project.yml has no deprecated keys.                  |
| checkDrupalVm:alias      | drush.aliases.local exists your drush aliases file.  |
| checkDrupalVm            | Drupal VM is configured correctly.                   |
| checkPhpDateTimezone     | PHP setting for date.timezone is correctly set       |
+--------------------------+------------------------------------------------------+

When I run this command:

blt deploy --commit-msg "Testing blt deploy to acquia cloud." --branch "develop-build" --no-interaction

I get the following output:

Commit message is set to Testing blt deploy to acquia cloud..
Branch is set to develop-build.
Preparing artifact directory...
Global .gitignore file is being disabled for this repository to prevent unexpected behavior.
Fetching from git remote [git remote url]
Merging upstream changes into local artifact...
Generating build artifact...
For more detailed output, use the -v flag.
> frontend
Executing command blt frontend --no-interaction --define=drush.alias=self inside of Drupal VM...
[warning] The xDebug extension is loaded. This will significantly decrease performance.
> frontend:setup
> frontend:build
Connection to 127.0.0.1 closed.
> setup:hash-salt
Hash salt already exists.
Combining exclusions from deploy.deploy-exclude-additions and deploy.deploy-exclude files...
Rsyncing files from source repo into the build artifact...
Rebuilding composer dependencies for production...
[ExecStack] composer install --no-dev --no-interaction --optimize-autoloader
[ExecStack] Running composer install --no-dev --no-interaction --optimize-autoloader in /Users/[user]/Sites/[project]/deploy
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 155 installs, 0 updates, 0 removals
  - Installing wikimedia/composer-merge-plugin (v1.4.1): Loading from cache
  - Installing composer/installers (v1.4.0): Loading from cache
  - Installing grasmash/drupal-security-warning (1.1.1): Loading from cache
  - Installing cweagans/composer-patches (1.6.4): Loading from cache
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing tivie/php-os-detector (1.1.0): Loading from cache
  - Installing symfony/yaml (v3.2.14): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v3.4.2): Loading from cache
  - Installing symfony/console (v3.2.14): Loading from cache
  - Installing squizlabs/php_codesniffer (2.9.1): Loading from cache
  - Installing sebastian/version (1.0.6): Loading from cache
  - Installing sebastian/global-state (1.1.1): Loading from cache
  - Installing sebastian/recursion-context (1.0.5): Loading from cache
  - Installing sebastian/exporter (1.2.2): Loading from cache
  - Installing sebastian/environment (1.3.8): Loading from cache
  - Installing sebastian/diff (1.4.3): Loading from cache
  - Installing sebastian/comparator (1.2.4): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing phpunit/phpunit-mock-objects (2.3.8): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing phpunit/php-token-stream (1.4.12): Loading from cache
  - Installing phpunit/php-code-coverage (2.2.4): Loading from cache
  - Installing phpdocumentor/reflection-docblock (2.0.5): Loading from cache
  - Installing phpspec/prophecy (1.7.3): Loading from cache
  - Installing phpunit/phpunit (4.8.36): Loading from cache
  - Installing oomphinc/composer-installers-extender (v1.1.2): Loading from cache
  - Installing dflydev/dot-access-data (v1.1.0): Loading from cache
  - Installing grasmash/yaml-expander (1.4.0): Loading from cache
  - Installing symfony/filesystem (v3.4.2): Loading from cache
  - Installing grasmash/yaml-cli (1.0.3): Loading from cache
  - Installing webmozart/assert (1.2.0): Loading from cache
  - Installing webmozart/path-util (2.3.0): Loading from cache
  - Installing symfony/var-dumper (v3.4.2): Loading from cache
  - Installing symfony/finder (v3.4.2): Loading from cache
  - Installing symfony/event-dispatcher (v3.2.14): Loading from cache
  - Installing nikic/php-parser (v3.1.3): Loading from cache
  - Installing jakub-onderka/php-console-color (0.1): Loading from cache
  - Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
  - Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
  - Installing psy/psysh (v0.8.16): Loading from cache
  - Installing pear/console_table (v1.3.0): Loading from cache
  - Installing consolidation/output-formatters (3.1.13): Loading from cache
  - Installing consolidation/annotated-command (2.8.2): Loading from cache
  - Installing drush/drush (8.1.15): Loading from cache
  - Installing drupal/coder (8.2.12): Cloning 984c54a7b1 from cache
  - Installing doctrine/inflector (v1.1.0): Loading from cache
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing doctrine/collections (v1.5.0): Loading from cache
  - Installing doctrine/cache (v1.7.1): Loading from cache
  - Installing doctrine/annotations (v1.6.0): Loading from cache
  - Installing doctrine/common (v2.8.1): Loading from cache
  - Installing dealerdirect/phpcodesniffer-composer-installer (v0.4.4): Loading from cache
  - Installing symfony/process (v3.2.14): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing container-interop/container-interop (1.2.0): Loading from cache
  - Installing league/container (2.4.1): Loading from cache
  - Installing consolidation/log (1.0.5): Loading from cache
  - Installing grasmash/expander (1.0.0): Loading from cache
  - Installing consolidation/config (1.0.9): Loading from cache
  - Installing consolidation/robo (1.2.0): Loading from cache
  - Installing composer/semver (1.4.2): Loading from cache
  - Installing twig/twig (v1.35.0): Loading from cache
  - Installing asm89/twig-lint (1.0.2): Loading from cache
  - Installing acquia/blt (8.9.11): Loading from cache
  - Installing drupal-composer/drupal-scaffold (2.4.0): Loading from cache
  - Installing zendframework/zend-stdlib (3.1.0): Loading from cache
  - Installing zendframework/zend-escaper (2.5.2): Loading from cache
  - Installing zendframework/zend-feed (2.9.0): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing zendframework/zend-diactoros (1.6.1): Loading from cache
  - Installing symfony/translation (v3.2.14): Loading from cache
  - Installing symfony/validator (v3.2.14): Loading from cache
  - Installing symfony/serializer (v3.2.14): Loading from cache
  - Installing symfony/routing (v3.2.14): Loading from cache
  - Installing symfony/http-foundation (v3.2.14): Loading from cache
  - Installing symfony/psr-http-message-bridge (v1.0.2): Loading from cache
  - Installing symfony/polyfill-iconv (v1.6.0): Loading from cache
  - Installing symfony/http-kernel (v3.2.14): Loading from cache
  - Installing symfony/dependency-injection (v3.2.14): Loading from cache
  - Installing symfony/class-loader (v3.2.14): Loading from cache
  - Installing symfony-cmf/routing (1.4.1): Loading from cache
  - Installing stack/builder (v1.0.5): Loading from cache
  - Installing paragonie/random_compat (v2.0.11): Loading from cache
  - Installing masterminds/html5 (2.3.0): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.3.0): Loading from cache
  - Installing egulias/email-validator (1.2.14): Loading from cache
  - Installing easyrdf/easyrdf (0.9.1): Loading from cache
  - Installing asm89/stack-cors (1.2.0): Loading from cache
  - Installing drupal/core (8.4.3): Loading from cache
  - Applying patches for drupal/core
    https://www.drupal.org/files/issues/1356276-408--8.4.3.patch (1356276 - Allow profiles to provide a base/parent profile and load them in the correct order)
    https://www.drupal.org/files/issues/2880374-remove-experimental-warnings-6.patch (2880374 - Experimental modules should not have warnings after being installed)
    https://www.drupal.org/files/issues/2880445-remove-config-write-warning-2.patch (2880445 - Config sync should not throw a warning when not being writable)
    https://www.drupal.org/files/issues/2869592-remove-update-warning-7.patch (2869592 - Disabled update module shouldn't produce a status report warning)
    https://www.drupal.org/files/issues/2885441-2.patch (2885441 - EntityReferenceAutocompleteWidget should define its size setting as an integer)
    https://www.drupal.org/files/issues/2883813-27.patch (2883813 - Move File/Image media type into Standard once Media is stable)
    https://www.drupal.org/files/issues/2877383-23.patch (2877383 - Add action support to Media module)
    https://www.drupal.org/files/issues/2862041-229.patch (2862041 - Provide useful Views filters for Content Moderation State fields)
    https://www.drupal.org/files/issues/2815221-69-8.4.x.patch (2815221 - Add quickedit to the latest-revision route)

  - Installing drupal/workbench_moderation (1.2.0): Loading from cache
  - Applying patches for drupal/workbench_moderation
    https://www.drupal.org/files/issues/2668006-2.patch (2668006 - Provide logical access control for when IPE should be applied to moderated nodes)
    https://www.drupal.org/files/issues/2847078-6.patch (2847078 - Revision tracker's dynamic table creation can break Views)
    https://www.drupal.org/files/issues/workbench_moderation-quickedit-support-2749503-6.patch (2749503 - Add basic support for Quick Edit)

  - Installing drupal/wbm2cm (dev-2.x e155a0b): Cloning e155a0b2c9 from cache
  - Installing drupal/views_infinite_scroll (1.5.0): Loading from cache
  - Installing drupal/video_embed_field (2.0.0-alpha2): Loading from cache
  - Installing drupal/token (1.1.0): Loading from cache
  - Installing league/event (2.1.2): Loading from cache
  - Installing lcobucci/jwt (3.2.2): Loading from cache
  - Installing defuse/php-encryption (v2.1.0): Loading from cache
  - Installing league/oauth2-server (6.1.1): Loading from cache
  - Installing drupal/consumers (1.0.0-beta1): Loading from cache
  - Installing drupal/simple_oauth (3.3.0): Loading from cache
  - Applying patches for drupal/simple_oauth
    https://www.drupal.org/files/issues/2925369-2.patch (2925369 - TokenAuthUser does not fulfill RevisionableInterface, causes fatals)

  - Installing drupal/search_api (1.6.0): Loading from cache
  - Installing drupal/inline_entity_form (1.0.0-beta1): Loading from cache
  - Installing drupal/scheduled_updates (1.0.0-alpha6): Loading from cache
  - Installing drupal/ctools (3.0.0): Loading from cache
  - Installing drupal/pathauto (1.0.0): Loading from cache
  - Installing drupal/panels (4.2.0): Loading from cache
  - Applying patches for drupal/panels
    https://www.drupal.org/files/issues/panels-ipe-2878684-3.patch (2878684 - Use String.match to correlate regions when switching Layouts in Panels IPE)
    https://www.drupal.org/files/issues/panels-ipe-propogate-errors-2825034-5.patch (2825034 - Form error messages do not appear in IPE)
    https://www.drupal.org/files/issues/2908897-2.patch (2908897 - CategoryView leaves AJAX request marked active)
    https://www.drupal.org/files/issues/2913353-2.patch (2913353 - IPE attaches behaviors a bit too quickly)
    https://www.drupal.org/files/issues/panels-ipe-date-field-2825028-10.patch (2825028 - AJAX error creating and placing blocks with date fields in IPE)

  - Installing drupal/panelizer (4.0.0): Loading from cache
  - Applying patches for drupal/panelizer
    https://www.drupal.org/files/issues/2908917-2.patch (2908917 - SaveTabView blindly assumes a Revert tab exists)

  - Installing drupal/schemata (1.0.0-alpha2): Loading from cache
  - Installing drupal/openapi (1.0.0-alpha1): Loading from cache
  - Installing drupal/metatag (1.4.0): Loading from cache
  - Installing j7mbo/twitter-api-php (1.0.6): Loading from cache
  - Installing drupal/media_entity_twitter (2.0.0-alpha2): Loading from cache
  - Installing drupal/media_entity_instagram (2.0.0-alpha1): Loading from cache
  - Applying patches for drupal/media_entity_instagram
    https://www.drupal.org/files/issues/2917454-2.patch (2917454 - Field formatter test is broken)

  - Installing drupal/entity (1.0.0-beta1): Loading from cache
  - Installing drupal/media_entity (2.0.0-alpha2): Loading from cache
  - Applying patches for drupal/media_entity
    https://www.drupal.org/files/issues/2918172-5.patch (2918172 - Media Entity upgrade -> core fails on absent column revision_uid)

  - Installing drupal/media_entity_image (dev-1.x 3264d04): Cloning 3264d04a39 from cache
  - Installing drupal/media_entity_document (dev-1.x b98ec72): Cloning b98ec72e30 from cache
  - Installing drupal/jsonapi (1.6.0): Loading from cache
  - Installing drupal/crop (2.0.0-beta1): Loading from cache
  - Applying patches for drupal/crop
    https://www.drupal.org/files/issues/2918441-beta1-packaged-info-file.patch (Make Crop API compatible with core Media)

  - Installing drupal/image_widget_crop (2.1.0): Loading from cache
  - Installing drupal/config_update (1.5.0): Loading from cache
  - Installing drupal/features (3.5.0): Loading from cache
  - Installing drupal/embed (1.0.0): Loading from cache
  - Installing drupal/entity_embed (1.0.0-beta2): Loading from cache
  - Applying patches for drupal/entity_embed
    https://www.drupal.org/files/issues/2832504-2.patch (2832504 - Send the CKEditor instance ID to the embed.preview route)

  - Installing drupal/entity_browser (2.0.0-alpha2): Loading from cache
  - Applying patches for drupal/entity_browser
    https://www.drupal.org/files/issues/entity-browser-view-context-2865928-14.patch (2865928 - The View widget should filter based on field settings)
    https://www.drupal.org/files/issues/2877751-17.patch (2877751 - Inform users how many items they can add to a field that uses an entity browser)

  - Installing drupal/entity_block (1.0.0-alpha2): Loading from cache
  - Applying patches for drupal/entity_block
    https://www.drupal.org/files/issues/entity_block-view-builder-class.patch (2844068 - Create derivatives for any viewable entity.)
    https://www.drupal.org/files/issues/2846004-2.patch (2846004 - Entity Block does not perform any access control)

  - Installing drupal/dropzonejs (2.0.0-alpha3): Loading from cache
  - Installing sunra/php-simple-html-dom-parser (v1.5.2): Loading from cache
  - Installing ezyang/htmlpurifier (v4.9.3): Loading from cache
  - Installing caxy/php-htmldiff (v0.1.5): Loading from cache
  - Installing mkalkbrenner/php-htmldiff-advanced (0.0.8): Loading from cache
  - Installing drupal/diff (1.0.0-rc1): Loading from cache
  - Installing drupal/contact_storage (1.0.0-beta9): Loading from cache
  - Installing drupal/acquia_connector (1.14.0): Loading from cache
  - Installing bower-asset/dropzone (v5.1.1): Loading from cache
  - Installing bower-asset/cropper (v2.3.4): Loading from cache
  - Installing acquia/lightning (2.2.6): Loading from cache
  - Installing drupal/cog (1.10.0): Loading from cache
  - Installing drupal/config_filter (1.1.0): Loading from cache
  - Installing drupal/config_split (1.3.0): Loading from cache
  - Installing drupal/devel (1.2.0): Loading from cache
  - Installing drupal/memcache (2.0.0-alpha5): Loading from cache
  - Installing drupal/qa_accounts (1.0.0-alpha1): Loading from cache
  - Installing drupal/seckit (1.0.0-alpha2): Loading from cache
  - Installing drupal/security_review (dev-1.x 35ebae4): Cloning 35ebae445b from cache
  - Installing drupal/shield (1.1.0): Loading from cache
  - Installing geerlingguy/drupal-vm (4.7.0): Loading from cache
Generating optimized autoload files
Gathering patches for root package.
Removing package drupal/core so that it can be re-installed and re-patched.
Deleting docroot/core - deleted
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing drupal/core (8.4.3): Loading from cache
  - Applying patches for drupal/core
    https://www.drupal.org/files/issues/2752961-90.patch (Clear Twig caches on deploys)
    https://www.drupal.org/files/issues/1356276-408--8.4.3.patch (1356276 - Allow profiles to provide a base/parent profile and load them in the correct order)
    https://www.drupal.org/files/issues/2880374-remove-experimental-warnings-6.patch (2880374 - Experimental modules should not have warnings after being installed)
    https://www.drupal.org/files/issues/2880445-remove-config-write-warning-2.patch (2880445 - Config sync should not throw a warning when not being writable)
    https://www.drupal.org/files/issues/2869592-remove-update-warning-7.patch (2869592 - Disabled update module shouldn't produce a status report warning)
    https://www.drupal.org/files/issues/2885441-2.patch (2885441 - EntityReferenceAutocompleteWidget should define its size setting as an integer)
    https://www.drupal.org/files/issues/2883813-27.patch (2883813 - Move File/Image media type into Standard once Media is stable)
    https://www.drupal.org/files/issues/2877383-23.patch (2877383 - Add action support to Media module)
    https://www.drupal.org/files/issues/2862041-229.patch (2862041 - Provide useful Views filters for Content Moderation State fields)
    https://www.drupal.org/files/issues/2815221-69-8.4.x.patch (2815221 - Add quickedit to the latest-revision route)

Generating optimized autoload files
PHP CodeSniffer Config installed_paths set to ../../drupal/coder/coder_sniffer/
You are using Drupal packages that are not supported by the Drupal Security Team!
  - drupal/wbm2cm:dev-2.x: Project has not opted into security advisory coverage!
  - drupal/video_embed_field:2.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/consumers:1.0.0.0-beta1: Project has not opted into security advisory coverage!
  - drupal/inline_entity_form:1.0.0.0-beta1: Beta releases are not covered by Drupal security advisories.
  - drupal/scheduled_updates:1.0.0.0-alpha6: Project has not opted into security advisory coverage!
  - drupal/schemata:1.0.0.0-alpha2: Project has not opted into security advisory coverage!
  - drupal/schemata_json_schema:1.0.0.0-alpha2: Project has not opted into security advisory coverage!
  - drupal/openapi:1.0.0.0-alpha1: Project has not opted into security advisory coverage!
  - drupal/media_entity_twitter:2.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/media_entity_instagram:2.0.0.0-alpha1: Alpha releases are not covered by Drupal security advisories.
  - drupal/entity:1.0.0.0-beta1: Beta releases are not covered by Drupal security advisories.
  - drupal/media_entity:2.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/media_entity_image:dev-1.x: Dev releases are not covered by Drupal security advisories.
  - drupal/media_entity_document:dev-1.x: Dev releases are not covered by Drupal security advisories.
  - drupal/crop:2.0.0.0-beta1: Beta releases are not covered by Drupal security advisories.
  - drupal/entity_embed:1.0.0.0-beta2: Beta releases are not covered by Drupal security advisories.
  - drupal/entity_browser:2.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/entity_block:1.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/dropzonejs:2.0.0.0-alpha3: Project has not opted into security advisory coverage!
  - drupal/diff:1.0.0.0-RC1: RC releases are not covered by Drupal security advisories.
  - drupal/contact_storage:1.0.0.0-beta9: Beta releases are not covered by Drupal security advisories.
  - drupal/memcache:2.0.0.0-alpha5: Alpha releases are not covered by Drupal security advisories.
  - drupal/qa_accounts:1.0.0.0-alpha1: Project has not opted into security advisory coverage!
  - drupal/seckit:1.0.0.0-alpha2: Alpha releases are not covered by Drupal security advisories.
  - drupal/security_review:dev-1.x: Dev releases are not covered by Drupal security advisories.
See https://www.drupal.org/security-advisory-policy for more information.
PHP CodeSniffer Config installed_paths set to ../../drupal/coder/coder_sniffer/
[ExecStack] Done in 51.487s
Sanitizing artifact...
The deployment artifact was generated at /Users/[user]/Sites/[project]/deploy.
Committing artifact to develop-build...
Pushing artifact to git.remotes...
[ExecStack] git push 6a4a752fcaa140e15a06d25407c34321 develop-build
[ExecStack] Running git push 6a4a752fcaa140e15a06d25407c34321 develop-build in /Users/[user]/Sites/[project]/deploy
error: src refspec develop-build does not match any.
error: failed to push some refs to '[git remote url]'
[ExecStack]  Exit code 1  Time 0.013s

And I expected this to happen:

Initial deployment to Acquia cloud - Acquia cloud's repository being defined as a remote in project.yml

I may not be understanding the workflow. I see there is an outstanding issue to better document initial deployments.

grasmash commented 6 years ago

What is the value of git.remotes?

tiannajensen commented 6 years ago

It is the Git URL for the Acquia Cloud application. It is listed under remotes with a dash, no single quotes:

git: default_branch: master remotes:

grasmash commented 6 years ago

Does the git URL include the username prefix and .git suffix?

tiannajensen commented 6 years ago

It does.

grasmash commented 6 years ago

And is the YAML file indented like this?

git:
  default_branch: master
  remotes:
    - [Git URL]
tiannajensen commented 6 years ago

Yes

grasmash commented 6 years ago

Ok. That's very odd. Git is behaving like either the branch doesn't exist, or there is nothing to commit.

My suspicions are:

It's pretty unlikely that a bug exists directly in BLT. We make a point of touching the deployment process as little as possible and I don't think it's been modified in a long time.

Can you try to update your local version of git?

Also, can you rerun the command with -vvv and post new output?

tiannajensen commented 6 years ago

I've now had it pointed out to me that in the verbose output, the git add of files to the deploy project for commit fails on:

fatal: CRLF would be replaced by LF in docroot/themes/contrib/cog/STARTERKIT/fonts/poppins/OFL.txt.

Looks like a git configuration/file format issue.

Sorry for the false alarm; I was convinced I was getting something wrong with the BLT environment setup.

grasmash commented 6 years ago

No problem at all. Perhaps we need to bubble up git add failures better in BLT. The output of git add is hidden by default because it is so long, it often exceeds the maximum output length for CI tools.