Skip to content

Commit 0c4c989

Browse files
committed
- CI run schedules updated to not overlap.
- Updated all path specs to include all files/directories that affect builds. - Improved documentation.
1 parent d8ff930 commit 0c4c989

File tree

4 files changed

+29
-19
lines changed

4 files changed

+29
-19
lines changed

eng/pipelines/dotnet-sqlclient-ci-package-reference-pipeline.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
# - Microsoft.Data.SqlClient
1212
# - Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
1313
#
14-
# It runs via CI push triggers and schedules:
14+
# It runs via CI push triggers and schedules and uses the Release build
15+
# configuration:
1516
#
1617
# - Commits to GitHub main
1718
# - Commits to ADO internal/main
18-
# - Weekdays at 01:00 UTC on GitHub main
19-
# - Thursdays at 03:00 UTC on ADO internal/main
19+
# - Weekdays at 03:00 UTC on GitHub main
20+
# - Thursdays at 07:00 UTC on ADO internal/main
2021
#
2122
# GOTCHA: This pipeline definition is triggered by GitHub _and_ ADO CI. We are
2223
# able to define different triggers and schedules using branch filters:
@@ -45,7 +46,8 @@ name: $(DayOfYear)$(Rev:rr)
4546
# Trigger this pipeline on commits to certain branches.
4647
trigger:
4748

48-
# Don't trigger a new run until the previous one completes.
49+
# Don't trigger a new run until the previous one completes. This may cause
50+
# multiple commits to be batched into a single run.
4951
batch: true
5052

5153
branches:
@@ -60,8 +62,9 @@ trigger:
6062
include:
6163
- .azuredevops
6264
- .config
63-
- src
65+
- doc
6466
- eng
67+
- src
6568
- tools
6669
- azurepipelines-coverage.yml
6770
- build.proj
@@ -72,15 +75,15 @@ schedules:
7275

7376
# GitHub main on weekdays
7477
- cron: '0 3 * * Mon-Fri'
75-
displayName: Weekday Release Build
78+
displayName: Weekday Run (Release Config)
7679
branches:
7780
include:
7881
- main
7982
always: true
8083

8184
# ADO internal/main on Thursdays.
82-
- cron: '0 5 * * Thu'
83-
displayName: Thursday Release Build
85+
- cron: '0 7 * * Thu'
86+
displayName: Thursday Run (Release Config)
8487
branches:
8588
include:
8689
- internal/main

eng/pipelines/dotnet-sqlclient-ci-project-reference-pipeline.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
# - Microsoft.Data.SqlClient
1212
# - Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
1313
#
14-
# It runs via CI push triggers and schedules:
14+
# It runs via CI push triggers and schedules and uses the Release build
15+
# configuration:
1516
#
1617
# - Commits to GitHub main
1718
# - Commits to ADO internal/main
1819
# - Weekdays at 01:00 UTC on GitHub main
19-
# - Thursdays at 03:00 UTC on ADO internal/main
20+
# - Thursdays at 05:00 UTC on ADO internal/main
2021
#
2122
# GOTCHA: This pipeline definition is triggered by GitHub _and_ ADO CI. We are
2223
# able to define different triggers and schedules using branch filters:
@@ -45,7 +46,8 @@ name: $(DayOfYear)$(Rev:rr)
4546
# Trigger this pipeline on commits to certain branches.
4647
trigger:
4748

48-
# Don't trigger a new run until the previous one completes.
49+
# Don't trigger a new run until the previous one completes. This may cause
50+
# multiple commits to be batched into a single run.
4951
batch: true
5052

5153
branches:
@@ -60,8 +62,9 @@ trigger:
6062
include:
6163
- .azuredevops
6264
- .config
63-
- src
65+
- doc
6466
- eng
67+
- src
6568
- tools
6669
- azurepipelines-coverage.yml
6770
- build.proj
@@ -72,15 +75,15 @@ schedules:
7275

7376
# GitHub main on weekdays
7477
- cron: '0 1 * * Mon-Fri'
75-
displayName: Weekday Release Build
78+
displayName: Weekday Run (Release Config)
7679
branches:
7780
include:
7881
- main
7982
always: true
8083

8184
# ADO internal/main on Thursdays.
82-
- cron: '0 3 * * Thu'
83-
displayName: Thursday Release Build
85+
- cron: '0 5 * * Thu'
86+
displayName: Thursday Run (Release Config)
8487
branches:
8588
include:
8689
- internal/main

eng/pipelines/sqlclient-pr-package-ref-pipeline.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
# - Microsoft.Data.SqlClient
1212
# - Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
1313
#
14-
# It is triggered by pushes to PRs for dev/topic/feature branches in GitHub.
14+
# It is triggered by pushes to PRs that target dev/ and feature/ branches, and
15+
# the main branch in GitHub.
1516
#
1617
# It maps to the "PR-SqlClient-Package" pipeline in the Public project:
1718
#
@@ -37,8 +38,9 @@ pr:
3738
include:
3839
- .azuredevops
3940
- .config
40-
- src
41+
- doc
4142
- eng
43+
- src
4244
- tools
4345
- azurepipelines-coverage.yml
4446
- build.proj

eng/pipelines/sqlclient-pr-project-ref-pipeline.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
# - Microsoft.Data.SqlClient
1212
# - Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
1313
#
14-
# It is triggered by pushes to PRs for dev/topic/feature branches in GitHub.
14+
# It is triggered by pushes to PRs that target dev/ and feature/ branches, and
15+
# the main branch in GitHub.
1516
#
1617
# It maps to the "PR-SqlClient-Project" pipeline in the Public project:
1718
#
@@ -37,8 +38,9 @@ pr:
3738
include:
3839
- .azuredevops
3940
- .config
40-
- src
41+
- doc
4142
- eng
43+
- src
4244
- tools
4345
- azurepipelines-coverage.yml
4446
- build.proj

0 commit comments

Comments
 (0)