mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Refactor
This commit is contained in:
parent
b26854e38c
commit
0963be1732
11 changed files with 20 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ pr:
|
|||
- '*.x'
|
||||
|
||||
jobs:
|
||||
- template: templates/standard-tests-jobs.yml
|
||||
- template: templates/jobs/standard-tests-jobs.yml
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -93,4 +93,4 @@ jobs:
|
|||
pool:
|
||||
vmImage: $(IMAGE_NAME)
|
||||
steps:
|
||||
- template: tox-steps.yml
|
||||
- template: steps/tox-steps.yml
|
||||
|
|
@ -59,4 +59,4 @@ jobs:
|
|||
pool:
|
||||
vmImage: $(IMAGE_NAME)
|
||||
steps:
|
||||
- template: tox-steps.yml
|
||||
- template: steps/tox-steps.yml
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
stages:
|
||||
- stage: Notify_Failure
|
||||
- stage: On_Failure
|
||||
jobs:
|
||||
- job: notify
|
||||
- job: notify_mattermost
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -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
|
||||
Loading…
Reference in a new issue