Deployment
Deploying the Crop Sown Registry: install order and the Jobs that run on install and upgrade.
This page lists the order and what runs on install. What the Crop Sown Registry is and how it is packaged: Crop Sown Registry. The install steps and choices: Deploying on Rancher.
Order
commons-base, then commons-services, in the namespace (Commons Helm Chart). Which commons-services settings it needs: Prerequisites.
The Crop Sown Registry: Deploying on Rancher.
The Farmer Registry is not needed (why).
What happens on install
Regular Job
the iam-register Job
Registers the staff portal's roles and permissions in IAM. A failure here does not fail the release
Hook, weight 10
<release>-db-seed
Waits for the APIs and for AWE. Loads the registers, activity types, indicators, ODK mapping, Cluster screens, reporting views, DCI templates and Cluster approval policies. With Load Sample Data, the two sample clusters
Hook, weight 20
<release>-activity-samples
Only with Load sample crop seasons. Records the sample crop seasons. Fails the release if any cannot be loaded
Hook, weight 25
<release>-sanity
The platform's smoke tests: the partner API is up and serves DCI search
Helm stops at the first failed hook, so a missing Job means an earlier one failed.
The seed is idempotent. On upgrade, activity types, indicators and the ODK mapping are updated in place. Cluster screens are inserted once; changes to them need an upgrade script (see Customisation).
Next
Deploying on Rancher: prerequisites, choices, sample data, ODK, checks after install
Customisation: what a country changes
Last updated
Was this helpful?