-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Use Docker path for test-core.ini locally and on github
- Loading branch information
Showing
2 changed files
with
1 addition
and
5 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 |
---|---|---|
|
@@ -14,9 +14,6 @@ pip install -e git+https://github.com/ckan/[email protected]#eg | |
pip install -e git+https://github.com/ckan/ckanext-fluent.git#egg=ckanext-fluent | ||
pip install -r https://raw.githubusercontent.com/ckan/ckanext-fluent/master/requirements.txt | ||
|
||
# Replace default path to CKAN core config file with the one on the container | ||
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' /__w/ckanext-switzerland/ckanext-switzerland/test.ini | ||
|
||
# Init db and re-enable required plugins | ||
ckan config-tool /__w/ckanext-switzerland/ckanext-switzerland/test.ini "ckan.plugins = " | ||
ckan -c /__w/ckanext-switzerland/ckanext-switzerland/test.ini db init | ||
|
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