diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2021-01-26 02:20:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 02:20:51 +0300 |
commit | b4e955a60e78c622b03108ba933ddedc2ca236ff (patch) | |
tree | 238d7483761b47a2ac9c11e605ffd8ece01b12e9 /.azure-pipelines | |
parent | 7399807ff2b4f8ac1f97e4f037f374610ca88797 (diff) |
Switch away from ubuntu-latest (#8606)
I noticed warnings on Azure like [this](https://dev.azure.com/certbot/certbot/_build/results?buildId=3311&view=logs&j=d74e04fe-9740-597d-e9fa-1d0400037dfd) which say:
> ##[warning]Ubuntu-latest pipelines will use Ubuntu-20.04 soon. For more details, see https://github.com/actions/virtual-environments/issues/1816
I was worried about us suddenly switching to Ubuntu 20.04 and things breaking so I tested that `ubuntu-20.04` works and am opening this PR to switch things over explicitly now. I'd rater have our VM images pinned to specific versions than a generic version specification like `latest` which might see an upgrade and break our tests unexpectedly.
I ran the notification code on Ubuntu 20.04 at https://dev.azure.com/certbot/certbot/_build/results?buildId=3315&view=results and you can see the notification at https://opensource.eff.org/eff-open-source/pl/ojjhde5j4jyw7dcurd5zfduymr.
Diffstat (limited to '.azure-pipelines')
-rw-r--r-- | .azure-pipelines/templates/jobs/standard-tests-jobs.yml | 2 | ||||
-rw-r--r-- | .azure-pipelines/templates/stages/notify-failure-stage.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml index 3ff00b21a..fec11c6c5 100644 --- a/.azure-pipelines/templates/jobs/standard-tests-jobs.yml +++ b/.azure-pipelines/templates/jobs/standard-tests-jobs.yml @@ -73,6 +73,6 @@ jobs: - template: ../steps/tox-steps.yml - job: test_sphinx_builds pool: - vmImage: ubuntu-latest + vmImage: ubuntu-20.04 steps: - template: ../steps/sphinx-steps.yml diff --git a/.azure-pipelines/templates/stages/notify-failure-stage.yml b/.azure-pipelines/templates/stages/notify-failure-stage.yml index 1542f5ebc..c47342690 100644 --- a/.azure-pipelines/templates/stages/notify-failure-stage.yml +++ b/.azure-pipelines/templates/stages/notify-failure-stage.yml @@ -5,7 +5,7 @@ stages: variables: - group: certbot-common pool: - vmImage: ubuntu-latest + vmImage: ubuntu-20.04 steps: - bash: | set -e |