Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove dependency on geerlingguy drupal console ansible role because … #191

Closed
wants to merge 1 commit into from

Conversation

rosiel
Copy link
Contributor

@rosiel rosiel commented Oct 7, 2020

…composer installs it just fine

GitHub Issue: Islandora/documentation#1634 - thanks @klidifia!

  • Other Relevant Links

This was fixed on dev with Islandora/documentation#1599

What does this Pull Request do?

This should make the "main" (release) work again.

What's new?

Removes drupal-console (composer installs it?)

How should this be tested?

Check it out! Does it spin up?

Additional Notes:

@dannylamb @klidifia @Islandora-Devops/committers

@seth-shaw-unlv
Copy link
Member

Tried this tonight and it failed with:

TASK [geerlingguy.drupal : Install dependencies with composer require (this may take a while).] ***
Friday 15 January 2021  19:52:24 -0800 (0:00:01.221)       0:08:20.206 ******** 
changed: [default] => (item=zaporylie/composer-drupal-optimizations:^1.0)
changed: [default] => (item=drupal/console:~1.0)
changed: [default] => (item=drupal/devel:^2.0)
failed: [default] (item=drush/drush:^9.0) => {"ansible_loop_var": "item", "changed": false, "item": "drush/drush:^9.0", "msg": "./composer.json has been updated Running composer update drush/drush > DrupalProject\\composer\\ScriptHandler::checkComposerVersion Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion: don't install drush/drush 9.6.0-rc4 (conflict analysis result) - Conclusion: don't install drush/drush 9.6.0-rc5 (conflict analysis result) - Conclusion: don't install drush/drush 9.6.0-rc6 (conflict analysis result) - Conclusion: don't install drush/drush 9.6.0 (conflict analysis result) - Conclusion: don't install drush/drush 9.6.1 (conflict analysis result) - Conclusion: don't install drush/drush 9.6.2 (conflict analysis result) - Conclusion: don't install drush/drush 9.7.0 (conflict analysis result) - Conclusion: don't install drush/drush 9.7.1 (conflict analysis result) - Conclusion: don't install drush/drush 9.7.2 (conflict analysis result) - drush/drush[9.5.0, ..., 9.5.x-dev] require consolidation/site-alias ^1.1.5 -> found consolidation/site-alias[1.1.5, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.0.0-alpha1 requires symfony/var-dumper ~2.7|~3.0 -> found symfony/var-dumper[v2.7.0-BETA1, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.0.0-beta1 requires symfony/config ~2.2 -> found symfony/config[v2.2.0, ..., 2.8.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush[9.0.0-beta2, ..., 9.3.0] require symfony/config ~2.2|^3 -> found symfony/config[v2.2.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.0.0-beta5 requires consolidation/config dev-master -> found consolidation/config[dev-master, 2.x-dev (alias of dev-master)] but the package is fixed to 1.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.0.0-beta8 requires sebastian/version ~1 -> found sebastian/version[1.0.0, ..., 1.0.6] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.4.0 requires consolidation/site-alias ^1.1.2 -> found consolidation/site-alias[1.1.2, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush[9.6.0-alpha1, ..., 9.6.0-beta4] require consolidation/filter-via-dot-access-data ^0.4 -> found consolidation/filter-via-dot-access-data[0.4.0, 0.4.1] but the package is fixed to 1.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush[9.6.0-rc1, ..., 9.6.0-rc3] require consolidation/site-alias ^2.1.1 -> found consolidation/site-alias[2.1.1] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drush/drush 9.x-dev requires chi-teck/drupal-code-generator ^1.28.1 -> satisfiable by chi-teck/drupal-code-generator[1.33.1]. - chi-teck/drupal-code-generator 1.33.1 conflicts with drush/drush 9.x-dev. - Root composer.json requires drush/drush ^9.0 -> satisfiable by drush/drush[9.0.0-alpha1, ..., 9.x-dev]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content.", "stdout": "./composer.json has been updated\nRunning composer update drush/drush\n> DrupalProject\\composer\\ScriptHandler::checkComposerVersion\nLoading composer repositories with package information\nUpdating dependencies\nYour requirements could not be resolved to an installable set of packages.\n\n  Problem 1\n    - Conclusion: don't install drush/drush 9.6.0-rc4 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.6.0-rc5 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.6.0-rc6 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.6.0 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.6.1 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.6.2 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.7.0 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.7.1 (conflict analysis result)\n    - Conclusion: don't install drush/drush 9.7.2 (conflict analysis result)\n    - drush/drush[9.5.0, ..., 9.5.x-dev] require consolidation/site-alias ^1.1.5 -> found consolidation/site-alias[1.1.5, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.0.0-alpha1 requires symfony/var-dumper ~2.7|~3.0 -> found symfony/var-dumper[v2.7.0-BETA1, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.0.0-beta1 requires symfony/config ~2.2 -> found symfony/config[v2.2.0, ..., 2.8.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush[9.0.0-beta2, ..., 9.3.0] require symfony/config ~2.2|^3 -> found symfony/config[v2.2.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.0.0-beta5 requires consolidation/config dev-master -> found consolidation/config[dev-master, 2.x-dev (alias of dev-master)] but the package is fixed to 1.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.0.0-beta8 requires sebastian/version ~1 -> found sebastian/version[1.0.0, ..., 1.0.6] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.4.0 requires consolidation/site-alias ^1.1.2 -> found consolidation/site-alias[1.1.2, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush[9.6.0-alpha1, ..., 9.6.0-beta4] require consolidation/filter-via-dot-access-data ^0.4 -> found consolidation/filter-via-dot-access-data[0.4.0, 0.4.1] but the package is fixed to 1.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush[9.6.0-rc1, ..., 9.6.0-rc3] require consolidation/site-alias ^2.1.1 -> found consolidation/site-alias[2.1.1] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.\n    - drush/drush 9.x-dev requires chi-teck/drupal-code-generator ^1.28.1 -> satisfiable by chi-teck/drupal-code-generator[1.33.1].\n    - chi-teck/drupal-code-generator 1.33.1 conflicts with drush/drush 9.x-dev.\n    - Root composer.json requires drush/drush ^9.0 -> satisfiable by drush/drush[9.0.0-alpha1, ..., 9.x-dev].\n\nUse the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.\n\nInstallation failed, reverting ./composer.json and ./composer.lock to their original content.\n", "stdout_lines": ["./composer.json has been updated", "Running composer update drush/drush", "> DrupalProject\\composer\\ScriptHandler::checkComposerVersion", "Loading composer repositories with package information", "Updating dependencies", "Your requirements could not be resolved to an installable set of packages.", "", "  Problem 1", "    - Conclusion: don't install drush/drush 9.6.0-rc4 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.6.0-rc5 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.6.0-rc6 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.6.0 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.6.1 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.6.2 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.7.0 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.7.1 (conflict analysis result)", "    - Conclusion: don't install drush/drush 9.7.2 (conflict analysis result)", "    - drush/drush[9.5.0, ..., 9.5.x-dev] require consolidation/site-alias ^1.1.5 -> found consolidation/site-alias[1.1.5, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.0.0-alpha1 requires symfony/var-dumper ~2.7|~3.0 -> found symfony/var-dumper[v2.7.0-BETA1, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.0.0-beta1 requires symfony/config ~2.2 -> found symfony/config[v2.2.0, ..., 2.8.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush[9.0.0-beta2, ..., 9.3.0] require symfony/config ~2.2|^3 -> found symfony/config[v2.2.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but the package is fixed to v4.4.18 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.0.0-beta5 requires consolidation/config dev-master -> found consolidation/config[dev-master, 2.x-dev (alias of dev-master)] but the package is fixed to 1.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.0.0-beta8 requires sebastian/version ~1 -> found sebastian/version[1.0.0, ..., 1.0.6] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.4.0 requires consolidation/site-alias ^1.1.2 -> found consolidation/site-alias[1.1.2, ..., 1.x-dev] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush[9.6.0-alpha1, ..., 9.6.0-beta4] require consolidation/filter-via-dot-access-data ^0.4 -> found consolidation/filter-via-dot-access-data[0.4.0, 0.4.1] but the package is fixed to 1.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush[9.6.0-rc1, ..., 9.6.0-rc3] require consolidation/site-alias ^2.1.1 -> found consolidation/site-alias[2.1.1] but the package is fixed to 3.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.", "    - drush/drush 9.x-dev requires chi-teck/drupal-code-generator ^1.28.1 -> satisfiable by chi-teck/drupal-code-generator[1.33.1].", "    - chi-teck/drupal-code-generator 1.33.1 conflicts with drush/drush 9.x-dev.", "    - Root composer.json requires drush/drush ^9.0 -> satisfiable by drush/drush[9.0.0-alpha1, ..., 9.x-dev].", "", "Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.", "", "Installation failed, reverting ./composer.json and ./composer.lock to their original content."]}
changed: [default] => (item=drupal/rdfui:^1.0-beta1)
changed: [default] => (item=drupal/restui:^1.16)
changed: [default] => (item=drupal/search_api_solr:^3.8)
changed: [default] => (item=drupal/facets:^1.3)
changed: [default] => (item=drupal/content_browser:^1.0@alpha)
changed: [default] => (item=drupal/matomo:^1.7)
changed: [default] => (item=drupal/pdf:1.x-dev)
changed: [default] => (item=drupal/admin_toolbar:^2.0)
changed: [default] => (item=drupal/rest_oai_pmh:^1.0)
changed: [default] => (item=drupal/transliterate_filenames:^1.3)
changed: [default] => (item=islandora/carapace:3.0.0)
changed: [default] => (item=islandora/islandora_defaults:1.1.1)
changed: [default] => (item=islandora-rdm/islandora_fits:dev-master)

@homorp
Copy link

homorp commented Feb 13, 2021

I always fail at this step either using az dev or main branch
changed: [default] => (item=islandora-rdm/islandora_fits:dev-8.x-1.x)
changed: [default] => (item=islandora-rdm/islandora_fits:dev-master)
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Is there an idea for fixing the problem
Usin Ubuntu 18.04 (azure cloud), Vagrant 2.0.2, newest ansible, set "zaporylie/composer-drupal-optimizations:^1.1 || ^2.0" in inventory/vagrant/group_vars/webserver/drupal.yml

@alxp alxp deleted the branch Islandora-Devops:main August 4, 2021 19:15
@alxp alxp closed this Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants