forked from pantheon-systems/drops-7
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from GetDKAN/proposed_release_for_tag_1511834208
1511834208: Proposed release for 7.x-1.14
- Loading branch information
Showing
679 changed files
with
19,203 additions
and
6,924 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SETTINGS_PATH=docroot/sites/default/settings.php | ||
DIR=$(dirname $SETTINGS_PATH) | ||
chmod +w $SETTINGS_PATH | ||
chmod +w $DIR | ||
echo ".. Reconnect mysql." | ||
MYSQL_IP=`echo $1 | sed 's/.*@\(.*\)\/.*/\1/g'` | ||
sed -i "s/\(^\s*\)'host' => \(.*\),/\1'host' => '$MYSQL_IP',/g" $SETTINGS_PATH | ||
|
||
chmod -w $SETTINGS_PATH | ||
chmod -w $DIR | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,11 @@ commands: | |
if [ -d docroot ] | ||
then | ||
ahoy confirm "./docroot folder alredy exists. Delete it and reinstall drupal?" && chmod -R 777 docroot/sites/default && rm -rf docroot || | ||
{ echo ".. skipping installation"; exit 1;} | ||
{ | ||
echo ".. skipping installation"; | ||
ahoy cmd-proxy bash dkan/.ahoy/.scripts/mysql-reconnect.sh $ARGS | ||
exit 1; | ||
} | ||
fi | ||
ahoy cmd-proxy bash dkan/.ahoy/.scripts/drupal-rebuild.sh $ARGS | ||
|
@@ -46,7 +50,7 @@ commands: | |
if [ ! -d backups ]; then | ||
mkdir backups | ||
fi | ||
if [ -f backups/last_install.sql ] && ahoy confirm "An existing installation backup exists at backups/last_install.sql, do you want to use that instead of reinstalling from scratch?"; then | ||
if [ -f backups/last_install.sql ] && ahoy confirm "{{args}} An existing installation backup exists at backups/last_install.sql, do you want to use that instead of reinstalling from scratch?"; then | ||
ahoy drush sql-drop -y && \ | ||
echo "... Removed tables, restoring DB" | ||
|
@@ -185,7 +189,7 @@ commands: | |
rm -fR dkan-ahoy | ||
rm -fR dkan/.ahoy | ||
rm dkan/dkan-init.sh | ||
git clone '[email protected]:nucivic/dkan' --depth=1 dkan-ahoy | ||
git clone '[email protected]:getdkan/dkan' --depth=1 dkan-ahoy | ||
cp -r dkan-ahoy/.ahoy dkan/ | ||
cp dkan-ahoy/dkan-init.sh dkan/ | ||
cp dkan-ahoy/test/behat.docker.yml dkan/test/ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.