mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Configure farm tests
This commit is contained in:
parent
e09cbcb0d6
commit
d140408faf
2 changed files with 33 additions and 18 deletions
|
|
@ -29,6 +29,6 @@ jobs:
|
|||
secureFile: snapcraft.cfg
|
||||
- bash: |
|
||||
mkdir -p .snapcraft
|
||||
ln -s .snapcraft/snapcraft.cfg $(snapcraftCfg.secureFilePath)
|
||||
ln -s $(snapcraftCfg.secureFilePath) .snapcraft/snapcraft.cfg
|
||||
snapcraft push --release=edge snap/*.snap
|
||||
displayName: Publish to Snap store
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
jobs:
|
||||
- job: x_test
|
||||
variables:
|
||||
- name: IMAGE_NAME
|
||||
value: ubuntu-18.04
|
||||
- group: certbot-common
|
||||
- ${{ if contains(variables['TOXENV'], 'integration') }}:
|
||||
PYTEST_ADDOPTS: --numprocesses 4
|
||||
IMAGE_NAME: ubuntu-18.04
|
||||
${{ if contains(variables['TOXENV'], 'integration') }}:
|
||||
PYTEST_ADDOPTS: --numprocesses 4
|
||||
strategy:
|
||||
matrix:
|
||||
linux-py36:
|
||||
|
|
@ -80,19 +78,36 @@ jobs:
|
|||
TOXENV: le_auto_oraclelinux6
|
||||
dev:
|
||||
TOXENV: docker_dev
|
||||
farmtest-apache2:
|
||||
PYTHON_VERSION: 3.7
|
||||
TOXENV: azure-test-farm-apache2
|
||||
farmtest-leauto-upgrades:
|
||||
PYTHON_VERSION: 3.7
|
||||
TOXENV: azure-test-farm-leauto-upgrades
|
||||
farmtest-certonly-standalone:
|
||||
PYTHON_VERSION: 3.7
|
||||
TOXENV: azure-test-farm-certonly-standalone
|
||||
farmtest-sdists:
|
||||
PYTHON_VERSION: 3.7
|
||||
TOXENV: azure-test-farm-sdists
|
||||
pool:
|
||||
vmImage: $(IMAGE_NAME)
|
||||
steps:
|
||||
- template: ../steps/tox-steps.yml
|
||||
- job: farm_test
|
||||
variables:
|
||||
- group: certbot-common
|
||||
strategy:
|
||||
matrix:
|
||||
apache2:
|
||||
TOXENV: azure-test-farm-apache2
|
||||
leauto-upgrades:
|
||||
TOXENV: azure-test-farm-leauto-upgrades
|
||||
certonly-standalone:
|
||||
TOXENV: azure-test-farm-certonly-standalone
|
||||
sdists:
|
||||
TOXENV: azure-test-farm-sdists
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: 3.7
|
||||
addToPath: true
|
||||
- bash: |
|
||||
python tools/pip_install.py -I tox virtualenv
|
||||
displayName: Install runtime dependencies
|
||||
- task: DownloadSecureFile@1
|
||||
name: testFarmPem
|
||||
inputs:
|
||||
secureFile: azure-test-farm.pem
|
||||
- bash: |
|
||||
ln -s $(testFarmPem.secureFilePath) azure-test-farm.pem
|
||||
exit 0
|
||||
displayName: Run tox
|
||||
|
|
|
|||
Loading…
Reference in a new issue