Skip to content

Commit 8cf2aaa

Browse files
committed
Adding migrate single script to run
1 parent 22e9838 commit 8cf2aaa

15 files changed

+85
-10
lines changed

web/modules/custom/ballerup_d7_migration/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ $databases['migrate']['default'] = array (
3030
);
3131
```
3232
33-
## Migrate process
33+
## Migrate quick run
34+
Run the entire migration process with single command:
35+
```
36+
cd web
37+
sh ./modules/custom/ballerup_d7_migration/scripts/migrate.sh
38+
```
39+
40+
## Migrate process details for manual run
3441
3542
The recommended usage migrate process is via Drush:
3643

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_contact_box.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
77
source:
88
plugin: d7_node
99
node_type: contact_box
10+
track_changes: true
1011
process:
1112
migrate_publish:
1213
plugin: skip_on_empty

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_institution_contact_box.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
77
source:
88
plugin: d7_node
99
node_type: institution_page
10+
track_changes: true
1011
process:
1112
name:
1213
plugin: substr

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_node_gallery_slide.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
88
source:
99
plugin: d7_node
1010
node_type: gallery_slide
11+
track_changes: true
1112
process:
1213
# If you are using this file to build a custom migration consider removing
1314
# the nid and vid fields to allow incremental migrations.
@@ -35,7 +36,7 @@ process:
3536
status: status
3637
created: created
3738
changed: changed
38-
promote: promote
39+
#promote: promote
3940
sticky: sticky
4041
path/pathauto:
4142
plugin: default_value

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_node_indholdside.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
88
source:
99
plugin: d7_node
1010
node_type: info_page
11+
track_changes: true
1112
process:
1213
# If you are using this file to build a custom migration consider removing
1314
# the nid and vid fields to allow incremental migrations.
@@ -36,7 +37,7 @@ process:
3637
status: status
3738
created: created
3839
changed: changed
39-
promote: promote
40+
#promote: promote
4041
sticky: sticky
4142
field_os2web_page_description:
4243
- plugin: sub_process

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_node_institution_page.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
88
source:
99
plugin: d7_node
1010
node_type: institution_page
11+
track_changes: true
1112
process:
1213
# If you are using this file to build a custom migration consider removing
1314
# the nid and vid fields to allow incremental migrations.

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_node_news.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
88
source:
99
plugin: d7_node
1010
node_type: news
11+
track_changes: true
1112
process:
1213
# If you are using this file to build a custom migration consider removing
1314
# the nid and vid fields to allow incremental migrations.
@@ -36,7 +37,7 @@ process:
3637
status: status
3738
created: created
3839
changed: changed
39-
promote: promote
40+
#promote: promote
4041
sticky: sticky
4142
field_os2web_news_article_author: field_newsarticle_author
4243
field_os2web_news_article_date:

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_paragraph_accordion.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
77
source:
88
plugin: d7_node
99
node_type: info_page
10+
track_changes: true
1011
process:
1112
field_os2web_accordion_heading:
1213
-

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_paragraph_iframe.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
77
source:
88
plugin: d7_node
99
node_type: gallery_slide
10+
track_changes: true
1011
process:
1112
field_os2web_iframe_code:
1213
-

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_taxonomy_institution.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
77
source:
88
plugin: d7_node
99
node_type: institution_page
10+
track_changes: true
1011
process:
1112
vid:
1213
plugin: default_value

0 commit comments

Comments
 (0)