-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
85 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
web/modules/custom/ballerup_d7_migration/scripts/migrate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/sh | ||
|
||
echo "Importing new import configuration" | ||
drush cim --partial --source=modules/custom/ballerup_d7_migration/config/install -y | ||
echo "Configuration imported" | ||
|
||
echo "Migration users - START" | ||
drush migrate:import ballerup_d7_user | ||
echo "Migration users - END" | ||
|
||
echo "Migration ballerup_d7_taxonomy_section - START" | ||
drush migrate:import ballerup_d7_taxonomy_section | ||
echo "Migration ballerup_d7_taxonomy_section - END" | ||
|
||
echo "Migration ballerup_d7_taxonomy_tags - START" | ||
drush migrate:import ballerup_d7_taxonomy_tags | ||
echo "Migration ballerup_d7_taxonomy_tags - END" | ||
|
||
echo "Migration os2web_borgerdk_articles_import - START" | ||
drush migrate:import os2web_borgerdk_articles_import | ||
echo "Migration os2web_borgerdk_articles_import - END" | ||
|
||
echo "Migration ballerup_d7_contact_box - START" | ||
drush migrate:import ballerup_d7_contact_box | ||
echo "Migration ballerup_d7_contact_box - END" | ||
|
||
echo "Migration ballerup_d7_paragraph_iframe - START" | ||
drush migrate:import ballerup_d7_paragraph_iframe | ||
echo "Migration ballerup_d7_paragraph_iframe - END" | ||
|
||
echo "Migration ballerup_d7_node_gallery_slide - START" | ||
drush migrate:import ballerup_d7_node_gallery_slide | ||
echo "Migration ballerup_d7_node_gallery_slide - END" | ||
|
||
echo "Migration ballerup_d7_node_institution_page - START" | ||
drush migrate:import ballerup_d7_node_institution_page | ||
echo "Migration ballerup_d7_node_institution_page - END" | ||
|
||
echo "Migration ballerup_d7_node_news - START" | ||
drush migrate:import ballerup_d7_node_news | ||
echo "Migration ballerup_d7_node_news - END" | ||
|
||
echo "Migration ballerup_d7_paragraph_accordion - START" | ||
drush migrate:import ballerup_d7_paragraph_accordion | ||
echo "Migration ballerup_d7_paragraph_accordion - END" | ||
|
||
echo "Migration ballerup_d7_node_indholdside - START" | ||
drush migrate:import ballerup_d7_node_indholdside | ||
echo "Migration ballerup_d7_node_indholdside - END" | ||
|
||
echo "Execuing custom script [1/2] - Fix publish status" | ||
drush scr modules/custom/ballerup_d7_migration/scripts/migrate_fix_publish_status.php | ||
echo "Execuing custom script [2/2] - Remove inline picutres" | ||
drush scr modules/custom/ballerup_d7_migration/scripts/remove_inline_pictures.php | ||
|
||
echo "Migration complete visit URL '/admin/config/system/delete-orphans' to delete the orphaned paragraphs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters