Documentation
¶
Overview ¶
Command seed fills the Microsoft 365 test tenant with known, recognisably-prefixed data across the v1 workloads (Exchange mail, calendar, contacts; OneDrive; SharePoint document library and list), and writes a seed manifest describing exactly what it put there. Running it twice leaves the tenant unchanged: see src/internal/seed for how.
Run it through the workspace's test-tenant credential loader, from src/ (there is no go.mod at the corso repository root, only here - `go run ./src/cmd/seed` from the repository root does not work):
cd src && GO111MODULE=on GOWORK=off <workspace>/scripts/with-test-tenant.sh go run ./cmd/seed
This is the one place in this program that reads the process environment; src/internal/seed takes every value as an explicit argument. See docs/test-tenant-harness.md for the full list of environment variables this command requires.