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-10-29 00:29:36 +0300
committerBrad Warren <bmw@eff.org>2020-10-29 00:29:36 +0300
commit1c0d58e15011ae60c5c81fd55fc737da224ec976 (patch)
treed96b21b6d112d288a884c9796ad373030af068f6
parent81f06646d17e1ea47f578a31736d357fee1d7490 (diff)
only run relevant teststest-groovy-tests
-rw-r--r--.azure-pipelines/templates/jobs/extended-tests-jobs.yml66
-rw-r--r--.azure-pipelines/templates/jobs/packaging-jobs.yml147
-rw-r--r--.azure-pipelines/templates/jobs/standard-tests-jobs.yml61
3 files changed, 0 insertions, 274 deletions
diff --git a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
index c22f1003f..08b9cd79a 100644
--- a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
+++ b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml
@@ -8,78 +8,12 @@ jobs:
- group: certbot-common
strategy:
matrix:
- linux-py36:
- PYTHON_VERSION: 3.6
- TOXENV: py36
- linux-py37:
- PYTHON_VERSION: 3.7
- TOXENV: py37
- linux-py37-nopin:
- PYTHON_VERSION: 3.7
- TOXENV: py37
- CERTBOT_NO_PIN: 1
- linux-boulder-v1-integration-certbot-oldest:
- TOXENV: integration-certbot-oldest
- ACME_SERVER: boulder-v1
- linux-boulder-v2-integration-certbot-oldest:
- TOXENV: integration-certbot-oldest
- ACME_SERVER: boulder-v2
- linux-boulder-v1-integration-nginx-oldest:
- TOXENV: integration-nginx-oldest
- ACME_SERVER: boulder-v1
- linux-boulder-v2-integration-nginx-oldest:
- TOXENV: integration-nginx-oldest
- ACME_SERVER: boulder-v2
- linux-boulder-v1-py27-integration:
- PYTHON_VERSION: 2.7
- TOXENV: integration
- ACME_SERVER: boulder-v1
- linux-boulder-v2-py27-integration:
- PYTHON_VERSION: 2.7
- TOXENV: integration
- ACME_SERVER: boulder-v2
- linux-boulder-v1-py36-integration:
- PYTHON_VERSION: 3.6
- TOXENV: integration
- ACME_SERVER: boulder-v1
- linux-boulder-v2-py36-integration:
- PYTHON_VERSION: 3.6
- TOXENV: integration
- ACME_SERVER: boulder-v2
- linux-boulder-v1-py37-integration:
- PYTHON_VERSION: 3.7
- TOXENV: integration
- ACME_SERVER: boulder-v1
- linux-boulder-v2-py37-integration:
- PYTHON_VERSION: 3.7
- TOXENV: integration
- ACME_SERVER: boulder-v2
- linux-boulder-v1-py38-integration:
- PYTHON_VERSION: 3.8
- TOXENV: integration
- ACME_SERVER: boulder-v1
- linux-boulder-v2-py38-integration:
- PYTHON_VERSION: 3.8
- TOXENV: integration
- ACME_SERVER: boulder-v2
- nginx-compat:
- TOXENV: nginx_compat
- le-auto-oraclelinux6:
- TOXENV: le_auto_oraclelinux6
- docker-dev:
- TOXENV: docker_dev
macos-farmtest-apache2:
# We run one of these test farm tests on macOS to help ensure the
# tests continue to work on the platform.
IMAGE_NAME: macOS-10.15
PYTHON_VERSION: 3.8
TOXENV: test-farm-apache2
- farmtest-leauto-upgrades:
- PYTHON_VERSION: 3.7
- TOXENV: test-farm-leauto-upgrades
- farmtest-certonly-standalone:
- PYTHON_VERSION: 3.7
- TOXENV: test-farm-certonly-standalone
farmtest-sdists:
PYTHON_VERSION: 3.7
TOXENV: test-farm-sdists
diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml
index f4039987c..e023f5c1f 100644
--- a/.azure-pipelines/templates/jobs/packaging-jobs.yml
+++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml
@@ -1,122 +1,4 @@
jobs:
- - job: docker_build
- pool:
- vmImage: ubuntu-18.04
- strategy:
- 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
- steps:
- - bash: set -e && tools/docker/build.sh $(dockerTag) $DOCKER_ARCH
- displayName: Build the Docker images
- # We don't filter for the Docker Hub organization to continue to allow
- # easy testing of these scripts on forks.
- - bash: |
- set -e
- DOCKER_IMAGES=$(docker images --filter reference='*/certbot' --filter reference='*/dns-*' --format '{{.Repository}}')
- docker save --output images.tar $DOCKER_IMAGES
- displayName: Save the Docker images
- # If the name of the tar file or artifact changes, the deploy stage will
- # also need to be updated.
- - bash: set -e && mv images.tar $(Build.ArtifactStagingDirectory)
- displayName: Prepare Docker artifact
- - task: PublishPipelineArtifact@1
- inputs:
- path: $(Build.ArtifactStagingDirectory)
- artifact: docker_$(DOCKER_ARCH)
- displayName: Store Docker artifact
- - job: docker_run
- dependsOn: docker_build
- pool:
- vmImage: ubuntu-18.04
- steps:
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: docker_amd64
- path: $(Build.SourcesDirectory)
- displayName: Retrieve Docker images
- - bash: set -e && docker load --input $(Build.SourcesDirectory)/images.tar
- displayName: Load Docker images
- - bash: |
- set -ex
- DOCKER_IMAGES=$(docker images --filter reference='*/certbot' --filter reference='*/dns-*' --format '{{.Repository}}:{{.Tag}}')
- for DOCKER_IMAGE in ${DOCKER_IMAGES}
- 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.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)
- # 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.8
- addToPath: true
- - task: DownloadPipelineArtifact@2
- inputs:
- artifact: windows-installer
- path: $(Build.SourcesDirectory)/bin
- displayName: Retrieve Windows installer
- # pip 9.0 provided by pipstrap is not able to resolve properly the pywin32 dependency
- # required by certbot-ci: as a temporary workaround until pipstrap is updated, we install
- # a recent version of pip, but we also to disable the isolated feature as described in
- # https://github.com/certbot/certbot/issues/8256
- - script: |
- py -3 -m venv venv
- venv\Scripts\python -m pip install pip==20.2.3 setuptools==50.3.0 wheel==0.35.1
- 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
@@ -190,32 +72,3 @@ jobs:
set -e
venv/bin/python -m tox -e integration-external,apacheconftest-external-with-pebble
displayName: Run tox
- - job: snap_dns_run
- dependsOn: snaps_build
- pool:
- vmImage: ubuntu-18.04
- steps:
- - script: |
- set -e
- 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: snaps
- path: $(Build.SourcesDirectory)/snap
- displayName: Retrieve Certbot snaps
- - script: |
- set -e
- python3 -m venv venv
- venv/bin/python letsencrypt-auto-source/pieces/pipstrap.py
- venv/bin/python tools/pip_install.py -e certbot-ci
- displayName: Prepare Certbot-CI
- - script: |
- set -e
- sudo -E venv/bin/pytest certbot-ci/snap_integration_tests/dns_tests --allow-persistent-changes --snap-folder $(Build.SourcesDirectory)/snap --snap-arch amd64
- displayName: Test DNS plugins snaps
diff --git a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
index 69e8b279b..34e24f91d 100644
--- a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
+++ b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml
@@ -4,71 +4,10 @@ jobs:
PYTHON_VERSION: 3.8
strategy:
matrix:
- macos-py27:
- IMAGE_NAME: macOS-10.15
- PYTHON_VERSION: 2.7
- TOXENV: py27
- macos-py38:
- IMAGE_NAME: macOS-10.15
- PYTHON_VERSION: 3.8
- TOXENV: py38
- windows-py36:
- IMAGE_NAME: vs2017-win2016
- PYTHON_VERSION: 3.6
- TOXENV: py36
- windows-py37-cover:
- IMAGE_NAME: vs2017-win2016
- PYTHON_VERSION: 3.7
- TOXENV: py37-cover
- windows-integration-certbot:
- IMAGE_NAME: vs2017-win2016
- PYTHON_VERSION: 3.7
- TOXENV: integration-certbot
- linux-oldest-tests-1:
- IMAGE_NAME: ubuntu-18.04
- TOXENV: py27-{acme,apache,apache-v2,certbot}-oldest
- linux-oldest-tests-2:
- IMAGE_NAME: ubuntu-18.04
- TOXENV: py27-{dns,nginx}-oldest
- linux-py27:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
- TOXENV: py27
- linux-py36:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 3.6
- TOXENV: py36
- linux-py38-cover:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 3.8
- TOXENV: py38-cover
- linux-py37-lint:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 3.7
- TOXENV: lint
- linux-py36-mypy:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 3.6
- TOXENV: mypy
- linux-integration:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
- TOXENV: integration
- ACME_SERVER: pebble
- apache-compat:
- IMAGE_NAME: ubuntu-18.04
- TOXENV: apache_compat
- le-auto-centos6:
- IMAGE_NAME: ubuntu-18.04
- TOXENV: le_auto_centos6
apacheconftest:
IMAGE_NAME: ubuntu-18.04
PYTHON_VERSION: 2.7
TOXENV: apacheconftest-with-pebble
- nginxroundtrip:
- IMAGE_NAME: ubuntu-18.04
- PYTHON_VERSION: 2.7
- TOXENV: nginxroundtrip
pool:
vmImage: $(IMAGE_NAME)
steps: