Upgrade to Ubuntu 20.04 in our CircleCI config (#9486)

Summary:
Ubuntu 16.04 has reached EOL. The patch upgrades the image for all of
our CircleCI jobs to the latest, namely `ubuntu-2004:202111-02`.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9486

Test Plan: Watch the CI build results.

Reviewed By: ajkr

Differential Revision: D34029339

Pulled By: ltamasi

fbshipit-source-id: a266b631c04d227fe29b8156be61229605eb9dd7
This commit is contained in:
Levi Tamasi 2022-02-06 17:35:50 -08:00 committed by Facebook GitHub Bot
parent fd3e0f43b3
commit 1f96bc6864

View File

@ -103,7 +103,7 @@ commands:
install-benchmark:
steps:
- run: # currently doesn't support ubuntu-1604 which doesn't have libbenchmark package, user can still install by building it youself
- run:
name: Install benchmark
command: |
sudo apt-get update -y && sudo apt-get install -y libbenchmark-dev
@ -334,7 +334,7 @@ jobs:
build-linux-cmake-ubuntu-20:
machine:
image: ubuntu-2004:202104-01
image: ubuntu-2004:202111-02
resource_class: 2xlarge
steps:
- pre-steps
@ -356,7 +356,7 @@ jobs:
build-linux-gcc-7:
machine:
image: ubuntu-1604:202104-01
image: ubuntu-2004:202111-02
resource_class: 2xlarge
steps:
- pre-steps
@ -366,7 +366,7 @@ jobs:
build-linux-gcc-8-no_test_run:
machine:
image: ubuntu-1604:202104-01
image: ubuntu-2004:202111-02
resource_class: large
steps:
- pre-steps
@ -741,7 +741,7 @@ jobs:
build-fuzzers:
machine:
image: ubuntu-2004:202010-01
image: ubuntu-2004:202111-02
resource_class: large
steps:
- pre-steps