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@eff.org>2022-03-02 01:35:55 +0300
committerBrad Warren <bmw@eff.org>2022-03-02 01:55:22 +0300
commitc987b882e9e62a1b3ef07d4486e1c530d1e76fba (patch)
tree6d9697d43e5114f3f29dd08d989f92301e04689b
parent45ea542c14dc3403efb9b06d7d0023a2b94dd3b6 (diff)
-rw-r--r--.azure-pipelines/templates/jobs/packaging-jobs.yml89
-rw-r--r--.azure-pipelines/templates/stages/test-and-package-stage.yml2
2 files changed, 8 insertions, 83 deletions
diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml
index cfd817c8b..315bff8de 100644
--- a/.azure-pipelines/templates/jobs/packaging-jobs.yml
+++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml
@@ -6,12 +6,10 @@ jobs:
matrix:
amd64:
DOCKER_ARCH: amd64
- # Do not run the heavy non-amd64 builds for test branches
- ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}:
- arm32v6:
- DOCKER_ARCH: arm32v6
- arm64v8:
- DOCKER_ARCH: arm64v8
+ arm32v6:
+ DOCKER_ARCH: arm32v6
+ arm64v8:
+ DOCKER_ARCH: arm64v8
# The default timeout of 60 minutes is a little low for compiling
# cryptography on ARM architectures.
timeoutInMinutes: 180
@@ -53,75 +51,6 @@ jobs:
do docker run --rm "${DOCKER_IMAGE}" plugins --prepare
done
displayName: Run integration tests for Docker images
- - job: installer_build
- pool:
- vmImage: vs2017-win2016
- steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: 3.9
- architecture: x86
- addToPath: true
- - script: |
- python -m venv venv
- venv\Scripts\python tools\pipstrap.py
- venv\Scripts\python tools\pip_install.py -e windows-installer
- displayName: Prepare Windows installer build environment
- - script: |
- venv\Scripts\construct-windows-installer
- displayName: Build Certbot installer
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(System.DefaultWorkingDirectory)/windows-installer/build/nsis
- contents: '*.exe'
- targetFolder: $(Build.ArtifactStagingDirectory)
- - task: PublishPipelineArtifact@1
- inputs:
- path: $(Build.ArtifactStagingDirectory)
- # If we change the artifact's name, it should also be changed in tools/create_github_release.py
- artifact: windows-installer
- displayName: Publish Windows installer
- - job: installer_run
- dependsOn: installer_build
- strategy:
- 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
- addToPath: true
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: windows-installer
- path: $(Build.SourcesDirectory)/bin
- displayName: Retrieve Windows installer
- - script: |
- python -m venv venv
- venv\Scripts\python tools\pipstrap.py
- venv\Scripts\python tools\pip_install.py -e certbot-ci
- env:
- 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
- displayName: Run windows installer integration tests
- - script: |
- set PATH=%ProgramFiles(x86)%\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
pool:
vmImage: ubuntu-18.04
@@ -129,12 +58,10 @@ jobs:
matrix:
amd64:
SNAP_ARCH: amd64
- # Do not run the heavy non-amd64 builds for test branches
- ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}:
- armhf:
- SNAP_ARCH: armhf
- arm64:
- SNAP_ARCH: arm64
+ armhf:
+ SNAP_ARCH: armhf
+ arm64:
+ SNAP_ARCH: arm64
timeoutInMinutes: 0
steps:
- script: |
diff --git a/.azure-pipelines/templates/stages/test-and-package-stage.yml b/.azure-pipelines/templates/stages/test-and-package-stage.yml
index 26010644d..60021cc33 100644
--- a/.azure-pipelines/templates/stages/test-and-package-stage.yml
+++ b/.azure-pipelines/templates/stages/test-and-package-stage.yml
@@ -1,6 +1,4 @@
stages:
- stage: TestAndPackage
jobs:
- - template: ../jobs/standard-tests-jobs.yml
- - template: ../jobs/extended-tests-jobs.yml
- template: ../jobs/packaging-jobs.yml