fix: postprovision cleanup step in temp file#116
Merged
Prajwal-Microsoft merged 52 commits intomicrosoft:devfrom Mar 13, 2026
Merged
fix: postprovision cleanup step in temp file#116Prajwal-Microsoft merged 52 commits intomicrosoft:devfrom
Prajwal-Microsoft merged 52 commits intomicrosoft:devfrom
Conversation
fix: pipeline issue updated
fix: Psl bug 36265 pipeline2
fix: bicepparams changes to read env variable
run pipeline on dev merge
…value accept array for admin value
fix: remove run on merge
…value fix: updated doc for fabric capacity admin value
Prajwal-Microsoft
approved these changes
Mar 13, 2026
Prajwal-Microsoft
pushed a commit
that referenced
this pull request
Mar 13, 2026
* fix: azd template validation pipeline issue (#113) * pipeline issue updated * pipeline issue updated * psr rule file added * removed psl rule file * changed the path * changed the path * readme changes * readme changes * readme changes * readme changes * variable fabric capacity * variable fabric capacity * setting fabriccapacity admin to my id * bicepparams changes to read env variable * bicepparams changes to read env variable * readme changes * readme changes * path changes * path changes * removed pull request * run pipeline on dev merge * accept array for admin value * accept array for admin value * remove run on merge * updated doc for fabric capacity admin value * fix: postprovision cleanup step in temp file (#116) * pipeline issue updated * pipeline issue updated * psr rule file added * removed psl rule file * changed the path * changed the path * readme changes * readme changes * readme changes * readme changes * variable fabric capacity * variable fabric capacity * setting fabriccapacity admin to my id * bicepparams changes to read env variable * bicepparams changes to read env variable * readme changes * readme changes * path changes * path changes * removed pull request * run pipeline on dev merge * accept array for admin value * accept array for admin value * remove run on merge * updated doc for fabric capacity admin value * rerun the pipeline * rerun the pipeline * azd down fix * added recursive * added preprovisioning step * added env variable * fix: use submodules checkout and disable devcontainer for template validation * added step to fix bicepparam decorators in template validation workflow * fix: update bicepparam decorator removal and adjust Bicep module path * remove postprovision cleanup * remove changes * remove changes * remove postprovision cleanup step * commented why we are removing it * commented why we are removing it --------- Co-authored-by: Harmanpreet-Microsoft <v-harmanprka@microsoft.com> --------- Co-authored-by: Harmanpreet-Microsoft <v-harmanprka@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request makes a targeted update to the workflow configuration by removing a specific postprovision cleanup step from the
azure.yamlfile before running template validation. This ensures that the workflow does not execute thepostprovision.ps1script during validation, which may be unnecessary or cause issues in this context.Workflow configuration update:
./submodules/ai-landing-zone/bicep/scripts/postprovision.ps1from theazure.yamlfile in the.github/workflows/azd-template-validation.ymlworkflow.This step has been removed from azure.yaml because
azd downwas failing in the pipeline. As a workaround, we are removing this step to ensure the pipeline runs successfully.Reason for the failure:
After a successful
azd up, the post-provision hook cleans up thedeploy/folder. Whenazd downruns afterward, it attempts to reference the Bicep files indeploy/(sincemain.bicepwas updated to point todeploy/main.bicep). However, because the folder has already been removed, the command fails with a "path not found" error.BUG LINK : https://dev.azure.com/CSACTOSOL/CSA%20Solutioning/_workitems/edit/36265/
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information