Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This YAML pipeline is part of the Data Lake Backup Strategy
parameters:
- name: backupStore
displayName: 'Backup 05 store'
type: boolean
default: true
- name: backupBronze
displayName: 'Backup 10 bronze'
type: boolean
default: true
- name: backupSilver
displayName: 'Backup 20 silver'
type: boolean
default: true
- name: backupGold
displayName: 'Backup 30 gold'
type: boolean
default: true
name: $(Date:yyyyMMdd)_$(Rev:rr)
trigger: none
schedules:
- cron: "0 0 * * *"
displayName: 'Prod: Daily Backup'
branches:
include:
- release
always: true
stages:
- template: ../stages/stage-build-azure-foundation.yml
parameters:
checkCodeQuality: ${{ false }}
- template: ../stages/stage-backup-dls-test-env.yml
parameters:
environment: 'backup'
backupStore: ${{ parameters.backupStore }}
backupBronze: ${{ parameters.backupBronze }}
backupSilver: ${{ parameters.backupSilver }}
backupGold: ${{ parameters.backupGold }}
triggerPeriod: 'daily'
dependsOnStage: 'BuildFoundation'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment