-
Notifications
You must be signed in to change notification settings - Fork 9
Upgrade to ckan 2.10.8 #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,46 +1,49 @@ | ||
include $(PWD)/.env | ||
|
||
build: | ||
docker-compose build | ||
docker compose build | ||
|
||
up: | ||
docker compose up | ||
|
||
build-web: | ||
docker-compose build web | ||
docker compose build web | ||
|
||
web: | ||
docker-compose up web | ||
bash: | ||
docker-compose exec web bash | ||
docker compose up web | ||
|
||
|
||
paster: | ||
docker-compose exec web paster --plugin=ckan | ||
bash: | ||
docker compose exec web bash | ||
|
||
db-init: | ||
docker-compose exec web paster --plugin=ckan db init | ||
docker compose exec web ckan -c ckan.ini db init | ||
|
||
db-upgrade: | ||
docker-compose exec web paster --plugin=ckan db upgrade | ||
docker compose exec web ckan -c ckan.ini db upgrade | ||
|
||
rebuild-index: | ||
docker-compose exec web paster --plugin=ckan search-index rebuild -r | ||
issues-init: | ||
docker-compose exec web paster --plugin=ckanext-issues issues init_db | ||
docker compose exec web ckan -c ckan.ini search-index rebuild | ||
|
||
issues-init: | ||
docker compose exec web ckan -c ckan.ini issues init_db | ||
|
||
ckan: | ||
docker build --no-cache --build-arg CKAN_VERSION=2.9.0 -t codeforafrica/ckan:latest -t codeforafrica/ckan:2.9.0 contrib/ckan | ||
docker buildx build --platform linux/amd64 --no-cache --build-arg CKAN_VERSION=$(CKAN_VERSION) --tag codeforafrica/ckan:latest --tag codeforafrica/ckan:$(CKAN_VERSION) . | ||
|
||
ckan-publish: | ||
docker push codeforafrica/ckan:latest | ||
docker push codeforafrica/ckan:2.9.0 | ||
docker push codeforafrica/ckan:$(CKAN_VERSION) | ||
|
||
solr: | ||
docker build --no-cache --build-arg CKAN_VERSION=2.9.0 -t codeforafrica/ckan-solr:latest -t codeforafrica/ckan-solr:2.9.0 contrib/solr | ||
docker buildx build --platform linux/amd64 --no-cache --build-arg CKAN_VERSION=$(CKAN_VERSION) --tag codeforafrica/ckan-solr:latest --tag codeforafrica/ckan-solr:$(CKAN_SOLR_VERSION) contrib/solr | ||
|
||
solr-publish: | ||
docker push codeforafrica/ckan-solr:latest | ||
docker push codeforafrica/ckan-solr:2.8.11 | ||
|
||
docker push codeforafrica/ckan-solr:$(CKAN_SOLR_VERSION) | ||
|
||
datapusher: | ||
docker build -t codeforafrica/ckan-datapusher:latest -t codeforafrica/ckan-datapusher:0.0.15 contrib/ckan-datapusher | ||
docker buildx build --platform linux/amd64 --tag codeforafrica/ckan-datapusher:latest --tag codeforafrica/ckan-datapusher:$(DATAPUSHER_VERSION) contrib/ckan-datapusher | ||
|
||
datapusher-publish: | ||
docker push codeforafrica/ckan-datapusher:latest | ||
docker push codeforafrica/ckan-datapusher:0.0.15 | ||
docker push codeforafrica/ckan-datapusher:$(DATAPUSHER_VERSION) |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.