Skip to content

Deploy Process

Alex Gilleran edited this page Feb 5, 2019 · 7 revisions
  • Check Indices.scala to see if there's been any index updates.
    • If there has, manually set the search-api index version to the old index
  • cd to the config directory of the site to be updated
  • Ensure you're on master, run git pull and git status to make sure you're up to date and don't have any local changes
  • Run helm to upgrade:
helm upgrade magda magda-io/magda --wait --timeout 30000 --install -f config.yaml --version=<version>
  • While doing this, run kubectl get pods -w in 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 --wait --timeout 30000 --install -f config.yaml --version=<version> --no-hooks
Clone this wiki locally