Skip to content

Commit eef2c03

Browse files
authored
Set Ubuntu to 20.04 in CI (#4285)
Signed-off-by: Gábor Lipták <[email protected]>
1 parent 6349c91 commit eef2c03

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test-build-deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
lint:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
container:
1313
image: quay.io/cortexproject/build-image:build-image-multiarch-1d2497ff6
1414
steps:
@@ -32,7 +32,7 @@ jobs:
3232
run: make BUILD_IN_CONTAINER=false check-white-noise
3333

3434
test:
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-20.04
3636
container:
3737
image: quay.io/cortexproject/build-image:build-image-multiarch-1d2497ff6
3838
services:
@@ -53,7 +53,7 @@ jobs:
5353
run: CASSANDRA_TEST_ADDRESSES=cassandra:9042 make BUILD_IN_CONTAINER=false test
5454

5555
build:
56-
runs-on: ubuntu-latest
56+
runs-on: ubuntu-20.04
5757
container:
5858
image: quay.io/cortexproject/build-image:build-image-multiarch-1d2497ff6
5959
steps:
@@ -93,7 +93,7 @@ jobs:
9393

9494
integration:
9595
needs: build
96-
runs-on: ubuntu-16.04
96+
runs-on: ubuntu-20.04
9797
steps:
9898
- name: Upgrade golang
9999
run: |
@@ -157,7 +157,7 @@ jobs:
157157

158158
integration-configs-db:
159159
needs: build
160-
runs-on: ubuntu-16.04
160+
runs-on: ubuntu-20.04
161161
steps:
162162
- name: Checkout Repo
163163
uses: actions/checkout@v2
@@ -179,7 +179,7 @@ jobs:
179179
deploy_website:
180180
needs: [build, test]
181181
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
182-
runs-on: ubuntu-latest
182+
runs-on: ubuntu-20.04
183183
container:
184184
image: quay.io/cortexproject/build-image:build-image-multiarch-1d2497ff6
185185
steps:
@@ -216,7 +216,7 @@ jobs:
216216
deploy:
217217
needs: [build, test, lint, integration, integration-configs-db]
218218
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
219-
runs-on: ubuntu-latest
219+
runs-on: ubuntu-20.04
220220
container:
221221
image: quay.io/cortexproject/build-image:build-image-multiarch-1d2497ff6
222222
steps:

0 commit comments

Comments
 (0)