зеркало из https://github.com/Azure/ARO-RP.git
30 строки
779 B
YAML
30 строки
779 B
YAML
# Azure DevOps Pipeline building rp images and pushing to int acr
|
|
trigger: none
|
|
pr: none
|
|
|
|
variables:
|
|
- template: vars.yml
|
|
|
|
jobs:
|
|
- job: Build_and_push_images
|
|
pool:
|
|
name: ARO-CI
|
|
demands: go-1.17
|
|
|
|
steps:
|
|
- template: ./templates/template-checkout.yml
|
|
- template: ./templates/template-az-cli-login.yml
|
|
parameters:
|
|
azureDevOpsJSONSPN: $(aro-v4-ci-devops-spn)
|
|
- template: ./templates/template-push-images-to-acr.yml
|
|
parameters:
|
|
rpImageACR: $(RP_IMAGE_ACR)
|
|
buildCommand: publish-image-aro
|
|
- template: ./templates/template-az-cli-logout.yml
|
|
- script: |
|
|
cp -a --parents aro "$(Build.ArtifactStagingDirectory)"
|
|
displayName: Copy artifacts
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish Artifacts
|
|
name: aro_deployer
|