-
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.
Sync hs-colorful site for gitpod (#1144)
* Sync hs-colorful site for gitpod * Adjust if statement * Fix database * adjusted commands * dont use env variable * Sql-sync extra arg * missing dash * toggle modules * Disable saml
- Loading branch information
Showing
2 changed files
with
18 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,21 +35,26 @@ tasks: | |
export PREVIEW_FULL_URL=`gp url 8001` && | ||
export PREVIEW_URL=${PREVIEW_FULL_URL#"https://"} && | ||
cp .gitpod/blt.yml blt/local.blt.yml && | ||
composer update --no-interaction && | ||
composer install --no-interaction && | ||
rm -rf docroot/*/custom/* && | ||
composer install --prefer-source --no-interaction && | ||
blt blt:telemetry:disable --no-interaction && | ||
cp .gitpod/gitpod.settings.php docroot/sites/settings/local.settings.php && | ||
blt settings && | ||
mysql -u root -e 'CREATE DATABASE IF NOT EXISTS drupal' && | ||
blt drupal:install -n && | ||
mysql -u root -e 'CREATE DATABASE IF NOT EXISTS drupal_default; CREATE DATABASE IF NOT EXISTS drupal' && | ||
blt sws:keys && | ||
blt sbsc | ||
command: | | ||
apache2ctl restart | ||
gp await-port 8001 | ||
drush uli | ||
blt source:build:simplesamlphp-config && | ||
drush sql-sync @hs_colorful.prod @self --extra-dump='--no-tablespaces --insert-ignore' -y && | ||
drush updb -y && | ||
blt drupal:toggle:modules && | ||
drush cim --partial -y && | ||
drush cim --partial -y | ||
command: > | ||
git config core.fileMode false && | ||
blt blt:telemetry:disable --no-interaction && | ||
git remote set-url origin [email protected]:SU-HSDO/suhumsci.git && | ||
apache2ctl restart && | ||
gp await-port 8001 && | ||
drush uli && | ||
drush uli | xargs gp preview --external | ||
git config core.fileMode false | ||
blt blt:telemetry:disable --no-interaction | ||
git remote set-url origin [email protected]:SU-HSDO/suhumsci.git |
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