[main] Update dependencies from dotnet/arcade-services (#15211)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Premek Vysoky <premek.vysoky@microsoft.com> Co-authored-by: MilenaHristova <mhristova@microsoft.com>
This commit is contained in:
parent
06a961544f
commit
cd34038e97
8 changed files with 59 additions and 59 deletions
|
@ -22,36 +22,17 @@ steps:
|
|||
displayName: Clone dotnet/installer
|
||||
path: installer
|
||||
|
||||
- script: |
|
||||
source ./eng/common/tools.sh
|
||||
InitializeDotNetCli true
|
||||
./.dotnet/dotnet tool restore
|
||||
displayName: Restore darc
|
||||
workingDirectory: $(Agent.BuildDirectory)/installer
|
||||
|
||||
- script: |
|
||||
git checkout -B ${{ parameters.vmrBranch }}
|
||||
echo "##vso[task.setvariable variable=vmrBranch]${{ parameters.vmrBranch }}"
|
||||
displayName: Prepare branch ${{ parameters.vmrBranch }}
|
||||
workingDirectory: ${{ parameters.vmrPath }}
|
||||
|
||||
# This step make sure that darc finds the PR commit (which might be in a fork of installer)
|
||||
# The cloned folder does have the commit so we copy it into temp where the tooling will find it
|
||||
# We also cannot keep the AzDO remote as pulling from it would require a token
|
||||
- script: |
|
||||
cp -r $(Agent.BuildDirectory)/installer $(Agent.TempDirectory)/03298978DFFFCD23
|
||||
cd $(Agent.TempDirectory)/03298978DFFFCD23
|
||||
git remote remove origin
|
||||
git remote add origin https://github.com/dotnet/installer
|
||||
displayName: Prepare dotnet/installer clone
|
||||
|
||||
- script: >
|
||||
$(Agent.BuildDirectory)/installer/.dotnet/dotnet darc vmr update
|
||||
./eng/vmr-sync.sh
|
||||
--vmr ${{ parameters.vmrPath }}
|
||||
--tmp $(Agent.TempDirectory)
|
||||
--github-pat $(BotAccount-dotnet-bot-repo-PAT)
|
||||
--recursive
|
||||
--verbose
|
||||
installer:${{ parameters.targetRef }}
|
||||
--branch ${{ parameters.vmrBranch }}
|
||||
--target-ref ${{ parameters.targetRef }}
|
||||
displayName: Synchronize dotnet/dotnet
|
||||
workingDirectory: $(Agent.BuildDirectory)/installer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue