Skip to content

Commit

Permalink
Closes #1695: Replaced drush en with drush install (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsamboy authored and joeparsons committed Nov 16, 2022
1 parent 5fcf68c commit 62e4fcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/review-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
--site-name="Kitten" \
--yes \
--verbose
terminus -y -n drush ${{ secrets.DEMO_SITE_NAME }}.dev -- pm:enable -n -y az_demo
terminus -y -n drush ${{ secrets.DEMO_SITE_NAME }}.dev -- pm:install -n -y az_demo
terminus -y -n connection:set ${{ secrets.DEMO_SITE_NAME }}.dev git
- name: Clear caches
Expand Down
8 changes: 4 additions & 4 deletions .probo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ steps:
- name: Post-Installation Steps
plugin: Script
script:
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush -y -n pm:enable az_demo
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush -y -n pm:install az_demo
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontenteditor --password="azcontenteditor"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:role:add az_content_editor azcontenteditor
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush user:create azcontentadmin --password="azcontentadmin"
Expand All @@ -59,7 +59,7 @@ steps:
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush config:set -y system.logging error_level "verbose"
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush cache:rebuild
- chown www-data:www-data -R /var/www/html/sites/default/files
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush -y -n pm:enable environment_indicator
- $SRC_DIR/az-quickstart-scaffolding/vendor/bin/drush -y -n pm:install environment_indicator
- chmod 777 /var/www/html/sites/default/settings.php
- echo -e "\$config['environment_indicator.indicator']['name'] = '$BRANCH_NAME (ProboCI)';\n\$config['environment_indicator.indicator']['bg_color'] = '#440027';\n\$config['environment_indicator.indicator']['fg_color'] = '#ffffff';" >> /var/www/html/sites/default/settings.php
- chmod 444 /var/www/html/sites/default/settings.php
Expand Down Expand Up @@ -118,8 +118,8 @@ steps:
- drush site:install az_quickstart --site-name='Quickstart Migration' --account-name=azadmin --account-pass=azadmin --verbose --yes -n
- chown www-data:www-data -R /var/www/html/sites/migration/files
- terminus env:wake ${MIGRATION_SOURCE_SITE_NAME}.dev
- drush -y en az_migration
- drush -y en az_paragraphs_html
- drush -y install az_migration
- drush -y install az_paragraphs_html
- drush -y cset az_migration.settings migrate_d7_protocol "https"
- drush -y cset az_migration.settings migrate_d7_filebasepath "dev-${MIGRATION_SOURCE_SITE_NAME}.pantheonsite.io/"
- drush -y cset az_migration.settings migrate_d7_public_path "sites/default/files"
Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ You can skip most of the rest of this README unless you run into trouble.
* Install the module using the below command.

```
drush en az_migration
drush install az_migration
```

### Configure the settings.php to connect source database
Expand Down

0 comments on commit 62e4fcd

Please sign in to comment.