зеркало из https://github.com/Azure/ARO-RP.git
52 строки
2.1 KiB
YAML
52 строки
2.1 KiB
YAML
#################################################################################
|
|
# OneBranch Pipelines #
|
|
# This pipeline was created by EasyStart from a sample located at: #
|
|
# https://aka.ms/obpipelines/easystart/samples #
|
|
# Documentation: https://aka.ms/obpipelines #
|
|
# Yaml Schema: https://aka.ms/obpipelines/yaml/schema #
|
|
# Retail Tasks: https://aka.ms/obpipelines/tasks #
|
|
# Support: https://aka.ms/onebranchsup #
|
|
#################################################################################
|
|
|
|
trigger: none
|
|
pr: none
|
|
|
|
parameters:
|
|
- name: vsoDeployerBuildID
|
|
type: string
|
|
default: latest
|
|
|
|
variables:
|
|
Cdp_Definition_Build_Count: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
|
|
LinuxContainerImage: centos:centos7 # Docker image which is used to build the project https://aka.ms/obpipelines/containers
|
|
Debian_Frontend: noninteractive
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: templates
|
|
type: git
|
|
name: OneBranch.Pipelines/GovernedTemplates
|
|
ref: refs/heads/main
|
|
- repository: rhado
|
|
type: git
|
|
name: ARO.Pipelines
|
|
|
|
extends:
|
|
template: v2/OneBranch.Official.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
|
|
parameters:
|
|
globalSdl: # https://aka.ms/obpipelines/sdl
|
|
# tsa:
|
|
# enabled: true # SDL results of non-official builds aren't uploaded to TSA by default.
|
|
# credscan:
|
|
# suppressionsFile: $(Build.SourcesDirectory)\.config\CredScanSuppressions.json
|
|
policheck:
|
|
break: true # always break the build on policheck issues. You can disable it by setting to 'false'
|
|
suppression:
|
|
suppressionFile: $(Build.SourcesDirectory)\.gdn\.gdnsuppress
|
|
suppressionSet: default
|
|
|
|
stages:
|
|
- stage: Mirror_Images
|
|
jobs:
|
|
- template: .pipelines/onebranch/templates/template-image-mirror.yml@self
|