Define variable group

This commit is contained in:
Adrien Ferrand 2020-04-26 22:14:01 +02:00
parent 16f3ab1cb3
commit 28e8fc46e9
3 changed files with 10 additions and 2 deletions

View file

@ -2,6 +2,8 @@ jobs:
- job: publish_snap
pool:
vmImage: ubuntu-18.04
variables:
- group: certbot-common
steps:
- bash: |
sudo apt-get update

View file

@ -1,9 +1,13 @@
jobs:
- job: x_test
variables:
IMAGE_NAME: ubuntu-18.04
- name: IMAGE_NAME
value: ubuntu-18.04
${{ if contains(variables['TOXENV'], 'test-farm') }}:
- group: certbot-common
${{ if contains(variables['TOXENV'], 'integration') }}:
PYTEST_ADDOPTS: --numprocesses 4
- name: PYTEST_ADDOPTS
value: --numprocesses 4
strategy:
matrix:
linux-py36:

View file

@ -2,6 +2,8 @@ stages:
- stage: On_Failure
jobs:
- job: notify_mattermost
variables:
- group: certbot-common
pool:
vmImage: ubuntu-latest
steps: