Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inventory/vagrant/group_vars/webserver/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ drupal_composer_dependencies:
- "drupal/matomo:^1.7"
- "drupal/pdf:1.x-dev"
- "islandora/carapace:1.0.0"
- "islandora/islandora_defaults:dev-8.x-1.x"
drupal_composer_project_package: "islandora/drupal-project:8.6.10"
- "islandora/islandora_defaults:dev-url-refactor"
drupal_composer_project_package: "islandora/drupal-project:8.7"
drupal_composer_project_options: "--prefer-dist --stability dev --no-interaction"
drupal_core_path: "{{ drupal_composer_install_dir }}/web"
drupal_db_user: drupal8
Expand Down
19 changes: 9 additions & 10 deletions post-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,9 @@
# Some tomfoolery to get the demo module to install.
# Subject to https://www.drupal.org/node/2599228
# Should be fixed in Drupal 8.7
- name: Install islandora_defaults module (fail ok)
- name: Install islandora_defaults module
command: "{{ drush_path }} --root {{ drupal_core_path }} -y en islandora_defaults"
ignore_errors: yes
- name: Update entities
command: "{{ drush_path }} --root {{ drupal_core_path }} -y entity:updates"
- name: Uninstall islandora_defaults module
command: "{{ drush_path }} --root {{ drupal_core_path }} -y pmu islandora_defaults"
- name: Install islandora_defaults module (should not fail)
command: "{{ drush_path }} --root {{ drupal_core_path }} -y en islandora_defaults"
- name: Import feature
command: "{{ drush_path }} --root {{ drupal_core_path }} -y fim --bundle=islandora islandora_defaults"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re: @seth-shaw-unlv's comments I also got the same behaviour. I re-added this "Import feature" and everything seemed to come up hunky-dorry.

- name: Add admin to fedoraAdmin role
command: "{{ drush_path }} --root {{ drupal_core_path }} -y urol fedoraadmin admin"
- name: Install islandora_search
Expand All @@ -39,6 +31,9 @@
command: "{{ drush_path }} --root {{ drupal_core_path }} -y cset --input-format=yaml islandora.settings gemini_pseudo_bundles.{{ item.0 }} {{ item.1 }}"
with_indexed_items: "{{ drupal_gemini_pseudo_bundles }}"

- name: Set media urls
command: "{{ drush_path }} --root {{ drupal_core_path }} -y cset --input-format=yaml media.settings standalone_url true"

- name: Run migrations
command: "{{ drush_path }} --root {{ drupal_core_path }} -y -l localhost:{{ apache_listen_port }} --userid=1 mim --group=islandora"

Expand All @@ -64,7 +59,7 @@
group: "{{ webserver_app_user }}"
mode: 0775
recurse: yes

- name: Chown islandora core feature
file:
dest: "{{ drupal_core_path }}/modules/contrib/islandora/modules/islandora_core_feature"
Expand All @@ -91,3 +86,7 @@
group: "{{ webserver_app_user }}"
mode: 0775
recurse: yes

- name: Clear cache
command: "{{ drush_path }} --root {{ drupal_core_path }} -y cr"