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>2020-07-20 20:29:55 +0300
committerBrad Warren <bmw@eff.org>2020-07-20 20:29:55 +0300
commit132ab7b5176a8c95d94c7ba865d8e60232309d1b (patch)
tree6914aa7d2fee2cc76bd81bfa9c34f72034e32928
parentebf1349b15098548b0dcad30a0dabd07ed3f11d1 (diff)
only test arm64 buildtest-arm64-snap
-rw-r--r--.azure-pipelines/templates/jobs/packaging-jobs.yml132
-rw-r--r--.azure-pipelines/templates/stages/test-and-package-stage.yml2
2 files changed, 4 insertions, 130 deletions
diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml
index 9742269e4..8cc16b2a9 100644
--- a/.azure-pipelines/templates/jobs/packaging-jobs.yml
+++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml
@@ -1,74 +1,9 @@
jobs:
- - job: installer_build
- pool:
- vmImage: vs2017-win2016
- steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: 3.7
- architecture: x86
- addToPath: true
- - script: python windows-installer/construct.py
- 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)
- 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.8
- addToPath: true
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: windows-installer
- path: $(Build.SourcesDirectory)/bin
- displayName: Retrieve Windows installer
- - script: |
- py -3 -m venv venv
- venv\Scripts\python tools\pip_install.py -e certbot-ci
- 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: snap_build
strategy:
matrix:
- amd64:
- ARCH: amd64
- # Do not run the QEMU jobs for test branches
- ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}:
- arm64:
- ARCH: arm64
- armhf:
- ARCH: armhf
+ arm64:
+ ARCH: arm64
pool:
vmImage: ubuntu-18.04
steps:
@@ -84,14 +19,8 @@ jobs:
- job: snap_dns_build
strategy:
matrix:
- amd64:
- ARCH: amd64
- # Do not run the QEMU jobs for test branches
- ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}:
- arm64:
- ARCH: arm64
- armhf:
- ARCH: armhf
+ arm64:
+ ARCH: arm64
pool:
vmImage: ubuntu-18.04
steps:
@@ -104,56 +33,3 @@ jobs:
path: $(Build.ArtifactStagingDirectory)
artifact: dns-snap-$(arch)
displayName: Store snaps artifacts
- - job: snap_run
- dependsOn: snap_build
- pool:
- vmImage: ubuntu-18.04
- steps:
- - script: |
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends nginx-light snapd
- python tools/pip_install.py -U tox
- displayName: Install dependencies
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: snap-amd64
- path: $(Build.SourcesDirectory)/snap
- displayName: Retrieve Certbot snap
- - script: |
- sudo snap install --dangerous --classic snap/*.snap
- displayName: Install Certbot snap
- - script: |
- python -m tox -e integration-external,apacheconftest-external-with-pebble
- displayName: Run tox
- - job: snap_dns_run
- dependsOn:
- - snap_build
- - snap_dns_build
- pool:
- vmImage: ubuntu-18.04
- steps:
- - script: |
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends snapd
- displayName: Install dependencies
- - task: UsePythonVersion@0
- inputs:
- versionSpec: 3.8
- addToPath: true
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: snap-amd64
- path: $(Build.SourcesDirectory)/snap
- displayName: Retrieve Certbot snap
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: dns-snap-amd64
- path: $(Build.SourcesDirectory)/snap
- displayName: Retrieve Certbot DNS plugins snaps
- - script: |
- python3 -m venv venv
- venv/bin/python tools/pip_install.py -e certbot-ci
- displayName: Prepare Certbot-CI
- - script: |
- sudo -E venv/bin/pytest certbot-ci/snap_integration_tests/dns_tests --allow-persistent-changes --snap-folder $(Build.SourcesDirectory)/snap
- displayName: Test DNS plugins snaps
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