forked from dotnet/dnceng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-daily.yml
38 lines (33 loc) · 975 Bytes
/
azure-pipelines-daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
trigger: none
schedules:
- cron: 0 12 * * *
displayName: Nightly build
branches:
include:
- main
always: true
name: $(Date:yyyMMdd)$(Rev:rr)
stages:
- stage: SynchronizeSecrets
jobs:
- job: Synchronize
pool:
name: NetCore1ESPool-Internal-NoMSI
demands: ImageOverride -equals 1es-windows-2022
steps:
- task: UseDotNet@2
displayName: Install .NET from global.json
inputs:
useGlobalJson: true
- task: UseDotNet@2
displayName: Install .NET 6
inputs:
version: 6.x
- task: AzureCLI@2
displayName: Synchronize Secrets
inputs:
azureSubscription: DotNet Eng Services Secret Manager
scriptType: ps
scriptLocation: inlineScript
inlineScript: |
Get-ChildItem .vault-config/*.yaml |% { dotnet run --project src/SecretManager/Microsoft.DncEng.SecretManager -- synchronize --skip-untracked $_}