Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sdf-release.yml for Azure Pipelines #2292

Merged
merged 5 commits into from
Apr 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions tools/releases/sdf-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
name: OneBranch.Pipelines/GovernedTemplates
ref: refs/heads/main
pipelines:
- pipeline: _OfficeDev.microsoft-teams-library-js
- pipeline: _OfficeDev_microsoft-teams-library-js
source: OfficeDev.microsoft-teams-library-js
project: ISS
variables:
Expand All @@ -32,7 +32,7 @@ extends:
pool:
type: release
steps:
- download: _OfficeDev.microsoft-teams-library-js
- download: _OfficeDev_microsoft-teams-library-js
- task: prepare-deployment@1
displayName:
inputs:
Expand All @@ -57,24 +57,24 @@ extends:
- task: PowerShell@2
displayName: Update npmrc with NPM-TOKEN
inputs:
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev.microsoft-teams-library-js\scripts\add-npmrc-npmtoken.ps1
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev_microsoft-teams-library-js\scripts\add-npmrc-npmtoken.ps1
- task: Npm@1
displayName: Publish to npm (tag beta) KV
inputs:
command: custom
workingDir: $(System.DefaultWorkingDirectory)/_OfficeDev.microsoft-teams-library-js/NPMFeed
workingDir: $(System.DefaultWorkingDirectory)/_OfficeDev_microsoft-teams-library-js/NPMFeed
verbose: false
customCommand: publish --tag beta
- task: M365CdnAssetsUpload@1
displayName: Push teams-js to M365 1CDN (SDF)
inputs:
SourcePath: $(System.DefaultWorkingDirectory)/_OfficeDev.microsoft-teams-library-js/CDNFeed/*
SourcePath: $(System.DefaultWorkingDirectory)/_OfficeDev_microsoft-teams-library-js/CDNFeed/*
ConnectedServiceNameARM: $(serviceConnectionId)
Environment: PublicCloudSDF
ContainerName: teams-js
AdditionalArgumentsForBlobCopy: --overwrite=false --log-level=INFO --recursive
- task: PowerShell@2
displayName: View Published Package URLs
inputs:
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev.microsoft-teams-library-js\scripts\view-published-packages-urls.ps1
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev_microsoft-teams-library-js\scripts\view-published-packages-urls.ps1
arguments: $(System.DefaultWorkingDirectory)