From 198860c70c8f8f6b60091ece0e6b9c851d6a2aea Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Thu, 18 Jul 2024 13:24:33 -0700 Subject: [PATCH] get rid of more tests --- .../templates/jobs/extended-tests-jobs.yml | 40 ------------- .../templates/jobs/packaging-jobs.yml | 56 ------------------- 2 files changed, 96 deletions(-) diff --git a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml index 0a72601dd..ee5ee5e83 100644 --- a/.azure-pipelines/templates/jobs/extended-tests-jobs.yml +++ b/.azure-pipelines/templates/jobs/extended-tests-jobs.yml @@ -8,49 +8,9 @@ jobs: - group: certbot-common strategy: matrix: - linux-py39: - PYTHON_VERSION: 3.9 - TOXENV: py39 - linux-py310: - PYTHON_VERSION: 3.10 - TOXENV: py310 - linux-py311: - PYTHON_VERSION: 3.11 - TOXENV: py311 - linux-isolated: - TOXENV: 'isolated-acme,isolated-certbot,isolated-apache,isolated-cloudflare,isolated-digitalocean,isolated-dnsimple,isolated-dnsmadeeasy,isolated-gehirn,isolated-google,isolated-linode,isolated-luadns,isolated-nsone,isolated-ovh,isolated-rfc2136,isolated-route53,isolated-sakuracloud,isolated-nginx' - linux-integration-certbot-oldest: - PYTHON_VERSION: 3.8 - TOXENV: integration-certbot-oldest - linux-integration-nginx-oldest: - PYTHON_VERSION: 3.8 - TOXENV: integration-nginx-oldest - # python 3.8 integration tests are not run here because they're run as - # part of the standard test suite - linux-py39-integration: - PYTHON_VERSION: 3.9 - TOXENV: integration - linux-py310-integration: - PYTHON_VERSION: 3.10 - TOXENV: integration - linux-py311-integration: - PYTHON_VERSION: 3.11 - TOXENV: integration linux-py312-integration: PYTHON_VERSION: 3.12 TOXENV: integration - nginx-compat: - TOXENV: nginx_compat - linux-integration-rfc2136: - IMAGE_NAME: ubuntu-22.04 - PYTHON_VERSION: 3.8 - TOXENV: integration-dns-rfc2136 - le-modification: - IMAGE_NAME: ubuntu-22.04 - TOXENV: modification - farmtest-apache2: - PYTHON_VERSION: 3.8 - TOXENV: test-farm-apache2 pool: vmImage: $(IMAGE_NAME) steps: diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index 0ec2a272e..0c0601555 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -1,60 +1,4 @@ jobs: - - job: docker_build - pool: - vmImage: ubuntu-22.04 - strategy: - matrix: - arm32v6: - DOCKER_ARCH: arm32v6 - arm64v8: - DOCKER_ARCH: arm64v8 - amd64: - DOCKER_ARCH: amd64 - # The default timeout of 60 minutes is a little low for compiling - # cryptography on ARM architectures. - timeoutInMinutes: 180 - 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_test - dependsOn: docker_build - pool: - vmImage: ubuntu-22.04 - strategy: - matrix: - arm32v6: - DOCKER_ARCH: arm32v6 - arm64v8: - DOCKER_ARCH: arm64v8 - amd64: - DOCKER_ARCH: amd64 - steps: - - task: DownloadPipelineArtifact@2 - inputs: - artifact: docker_$(DOCKER_ARCH) - path: $(Build.SourcesDirectory) - displayName: Retrieve Docker images - - bash: set -e && docker load --input $(Build.SourcesDirectory)/images.tar - displayName: Load Docker images - - bash: | - set -e && tools/docker/test.sh $(dockerTag) $DOCKER_ARCH - displayName: Run integration tests for Docker images - job: snaps_build pool: vmImage: ubuntu-22.04