Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2020-03-10 01:15:01 +0300
committerGitHub <noreply@github.com>2020-03-10 01:15:01 +0300
commitc4426c44e7c0c820b6fcc92a3fbd91a5afc20558 (patch)
treedf24df2834b39c143fd48e305891259b86970bf0
parent5f6df46dfe4b8804c94ceb15d41a9463c2483c50 (diff)
Fix issues with Azure Pipelines (#7838) (#7843)1.3.x
This PR fixes two issues. First, it fixes #7814 by removing our tests on Windows Server 2012. I also added the sentence "Certbot supports Windows Server 2016 and Windows Server 2019." to https://community.letsencrypt.org/t/beta-phase-of-certbot-for-windows/105822. Second, it fixes the test failures which can be seen at https://dev.azure.com/certbot/certbot/_build/results?buildId=1309&view=results by no longer manually installing our own version of Python and instead using the one provided by Azure. These small changes are in the same PR because I wanted to fix test failures ASAP and `UsePythonVersion` is not available on Windows 2012. See https://github.com/certbot/certbot/pull/7641#discussion_r358510854. You can see tests passing with this change at https://dev.azure.com/certbot/certbot/_build/results?buildId=1311&view=results. * stop testing on win2012 * switch to UsePythonVersion (cherry picked from commit d72a1a71d22792cecf66a8d636705b9319e8fca3)
-rw-r--r--.azure-pipelines/templates/installer-tests.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.azure-pipelines/templates/installer-tests.yml b/.azure-pipelines/templates/installer-tests.yml
index 6d5672339..ea2101792 100644
--- a/.azure-pipelines/templates/installer-tests.yml
+++ b/.azure-pipelines/templates/installer-tests.yml
@@ -28,15 +28,13 @@ jobs:
imageName: windows-2019
win2016:
imageName: vs2017-win2016
- win2012r2:
- imageName: vs2015-win2012r2
pool:
vmImage: $(imageName)
steps:
- - powershell: Invoke-WebRequest https://www.python.org/ftp/python/3.8.1/python-3.8.1-amd64-webinstall.exe -OutFile C:\py3-setup.exe
- displayName: Get Python
- - script: C:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_test=0 Include_doc=0 Include_dev=1 Include_debug=0 Include_tcltk=0 TargetDir=C:\py3
- displayName: Install Python
+ - task: UsePythonVersion@0
+ inputs:
+ versionSpec: 3.8
+ addToPath: true
- task: DownloadPipelineArtifact@2
inputs:
artifact: windows-installer