diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7445e67d38..9b6919c361 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,7 +17,7 @@ jobs: - job: MacOS pool: - vmImage: macOS-10.13 + vmImage: macOS-10.15 timeoutInMinutes: 60 # how long to run the job before automatically cancelling steps: - checkout: self # self represents the repo where the initial Pipelines YAML file was found @@ -26,7 +26,7 @@ jobs: - job: Windows pool: - vmImage: win1803 + vmImage: "windows-2019" timeoutInMinutes: 60 # how long to run the job before automatically cancelling steps: - checkout: self # self represents the repo where the initial Pipelines YAML file was found diff --git a/azure-pipelines/plato/generate-up-to-date-report.yml b/azure-pipelines/plato/generate-up-to-date-report.yml index 0fcc3bd3e8..1c8f461021 100644 --- a/azure-pipelines/plato/generate-up-to-date-report.yml +++ b/azure-pipelines/plato/generate-up-to-date-report.yml @@ -51,7 +51,7 @@ steps: - task: AzureCLI@1 displayName: "Pull down old report and add updates" inputs: - azureSubscription: 'PELITTLE TEAM - CSE DWR (d36d0808-a967-4f73-9fdc-32ea232fc81d)' + azureSubscription: 'pj-little-sub' scriptLocation: inlineScript inlineScript: './scripts/update-report.sh' diff --git a/preview-release-pipeline.yml b/preview-release-pipeline.yml index 31833ecce7..02194c70b4 100644 --- a/preview-release-pipeline.yml +++ b/preview-release-pipeline.yml @@ -13,7 +13,7 @@ stages: cancelTimeoutInMinutes: 1 # time limit to wait for job to cancel pool: - vmImage: macOS-10.13 # ssh key was generated on a Mac so using the same type of OS here + vmImage: macOS-10.15 # ssh key was generated on a Mac so using the same type of OS here steps: - task: NodeTool@0 @@ -63,7 +63,7 @@ stages: parameters: name: Windows pool: - vmImage: vs2017-win2016 + vmImage: "windows-2019" os: windows artifact: vott*.exe @@ -71,7 +71,7 @@ stages: parameters: name: MacOS pool: - vmImage: macOS-10.13 + vmImage: macOS-10.15 os: mac artifact: vott*.dmg diff --git a/release-pipeline.yml b/release-pipeline.yml index b76333e056..f030c0a102 100644 --- a/release-pipeline.yml +++ b/release-pipeline.yml @@ -16,7 +16,7 @@ jobs: - job: MacOS condition: succeeded() pool: - vmImage: macOS-10.13 + vmImage: macOS-10.15 timeoutInMinutes: 60 # how long to run the job before automatically cancelling steps: - checkout: self # self represents the repo where the initial Pipelines YAML file was found @@ -26,7 +26,7 @@ jobs: - job: Windows condition: succeeded() pool: - vmImage: vs2017-win2016 + vmImage: "windows-2019" timeoutInMinutes: 60 # how long to run the job before automatically cancelling steps: - checkout: self # self represents the repo where the initial Pipelines YAML file was found diff --git a/server/azure-deploy.yml b/server/azure-deploy.yml index d70e46f1ef..1ffe053651 100644 --- a/server/azure-deploy.yml +++ b/server/azure-deploy.yml @@ -3,13 +3,13 @@ # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript -trigger: -- johnshew/login +trigger: none +pr: none variables: # Azure Resource Manager connection created during pipeline creation - azureSubscription: 'fe7b93fe-e836-4a55-804c-883dbea6af24' - + azureSubscription: fe7b93fe-e836-4a55-804c-883dbea6af24' + # Web app name webAppName: 'vott' @@ -19,25 +19,25 @@ variables: stages: - stage: Build displayName: Build stage - jobs: + jobs: - job: Build displayName: Build pool: vmImage: $(vmImageName) - + steps: - task: NodeTool@0 inputs: versionSpec: '10.x' displayName: 'Install Node.js' - - script: | + - script: | npm install npm run build --if-present # npm run test --if-present workingDirectory: $(System.DefaultWorkingDirectory)/server displayName: 'npm install, build and test' - + - task: ArchiveFiles@2 displayName: 'Archive files' inputs: @@ -58,12 +58,12 @@ stages: - deployment: Deploy displayName: Deploy environment: 'development' - pool: + pool: vmImage: $(vmImageName) strategy: runOnce: deploy: - steps: + steps: - task: AzureWebApp@1 displayName: 'Azure Web App Deploy: vott' inputs: @@ -72,4 +72,4 @@ stages: appName: $(webAppName) runtimeStack: 'NODE|10.10' package: $(Pipeline.Workspace)/drop/$(Build.BuildId).zip - startUpCommand: 'npm run start' \ No newline at end of file + startUpCommand: 'npm run start'