This commit is contained in:
Adrien Ferrand 2020-04-26 22:04:26 +02:00
parent b26854e38c
commit 0963be1732
11 changed files with 20 additions and 23 deletions

View file

@ -9,6 +9,6 @@ pr: none
jobs:
# Any addition here should be reflected in the advanced and release pipelines.
# It is advised to declare all jobs here as templates to improve maintainability.
- template: templates/standard-tests-jobs.yml
- template: templates/extended-tests-jobs.yml
- template: templates/packaging-jobs.yml
- template: templates/jobs/standard-tests-jobs.yml
- template: templates/jobs/extended-tests-jobs.yml
- template: templates/jobs/packaging-jobs.yml

View file

@ -18,8 +18,8 @@ stages:
# It is advised to declare all jobs here as templates to improve maintainability.
# - template: templates/standard-tests-jobs.yml
# - template: templates/extended-tests-jobs.yml
- template: templates/packaging-jobs.yml
- template: templates/jobs/packaging-jobs.yml
- stage: Deploy
jobs:
- template: templates/deployment-jobs.yml
- template: templates/notify-failure-steps.yml
- template: templates/jobs/deployment-jobs.yml
- template: templates/stages/notify-failure-stage.yml

View file

@ -5,4 +5,4 @@ pr:
- '*.x'
jobs:
- template: templates/standard-tests-jobs.yml
- template: templates/jobs/standard-tests-jobs.yml

View file

@ -10,11 +10,11 @@ stage:
jobs:
# Any addition here should be reflected in the advanced and advanced-test pipelines.
# It is advised to declare all jobs here as templates to improve maintainability.
- template: templates/standard-tests-jobs.yml
- template: templates/extended-tests-jobs.yml
- template: templates/packaging-jobs.yml
- template: templates/changelog-jobs.yml
- template: templates/jobs/standard-tests-jobs.yml
- template: templates/jobs/extended-tests-jobs.yml
- template: templates/jobs/packaging-jobs.yml
- template: templates/jobs/changelog-jobs.yml
- stage: Deploy
jobs:
- template: templates/deployment-jobs.yml
- template: templates/notify-failure-steps.yml
- template: templates/jobs/deployment-jobs.yml
- template: templates/stages/notify-failure-stage.yml

View file

@ -8,15 +8,13 @@ jobs:
sudo apt-get install -y --no-install-recommends snap
sudo snap install --classic snapcraft
displayName: Install dependencies
- bash: |
mkdir .snapcraft
echo $(SNAPCRAFT_LOGIN_FILE) | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
displayName: Prepare login to Snap store
- task: DownloadPipelineArtifact@2
inputs:
artifact: snap
path: $(Build.SourcesDirectory)/snap
displayName: Retrieve Certbot snap
- bash: |
mkdir .snapcraft
echo $(SNAPCRAFT_LOGIN_FILE) | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
snapcraft push --release=edge snap/*.snap
displayName: Publish to Snap store

View file

@ -93,4 +93,4 @@ jobs:
pool:
vmImage: $(IMAGE_NAME)
steps:
- template: tox-steps.yml
- template: steps/tox-steps.yml

View file

@ -59,4 +59,4 @@ jobs:
pool:
vmImage: $(IMAGE_NAME)
steps:
- template: tox-steps.yml
- template: steps/tox-steps.yml

View file

@ -1,7 +1,7 @@
stages:
- stage: Notify_Failure
- stage: On_Failure
jobs:
- job: notify
- job: notify_mattermost
pool:
vmImage: ubuntu-latest
steps:

View file

@ -22,9 +22,8 @@ steps:
versionSpec: $(PYTHON_VERSION)
addToPath: true
condition: ne(coalesce(variables['PYTHON_VERSION'], 'UNSPECIFIED'), 'UNSPECIFIED')
displayName: Activate selected Python version
- bash: |
python tools/pip_install.py -U tox coverage
python tools/pip_install.py -I tox virtualenv
displayName: Install runtime dependencies
- bash: |
if [[ "${TOXENV}" == *"test-farm"* ]]; then