Name: data-portal-deployment
Owner: Natural History Museum
Description: Automated deployment tool for the Data Portal
Created: 2017-11-24 16:04:55.0
Updated: 2017-11-24 16:08:07.0
Pushed: 2017-12-07 14:33:17.0
Homepage: null
Size: 13
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Script loops through all repositories defined in config - default.cfg:main.directory
.
If the repository is a CKAN plugin owned by the Natural History Museum organisation, the script pulls either the latest master (for staging / development) or latest release (for production).
To update all repositories to latest commit on master branch:
oy master
To update all repositories to latest tagged release:
oy release
Note: Repositories without a tagged release are not updated.
To update a single repository by name:
oy -n ckanext-nhm master
On staging deploy master
is run on cron every 5 minutes. If source code changes are detected, Apache WSGI will be restarted so all updates merged into master are automatically deployed onto staging.
On production deploy release
and Apache WSGI will need to be manually run.