forked from ckan/ckanext-validation
-
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.
- Ensure shell variables are escaped - Add reporting-only testing on CKAN 2.11 and latest master - Prepare scenario tests for CKAN 2.11
- Loading branch information
Showing
12 changed files
with
82 additions
and
93 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
#!/usr/bin/env sh | ||
set -e | ||
|
||
dockerize -wait tcp://postgres:5432 -timeout 1m | ||
dockerize -wait tcp://solr:8983 -timeout 1m | ||
dockerize -wait tcp://redis:6379 -timeout 1m | ||
|
||
for i in `seq 1 60`; do | ||
if (PGPASSWORD=pass psql -h postgres -U ckan_default -d ckan_test -c "\q"); then | ||
echo "Database became ready on attempt $i" | ||
break | ||
else | ||
echo "Database not yet ready, retrying (attempt $i)..." | ||
sleep 1 | ||
fi | ||
done | ||
|
||
. ${APP_DIR}/bin/activate | ||
. "${APP_DIR}"/bin/activate | ||
if (which ckan > /dev/null); then | ||
ckan -c ${CKAN_INI} run -r -t | ||
ckan -c ${CKAN_INI} run --disable-reloader --threaded | ||
else | ||
paster serve ${CKAN_INI} | ||
fi |
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