mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Add test job in Azure
This commit is contained in:
parent
e2daada6b7
commit
13bc45ec72
1 changed files with 39 additions and 10 deletions
|
|
@ -64,11 +64,11 @@ jobs:
|
|||
amd64:
|
||||
ARCH: amd64
|
||||
# Do not run the QEMU jobs for the full-test-suite pipeline
|
||||
${{ if ne(variables['System.DefinitionId'], 4 )}}:
|
||||
arm64:
|
||||
ARCH: arm64
|
||||
armhf:
|
||||
ARCH: armhf
|
||||
# ${{ if ne(variables['System.DefinitionId'], 4 )}}:
|
||||
# arm64:
|
||||
# ARCH: arm64
|
||||
# armhf:
|
||||
# ARCH: armhf
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
steps:
|
||||
|
|
@ -87,11 +87,11 @@ jobs:
|
|||
amd64:
|
||||
ARCH: amd64
|
||||
# Do not run the QEMU jobs for the full-test-suite pipeline
|
||||
${{ if ne(variables['System.DefinitionId'], 4 )}}:
|
||||
arm64:
|
||||
ARCH: arm64
|
||||
armhf:
|
||||
ARCH: armhf
|
||||
# ${{ if ne(variables['System.DefinitionId'], 4 )}}:
|
||||
# arm64:
|
||||
# ARCH: arm64
|
||||
# armhf:
|
||||
# ARCH: armhf
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
steps:
|
||||
|
|
@ -125,3 +125,32 @@ jobs:
|
|||
- script: |
|
||||
python -m tox -e integration-external,apacheconftest-external-with-pebble
|
||||
displayName: Run tox
|
||||
- job: snap_dns_run
|
||||
dependsOn: 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: |
|
||||
sudo python3 -m pip install pytest
|
||||
sudo pytest tests/certbot_dns_snap_test.py
|
||||
displayName: Test DNS plugins snaps
|
||||
env:
|
||||
SNAP_FOLDER: $(Build.SourcesDirectory)/snap
|
||||
|
|
|
|||
Loading…
Reference in a new issue