Azure-Samples / LUIS-DevOps-Template

Template repo encapsulating best engineering practices and DevOps using GitHub Actions for the development of a LUIS application.
MIT License
21 stars 17 forks source link

Publish to Production slot rather then direct version publish #30

Closed AndyCW closed 4 years ago

AndyCW commented 4 years ago

From @rozele : I know we discussed that direct version publishing was probably the best way to manage releases of LUIS apps as two slots (staging and production) do not always map to the number of environments you may have for your application (e.g., DEV, QA, PROD already needs more than two slots), and in general publishing to a slot may result in a breaking change for anything currently pointed at that slot.

However, would it make sense to also add a release pipeline that publishes the version to the Production slot (with a big caveat about why we don't think it's a good idea 🙂). It feels like a new LUIS user may be a bit confused about why the application was not published to Staging or Production as a result of the release.

AndyCW commented 4 years ago

Feedback from reviewers: ", I think a lot of customers want the option to integrate the pipeline and to automatically the latest version to their production slot, or at least have an option to do that. This way when there are changes they want to roll out to the production slot, they can do it using CI/CD rather than going to the LUIS portal to press publish, or calling the API. "