зеркало из https://github.com/Azure/ARO-RP.git
41 строка
1.1 KiB
YAML
41 строка
1.1 KiB
YAML
trigger: none
|
|
pr: none
|
|
|
|
parameters:
|
|
- name: vsoDeployerBuildID
|
|
type: string
|
|
default: latest
|
|
|
|
variables:
|
|
- template: vars.yml
|
|
|
|
jobs:
|
|
- job: Mirror_images
|
|
timeoutInMinutes: 180
|
|
pool:
|
|
name: ARO-CI
|
|
|
|
steps:
|
|
- template: ./templates/template-checkout.yml
|
|
- task: DownloadBuildArtifacts@0
|
|
inputs:
|
|
buildType: specific
|
|
project: $(vso-project-id)
|
|
pipeline: $(vso-deployer-pipeline-id)
|
|
${{ if eq(parameters.vsoDeployerBuildID, 'latest') }}:
|
|
buildVersionToDownload: latestFromBranch
|
|
branchName: refs/heads/master
|
|
${{ if ne(parameters.vsoDeployerBuildID, 'latest') }}:
|
|
buildVersionToDownload: specific
|
|
buildId: ${{ parameters.vsoDeployerBuildID }}
|
|
downloadType: specific
|
|
downloadPath: $(System.ArtifactsDirectory)/deployer
|
|
displayName: Download Deployer
|
|
- template: ./templates/template-mirror-images.yml
|
|
parameters:
|
|
dstAuth: $(acr-push-auth)
|
|
srcAuthQuay: $(quay-pull-auth)
|
|
srcAuthRedhat: $(redhat-pull-auth)
|
|
dstACRName: $(dst-acr-name)
|
|
deployerDirectory: $(System.ArtifactsDirectory)/deployer/drop
|