diff options
Diffstat (limited to '.azure-pipelines/templates/jobs/packaging-jobs.yml')
-rw-r--r-- | .azure-pipelines/templates/jobs/packaging-jobs.yml | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index cfd817c8b..8090647a7 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -55,12 +55,12 @@ jobs: displayName: Run integration tests for Docker images - job: installer_build pool: - vmImage: vs2017-win2016 + vmImage: windows-2019 steps: - task: UsePythonVersion@0 inputs: versionSpec: 3.9 - architecture: x86 + architecture: x64 addToPath: true - script: | python -m venv venv @@ -87,17 +87,9 @@ jobs: matrix: win2019: imageName: windows-2019 - win2016: - imageName: vs2017-win2016 pool: vmImage: $(imageName) steps: - - powershell: | - if ($PSVersionTable.PSVersion.Major -ne 5) { - throw "Powershell version is not 5.x" - } - condition: eq(variables['imageName'], 'vs2017-win2016') - displayName: Check Powershell 5.x is used in vs2017-win2016 - task: UsePythonVersion@0 inputs: versionSpec: 3.9 @@ -115,11 +107,11 @@ jobs: PIP_NO_BUILD_ISOLATION: no displayName: Prepare Certbot-CI - script: | - set PATH=%ProgramFiles(x86)%\Certbot\bin;%PATH% - venv\Scripts\python -m pytest certbot-ci\windows_installer_integration_tests --allow-persistent-changes --installer-path $(Build.SourcesDirectory)\bin\certbot-beta-installer-win32.exe + set PATH=%ProgramFiles%\Certbot\bin;%PATH% + venv\Scripts\python -m pytest certbot-ci\windows_installer_integration_tests --allow-persistent-changes --installer-path $(Build.SourcesDirectory)\bin\certbot-beta-installer-win_amd64.exe displayName: Run windows installer integration tests - script: | - set PATH=%ProgramFiles(x86)%\Certbot\bin;%PATH% + set PATH=%ProgramFiles%\Certbot\bin;%PATH% venv\Scripts\python -m pytest certbot-ci\certbot_integration_tests\certbot_tests -n 4 displayName: Run certbot integration tests - job: snaps_build |