Skip to content

Commit a3ba7ab

Browse files
authored
chore: Upgrade github actions to use ubuntu-20.04. (#5984)
ubuntu-18.04 is deprecated and experiences periodic brownouts. See: actions/runner-images#6002 I initially attempted to upgrade to ubuntu-22.04 but could not solve problems running karma and ChromeHeadless driver. ``` [1018/165541.955009:WARNING:gpu_process_host.cc(1228)] The GPU process has crashed 6 time(s) [1018/165541.955035:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye. ``` This problem does not appear to exist on ubuntu-20.04.
1 parent fbcd75b commit a3ba7ab

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131

3232
jobs:
3333
build:
34-
runs-on: ubuntu-18.04
34+
runs-on: ubuntu-20.04
3535
needs: lint-python-flake8 # fail fast in case of "undefined variable" errors
3636
strategy:
3737
fail-fast: false
@@ -135,11 +135,11 @@ jobs:
135135
fail-fast: false
136136
matrix:
137137
mode: ['native']
138-
platform: ['ubuntu-18.04', 'macos-11']
138+
platform: ['ubuntu-20.04', 'macos-11']
139139
rust_version: ['1.58.1']
140140
include:
141141
- mode: 'universal'
142-
platform: 'ubuntu-18.04'
142+
platform: 'ubuntu-20.04'
143143
rust_version: '1.58.1'
144144
steps:
145145
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
@@ -207,7 +207,7 @@ jobs:
207207
path: /tmp/pip_package/*
208208

209209
lint-python-flake8:
210-
runs-on: ubuntu-18.04
210+
runs-on: ubuntu-20.04
211211
strategy:
212212
fail-fast: false
213213
matrix:
@@ -232,7 +232,7 @@ jobs:
232232
run: flake8 . --count --select=E9,F63,F7,F82,F401 --show-source --statistics
233233

234234
lint-python-yaml-docs:
235-
runs-on: ubuntu-18.04
235+
runs-on: ubuntu-20.04
236236
steps:
237237
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
238238
- uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20
@@ -256,7 +256,7 @@ jobs:
256256
run: git ls-files -z '*.ipynb' | xargs -0 python3 -m tensorflow_docs.tools.nbfmt --test
257257

258258
lint-rust:
259-
runs-on: ubuntu-18.04
259+
runs-on: ubuntu-20.04
260260
strategy:
261261
matrix:
262262
rust_version: ['1.58.1']
@@ -300,7 +300,7 @@ jobs:
300300
git diff --staged --exit-code
301301
302302
lint-frontend:
303-
runs-on: ubuntu-18.04
303+
runs-on: ubuntu-20.04
304304
steps:
305305
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
306306
- uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
@@ -331,7 +331,7 @@ jobs:
331331
! git grep -E '@npm//numeric' 'tensorboard/*/BUILD' ':!tensorboard/webapp/third_party/**'
332332
333333
lint-misc: # build, protos, etc.
334-
runs-on: ubuntu-18.04
334+
runs-on: ubuntu-20.04
335335
steps:
336336
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
337337
- name: 'Set up Buildifier'

.github/workflows/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: ./.github/workflows/ci.yml
1313

1414
nightly-release:
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-20.04
1616
needs: ci
1717
if: github.repository == 'tensorflow/tensorboard'
1818
steps:

0 commit comments

Comments
 (0)