Add Docker to Main Pipeline
@@ -28,6 +28,29 @@ stages:
# Builds
#
+- stage: build_docker
+ displayName: Build QNS Docker Image
+ condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master/'))
+ dependsOn: []
+ jobs:
+ - job:
+ displayName: Build
+ pool:
+ vmImage: 'ubuntu-latest'
+ steps:
+ - task: Docker@2
+ displayName: Build and push an image to container registry
+ inputs:
+ command: buildAndPush
+ repository: 'public/msquic/qns'
+ dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
+ containerRegistry: '9196310f-afae-4a53-8e35-b9e753eeb0f3'
+ tags: 'latest'
+ - template: .\templates\run-qns.yml
+ parameters:
+ clients: [ 'quicly', 'mvfst', 'quiche', 'neqo' ]
+ servers: [ 'msquic' ]
+
- stage: build_dbgext
displayName: Build WinDbg Extension
dependsOn: []
@@ -310,7 +333,6 @@ stages:
dependsOn:
- build_windows
- build_linux
- condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), succeeded())
jobs:
- template: ./templates/run-quicinterop.yml
parameters:
