2019-08-07 02:37:09 +03:00
|
|
|
# A pipeline with no CI trigger
|
|
|
|
trigger: none
|
|
|
|
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
schedules:
|
2019-08-08 05:15:58 +03:00
|
|
|
- cron: "0 0 * * *" # cron syntax https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#scheduled-triggers
|
2019-08-07 02:37:09 +03:00
|
|
|
displayName: Cosmos Nightly
|
|
|
|
branches:
|
2019-08-08 02:13:01 +03:00
|
|
|
include:
|
|
|
|
- master
|
|
|
|
always: true # whether to always run the pipeline or only if there have been source code changes since the last run. The default is false
|
2019-08-07 02:37:09 +03:00
|
|
|
|
|
|
|
|
2019-08-06 19:33:48 +03:00
|
|
|
variables:
|
2021-04-27 18:59:52 +03:00
|
|
|
VmImage: windows-latest # https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
|
2023-04-11 21:48:29 +03:00
|
|
|
BuildConfiguration: Release
|
|
|
|
Packaging.EnableSBOMSigning: true
|
2023-10-07 02:36:44 +03:00
|
|
|
Codeql.Enabled: true
|
2019-08-06 19:33:48 +03:00
|
|
|
|
2019-08-07 02:37:09 +03:00
|
|
|
stages:
|
|
|
|
- stage:
|
2023-04-11 21:48:29 +03:00
|
|
|
displayName: Generate nightly GA
|
2023-10-07 02:36:44 +03:00
|
|
|
variables:
|
|
|
|
Codeql.BuildIdentifier: ga
|
2019-08-07 02:37:09 +03:00
|
|
|
jobs:
|
2023-04-11 21:48:29 +03:00
|
|
|
- template: templates/nuget-pack.yml
|
2019-08-07 02:37:09 +03:00
|
|
|
parameters:
|
2023-04-11 21:48:29 +03:00
|
|
|
BuildConfiguration: Release
|
|
|
|
Arguments: /p:IsNightly=true
|
2019-08-07 02:37:09 +03:00
|
|
|
VmImage: $(VmImage)
|
2023-04-11 21:48:29 +03:00
|
|
|
ReleasePackage: true
|
|
|
|
OutputPath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/$(BuildConfiguration)/Microsoft.Azure.Cosmos'
|
|
|
|
BlobVersion: 'nightly'
|
|
|
|
CleanupFolder: true
|
2019-08-07 02:37:09 +03:00
|
|
|
- stage:
|
2023-04-11 21:48:29 +03:00
|
|
|
displayName: Generate nightly preview
|
2023-10-07 02:36:44 +03:00
|
|
|
variables:
|
|
|
|
Codeql.BuildIdentifier: preview
|
2019-08-07 02:37:09 +03:00
|
|
|
jobs:
|
2023-04-11 21:48:29 +03:00
|
|
|
- template: templates/nuget-pack.yml
|
|
|
|
parameters:
|
|
|
|
BuildConfiguration: Release
|
|
|
|
Arguments: /p:IsNightly=true /p:IsPreview=true
|
|
|
|
VmImage: $(VmImage)
|
|
|
|
ReleasePackage: true
|
|
|
|
OutputPath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/$(BuildConfiguration)/Microsoft.Azure.Cosmos'
|
|
|
|
BlobVersion: 'nightly-preview'
|
2023-10-07 02:36:44 +03:00
|
|
|
CleanupFolder: true
|