-
Notifications
You must be signed in to change notification settings - Fork 97
Deploy Process
Jacky Jiang edited this page Oct 21, 2021
·
7 revisions
- Check
IndexDefinition.scalato see if there's been any index updates.- If there has, manually set the
search-apiindex version to the old index
- If there has, manually set the
-
cdto theconfigdirectory of the site to be updated - Ensure you're on
master, rungit pullandgit statusto make sure you're up to date and don't have any local changes - Run helm to upgrade:
kubectl config get-contexts # MAKE SURE YOU'RE ON THE RIGHT CONTEXT. EVERY TIME!!!!
helm repo update
helm upgrade magda magda-io/magda --timeout 30000 --install -f config.yaml --version=<version>
- While doing this, run
kubectl get pods -win another window to monitor progress - Once complete, check the site is running correctly - check the homepage, the search page and a dataset page
- Check that the minions are successfully running
- Check that Google Analytics can still see you.
- If there was a search index upgrade, run
kubectl logs -f indexer<tab>to wait until the indexer is finished indexing it, then remove the index version and redeploy with no hooks:
helm upgrade magda magda-io/magda --timeout 30000 --install -f config.yaml --version=<version> --no-hooks