From 0783f714a065ff81593ff6af1224bb38a3992828 Mon Sep 17 00:00:00 2001 From: cloudtesting3000 <71480119+cloudtesting3000@users.noreply.github.com> Date: Sun, 16 May 2021 01:56:32 -0400 Subject: [PATCH 1/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..27a798a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# 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 + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From 18e9accedbf9b57f9c6f9bcf8de8f1925be91587 Mon Sep 17 00:00:00 2001 From: cloudtesting3000 <71480119+cloudtesting3000@users.noreply.github.com> Date: Sun, 16 May 2021 02:00:00 -0400 Subject: [PATCH 2/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27a798a..c5938af 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,9 @@ # Starter pipeline +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' # 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 From c71f778983280ef66502d52def031a6be2ae7324 Mon Sep 17 00:00:00 2001 From: cloudtesting3000 <71480119+cloudtesting3000@users.noreply.github.com> Date: Sun, 16 May 2021 02:03:00 -0400 Subject: [PATCH 3/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c5938af..6be5063 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,11 @@ # Starter pipeline - task: PublishBuildArtifacts@1 inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' + PathtoPublish: '- task: CopyFiles@2 + inputs: + SourceFolder: 'AzureResourceGroup-WebApp-SQL' + Contents: '*.json' + TargetFolder: '$(Build.ArtifactStagingDirectory)'' ArtifactName: 'drop' publishLocation: 'Container' # Start with a minimal pipeline that you can customize to build and deploy your code.