forked from dotnet/arcade-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipeline-weekly.yml
40 lines (35 loc) · 1017 Bytes
/
azure-pipeline-weekly.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
39
40
trigger: none
schedules:
- cron: 0 12 * * 1
displayName: Weekly Monday build
branches:
include:
- main
always: true
name: $(Date:yyyMMdd)$(Rev:rr)
resources:
pipelines:
- pipeline: arcadeServicesInternalCI
source: arcade-services-internal-ci
branch: main
stages:
- stage: SynchronizeSecrets
jobs:
- job: Synchronize
pool:
name: NetCore1ESPool-Internal-NoMSI
demands: ImageOverride -equals 1es-windows-2019
steps:
- task: UseDotNet@2
displayName: Install Correct .NET Version
inputs:
useGlobalJson: true
- script: dotnet build
workingDirectory: src/Microsoft.DncEng.SecretManager
- task: AzureCLI@2
inputs:
azureSubscription: DotNet Eng Services Secret Manager
scriptType: ps
scriptLocation: inlineScript
inlineScript: |
Get-ChildItem .vault-config/*.yaml |% { dotnet run --project src/Microsoft.DncEng.SecretManager -- synchronize $_}