Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 1552 (#14522)
Browse files Browse the repository at this point in the history
* Onboarding branch needs to delete the step of updating target ci

* Remove onboarding branch specifically for .NET

Co-authored-by: Sima Zhu <[email protected]>
  • Loading branch information
azure-sdk and sima-zhu authored Apr 13, 2021
1 parent 383215d commit 03c46c3
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions eng/common/pipelines/templates/steps/docs-metadata-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,38 +65,3 @@ steps:
TargetRepoOwner: ${{ parameters.TargetDocRepoOwner }}
WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo
ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }}

- ${{if ne( parameters['OnboardingBranch'], '')}}:
- pwsh: |
Push-Location ${{ parameters.WorkingDirectory }}/repo
git reset --hard HEAD
git remote rm azure-sdk-fork
git checkout ${{ parameters.OnboardingBranch}}
displayName: Reset Docs Repo, Checkout Onboarding Branch
ignoreLASTEXITCODE: false
- task: PowerShell@2
displayName: 'Update Docs.MS CI Targeted Packages'
inputs:
targetType: filePath
filePath: ${{ parameters.ScriptDirectory }}/update-docs-ci.ps1
arguments: >
-ArtifactLocation ${{ parameters.ArtifactLocation }}
-WorkDirectory "${{ parameters.WorkingDirectory }}"
-RepoId ${{ parameters.RepoId }}
-Repository ${{ parameters.PackageRepository }}
-ReleaseSHA ${{ parameters.ReleaseSha }}
-DocRepoLocation "${{ parameters.WorkingDirectory }}/repo"
-Configs "${{ parameters.CIConfigs }}"
pwsh: true
env:
GH_TOKEN: $(azuresdk-github-pat)
- template: /eng/common/pipelines/templates/steps/git-push-changes.yml
parameters:
BaseRepoBranch: ${{ parameters.OnboardingBranch}}
BaseRepoOwner: ${{ parameters.TargetDocRepoOwner }}
CommitMsg: "Update docs metadata and targeting for release of ${{ parameters.ArtifactName }}"
TargetRepoName: ${{ parameters.TargetDocRepoName }}
TargetRepoOwner: ${{ parameters.TargetDocRepoOwner }}
WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo
ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }}

0 comments on commit 03c46c3

Please sign in to comment.