Update CI pipeline to include deploy step#15617
Open
praveenkuttappan wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the tools/release-plan-dashboard Azure DevOps pipeline to move from a single-job CI build to a multi-stage pipeline that produces a deployable artifact and (for internal runs) deploys it to staging and production App Service environments.
Changes:
- Expand CI triggers to include
feature/*,release/*, andhotfix/*branches. - Refactor the pipeline to use the
1es-redirect.ymlstages template and publish a zipped pipeline artifact. - Add internal-only staging and production deployment stages using
AzureRmWebAppDeployment@4.
Comments suppressed due to low confidence (1)
tools/release-plan-dashboard/ci.yml:183
- The production deploy job also runs an InlineScript that executes
npm start, which can hang the deployment for the same reason as in staging. App Service should manage process startup; keep InlineScript for short, idempotent deployment-time actions only.
ScriptType: "Inline Script"
packageForLinux: $(Pipeline.Workspace)/release-plan/**/*.zip
InlineScript: |
@echo off
echo starting npm server
call npm start
enableCustomDeployment: true
Comment on lines
+134
to
+139
| ScriptType: "Inline Script" | ||
| InlineScript: | | ||
| @echo off | ||
| echo starting npm server | ||
| call npm start | ||
| enableCustomDeployment: true |
Comment on lines
+173
to
+177
| WebAppName: "azsdk-releaseplan-dashboard" | ||
| deployToSlotOrASE: true | ||
| ResourceGroupName: ReleasePlan-Dashboard | ||
| SlotName: staging | ||
| ScriptType: "Inline Script" |
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.
Update the pipeline to include deployment stages