You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add validation to the accelerator workflows using whatif and environments in GitHub.
I have tested this and despite the issues set out in #249 it allows some validation before deploying to production and is relatively easy to implement.
Describe alternatives you've considered
None.
Additional context
How i implemented:
Copied the Deploy-* pipeline scripts and renamed to Validate-*
Amended Validate-* to use whatif
Amended the workflow to run a validate job using the new validate PowerShell scripts
Added a production environment to the GitHub repo
Configure the Required reviewers protection rule on the environment
Workflow:
Create a feature branch
Commit and create a pull request
Workflow runs validation using whatif
Workflow pauses due to protection rule - time to review the whatif
Once the whatif is reviewed and we are happy with the change, approve the deployment.
The text was updated successfully, but these errors were encountered:
Hey @MilesCameron-DMs, thanks for submitting this and for sharing your approach. This is on my backlog, but if you would like to create a PR using the pipeline scripts you created that would be appreciated as well!
Describe the solution you'd like
Add validation to the accelerator workflows using whatif and environments in GitHub.
I have tested this and despite the issues set out in #249 it allows some validation before deploying to production and is relatively easy to implement.
Describe alternatives you've considered
None.
Additional context
How i implemented:
Workflow:
The text was updated successfully, but these errors were encountered: