From d2f73680ae27a907e29eb57926018940709593ff Mon Sep 17 00:00:00 2001 From: Francisco Gamino Date: Thu, 8 Apr 2021 13:16:28 -0700 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-e2e-tests-private-stamp.yml | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 azure-pipelines-e2e-tests-private-stamp.yml diff --git a/azure-pipelines-e2e-tests-private-stamp.yml b/azure-pipelines-e2e-tests-private-stamp.yml new file mode 100644 index 00000000..fc8b4a16 --- /dev/null +++ b/azure-pipelines-e2e-tests-private-stamp.yml @@ -0,0 +1,35 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +pr: none +trigger: none + +strategy: + matrix: + linux: + imageName: 'ubuntu-latest' + windows: + imageName: 'vs2017-win2016' + +pool: + vmImage: $(imageName) + +steps: +- pwsh: ./test/E2E/Start-E2ETestPriveStamp.ps1 + env: + AzureWebJobsStorage: $(AzureWebJobsStorage) + AzureWebJobsCosmosDBConnectionString: $(AzureWebJobsCosmosDBConnectionString) + AzureWebJobsServiceBus: $(AzureWebJobsServiceBus) + AzureWebJobsEventHubSender: $(AzureWebJobsEventHubSender) + FUNCTIONS_WORKER_RUNTIME : "powershell" + FunctionAppUrl: $(FunctionAppUrl) + displayName: 'Running PowerShell language worker E2E Tests' + +- task: PublishTestResults@2 + inputs: + testResultsFormat: 'VSTest' + testResultsFiles: '**/*.trx' + failTaskOnFailedTests: true + condition: succeededOrFailed() \ No newline at end of file From c04f8547b38dd77b1adfa3a934a79f88aaf476bf Mon Sep 17 00:00:00 2001 From: Francisco Gomez Gamino Date: Thu, 8 Apr 2021 13:26:51 -0700 Subject: [PATCH 2/2] Rename Start-E2ENightlyTest.ps1 to Start-E2ETestPriveStamp.ps1 --- .../E2E/{Start-E2ENightlyTest.ps1 => Start-E2ETestPriveStamp.ps1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/E2E/{Start-E2ENightlyTest.ps1 => Start-E2ETestPriveStamp.ps1} (100%) diff --git a/test/E2E/Start-E2ENightlyTest.ps1 b/test/E2E/Start-E2ETestPriveStamp.ps1 similarity index 100% rename from test/E2E/Start-E2ENightlyTest.ps1 rename to test/E2E/Start-E2ETestPriveStamp.ps1