Upgrade guide
How to move an existing project to a newer version of the accelerator. Check the Release notes first for breaking changes.
Steps
Install the new version of the module, then check it:
Get-Module MLOpsAccelerator -ListAvailable.In your project, create a branch and commit everything.
-Upgradeoverwrites files, so Git is your merge tool.Regenerate into the same folder with your existing inputs:
The folder must contain
.mlops-v3/, which marks it as a project this tool generated.Review
git diff. Keep your own changes and take the new template changes.If the release notes say so, re-run the bootstrap (it is idempotent) so new roles and variables are applied.
Open a pull request. CI plans the change per environment. Read the plan before approving it.
Tips
- Keep changes you make to generated files small and in separate commits. This makes the diff after
-Upgradeeasier to read. - Prefer new inputs over editing generated files when an option exists. See Options.
- Upgrade
devfirst and let the plan and tests run before promoting. - To switch scenario instead, see Switch scenario.