Test against new Ubuntu 22.04 image (#3906)
authorMike McLaughlin <mikem@microsoft.com>
Wed, 24 May 2023 03:27:36 +0000 (20:27 -0700)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 03:27:36 +0000 (20:27 -0700)
* Test against new Ubuntu 22.04 image

* Add python path

diagnostics.yml
eng/pipelines/pipeline-resources.yml

index d60a241464e3b0b49426d9812577c9973272c19e..599fce356f28828cbeb503a369b24d7da2213f29 100644 (file)
@@ -365,22 +365,22 @@ extends:
           #            _BuildConfig: Debug
           #            _BuildArch: x64
 
-          #- template: /eng/pipelines/build.yml
-          #  parameters:
-          #    name: Ubuntu_22_04
-          #    osGroup: Linux
-          #    container: test_ubuntu_22_04
-          #    dependsOn: Linux_x64
-          #    testOnly: true
-          #    strategy:
-          #      matrix:
-          #        Build_Release:
-          #          _BuildConfig: Release
-          #          _BuildArch: x64
-          #        ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
-          #          Build_Debug:
-          #            _BuildConfig: Debug
-          #            _BuildArch: x64
+          - template: /eng/pipelines/build.yml
+            parameters:
+              name: Ubuntu_22_04
+              osGroup: Linux
+              container: test_ubuntu_22_04
+              dependsOn: Linux_x64
+              testOnly: true
+              strategy:
+                matrix:
+                  Build_Release:
+                    _BuildConfig: Release
+                    _BuildArch: x64
+                  ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
+                    Build_Debug:
+                      _BuildConfig: Debug
+                      _BuildArch: x64
 
         # Download, sign, package and publish
         - ${{ if ne(variables['System.TeamProject'], 'public') }}:  
index 524a3793cea87f488539db28d47dfe287c584d97..0b3a5b51edd70ffa49c40b23bd45e236de0dd7d0 100644 (file)
@@ -57,5 +57,6 @@ resources:
 
       - container: test_ubuntu_22_04
         image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04
+        options: '--env PYTHONPATH=/usr/bin/python3.10'
 
 stages: ${{ parameters.stages }}