From ca2861e1f9e134b3005fde1e6b848613c855966b Mon Sep 17 00:00:00 2001 From: jolguk Date: Tue, 2 Jul 2019 08:41:19 +0100 Subject: [PATCH 1/6] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..2e3a5a5d9 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,36 @@ +pool: + vmImage: ubuntu-16.04 +trigger: + - master +steps: + - task: Npm@1 + inputs: + command: install + - script: 'npm test' + displayName: 'Run unit tests' + continueOnError: true + - task: PublishTestResults@2 + displayName: 'Publish Test Results' + condition: succeededOrFailed() + inputs: + testResultsFiles: $(System.DefaultWorkingDirectory)/test-report.xml + - task: PublishCodeCoverageResults@1 + displayName: 'Publish Code Coverage' + condition: 'in(variables[''Agent.JobStatus''], ''Succeeded'')' + inputs: + codeCoverageTool: Cobertura + summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/*coverage.xml' + reportDirectory: $(System.DefaultWorkingDirectory)/coverage + - task: ArchiveFiles@2 + displayName: 'Archive sources' + inputs: + rootFolderOrFile: $(Build.SourcesDirectory) + includeRootFolder: false + - task: CopyFiles@2 + displayName: 'Copy ARM templates' + inputs: + SourceFolder: deployment + Contents: '*.json' + TargetFolder: $(build.artifactstagingdirectory)/Templates + - task: PublishBuildArtifacts@1 + displayName: 'Publish Artifact: drop' From 039e7d244418a59a814169d69d9581d8ca7c9160 Mon Sep 17 00:00:00 2001 From: Joanne Healy Date: Tue, 2 Jul 2019 14:29:23 +0100 Subject: [PATCH 2/6] Fixes AB#660 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba478ab97..dfc1e3b3a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Microsoft.Github CI Demo +# Microsoft.Github CI Demo JoHealy Demo website application for Contoso Air. Runs a nodejs server (Express v4.16) that stores customer booked flights in a CosmosDb database. From 0713046e423ce0b2476b646ba43259af36c6e502 Mon Sep 17 00:00:00 2001 From: Joanne Healy Date: Tue, 2 Jul 2019 14:31:54 +0100 Subject: [PATCH 3/6] Fixes AB#660 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dfc1e3b3a..ba478ab97 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Microsoft.Github CI Demo JoHealy +# Microsoft.Github CI Demo Demo website application for Contoso Air. Runs a nodejs server (Express v4.16) that stores customer booked flights in a CosmosDb database. From 65c4176501afb873be315c83a033cb35b4de7f77 Mon Sep 17 00:00:00 2001 From: Joanne Healy Date: Tue, 2 Jul 2019 16:14:22 +0100 Subject: [PATCH 4/6] Fixes AB#661 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba478ab97..5ce72fde1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Microsoft.Github CI Demo +# Microsoft.Github CI Demo Joanne Healy Demo website application for Contoso Air. Runs a nodejs server (Express v4.16) that stores customer booked flights in a CosmosDb database. From 58ca7291e7d9c088b98300e91723b3f6f162327f Mon Sep 17 00:00:00 2001 From: Joanne Healy Date: Thu, 4 Jul 2019 18:40:35 +0100 Subject: [PATCH 5/6] Fixes AB#663 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ce72fde1..ba478ab97 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Microsoft.Github CI Demo Joanne Healy +# Microsoft.Github CI Demo Demo website application for Contoso Air. Runs a nodejs server (Express v4.16) that stores customer booked flights in a CosmosDb database. From ba780f2cbb36e9ebc3f3dabeaf64d311837dfc9c Mon Sep 17 00:00:00 2001 From: Joanne Healy Date: Thu, 4 Jul 2019 18:45:14 +0100 Subject: [PATCH 6/6] AB#663 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba478ab97..73b50f289 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Microsoft.Github CI Demo +# Microsoft.Github CI Demo jolguk Demo website application for Contoso Air. Runs a nodejs server (Express v4.16) that stores customer booked flights in a CosmosDb database.