-
Notifications
You must be signed in to change notification settings - Fork 183
/
notifications.yml
73 lines (65 loc) · 1.98 KB
/
notifications.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Configure notifications in Azure DevOps
trigger: none
pr: none
stages:
- stage: Run
variables:
- template: ./templates/variables/globals.yml
jobs:
- job: Run
timeoutInMinutes: 120
strategy:
# Running all entries simultaneously causes "Service Unavailable" errors
maxParallel: 2
matrix:
NET:
PathPrefix: 'net'
Python:
PathPrefix: 'python'
JS:
PathPrefix: 'js'
Java:
PathPrefix: 'java'
C:
PathPrefix: 'c'
CPP:
PathPrefix: 'cpp'
Go:
PathPrefix: 'go'
AzDev:
PathPrefix: 'azure-dev'
Public:
Project: 'public'
PathPrefix: 'notify'
pool:
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: ubuntu-22.04
variables:
Organization: azure-sdk
Project: internal
DotNetDevOpsFeed: "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json"
steps:
- task: DotNetCoreCLI@2
displayName: 'Install Notification Creator'
inputs:
command: custom
custom: 'tool'
arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(NotificationsCreatorVersion)" "Azure.Sdk.Tools.NotificationConfiguration"'
workingDirectory: '$(Agent.BuildDirectory)'
- task: AzureCLI@2
displayName: 'Run Team/Notification Creator'
inputs:
azureSubscription: 'opensource-api-connection'
scriptType: pscore
scriptLocation: inlineScript
inlineScript:
notification-creator `
--organization $(Organization) `
--project $(Project) `
--path-prefix "\$(PathPrefix)" `
--selection-strategy Scheduled `
$(AdditionalParameters)
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_MULTILEVEL_LOOKUP: 0