-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Expand file tree
/
Copy pathci.yml
More file actions
56 lines (52 loc) · 1.68 KB
/
ci.yml
File metadata and controls
56 lines (52 loc) · 1.68 KB
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
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
parameters:
- name: ReleaseToDevOpsOnly
displayName: 'Release package to DevOps feed instead of Nuget.org'
type: boolean
default: false
- name: AutoApproveRelease
displayName: 'Automatically approve the release stage'
type: boolean
default: false
trigger:
branches:
include:
- main
- hotfix/*
- release/*
paths:
include:
- sdk/template/
#if (false)
# The following paths should only be included in template/ci.yml, and removed from any other SDKs which copy this file.
# The surrounding conditions should accomplish that when installed with `dotnet new azsdk`.
# eng/common code changes trigger template pipeline for basic checking.
- eng/common/
#endif
#if (false)
# The following paths should only be included in template/ci.yml, and removed from any other SDKs which copy this file.
# The surrounding conditions should accomplish that when installed with `dotnet new azsdk`.
# eng/common code changes trigger template pipeline for basic checking.
- eng/common/
#endif
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
${{ if eq(parameters.ReleaseToDevOpsOnly, 'true') }}:
PublicFeed: 'public/storage-staging'
${{ if eq(parameters.AutoApproveRelease, 'true') }}:
PublicPublishEnvironment: none
ServiceDirectory: template
ArtifactName: packages
Artifacts:
- name: Azure.Template
safeName: AzureTemplate
triggeringPaths:
- /.config
- /.devcontainer
- /.github
- /.vscode
- /common
- /doc
- /eng
- /samples