From 2902d801c89efbe26b2c42f57423f0c1b98a1553 Mon Sep 17 00:00:00 2001 From: Eric Jizba Date: Mon, 16 Mar 2020 11:59:47 -0700 Subject: [PATCH] Explicitly specify triggers in pipelines yaml --- .azure-pipelines/main.yml | 22 ++++++++++++++++++++++ README.md | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/main.yml b/.azure-pipelines/main.yml index 46e0e82..7a93536 100644 --- a/.azure-pipelines/main.yml +++ b/.azure-pipelines/main.yml @@ -1,3 +1,7 @@ +variables: + ${{ if eq(variables['Build.Reason'], 'Schedule') }}: + ENABLE_LONG_RUNNING_TESTS: true + jobs: - job: Windows pool: @@ -23,3 +27,21 @@ jobs: - template: common/build.yml - template: common/lint.yml - template: common/test.yml + +trigger: + branches: + include: + - '*' + +pr: + branches: + include: + - '*' + +schedules: +- cron: "30 10 * * *" + displayName: Nightly at 3:30 PT + always: true # Run even when there are no code changes + branches: + include: + - master diff --git a/README.md b/README.md index 6640e6a..803de58 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Cosmos DB Graph Support for VS Code (Preview) -[![Version](https://vsmarketplacebadge.apphb.com/version/ms-azuretools.vscode-cosmosdbgraph.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdbgraph) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/ms-azuretools.vscode-cosmosdbgraph.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdbgraph) [![Build Status](https://dev.azure.com/ms-azuretools/AzCode/_apis/build/status/vscode-cosmosdbgraph)](https://dev.azure.com/ms-azuretools/AzCode/_build/latest?definitionId=TODO) +[![Version](https://vsmarketplacebadge.apphb.com/version/ms-azuretools.vscode-cosmosdbgraph.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdbgraph) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/ms-azuretools.vscode-cosmosdbgraph.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdbgraph) [![Build Status](https://dev.azure.com/ms-azuretools/AzCode/_apis/build/status/vscode-cosmosdbgraph)](https://dev.azure.com/ms-azuretools/AzCode/_build/latest?definitionId=28) Use [Gremlin](https://docs.microsoft.com/azure/cosmos-db/gremlin-support) to query Cosmos DB graphs.