Skip to content

Commit 3928099

Browse files
committed
fix: specify ubuntu machine image
1 parent 553b033 commit 3928099

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.circleci/config.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ master_filter: &master_filter
99
only:
1010
- master
1111

12+
ubuntu_machine: &ubuntu_machine
13+
machine:
14+
image: ubuntu-2004:202111-02
15+
docker_layer_caching: true
16+
1217
workflows:
1318
version: 2
1419
ci:
@@ -23,7 +28,9 @@ workflows:
2328
- test-influxdb-binaries:
2429
matrix:
2530
parameters:
26-
product: [ "influxdb/1.9/data", "influxdb/1.9/meta" ]
31+
product:
32+
- "influxdb/1.9/data"
33+
- "influxdb/1.9/meta"
2734

2835
jobs:
2936
build:
@@ -35,8 +42,7 @@ jobs:
3542
- run: bash circle-test.sh
3643

3744
test-influxdb:
38-
machine:
39-
image: ubuntu-2004:202111-01
45+
<<: *ubuntu_machine
4046
parameters:
4147
version:
4248
type: string
@@ -82,7 +88,7 @@ jobs:
8288
.circleci/scripts/do-enterprise-release
8389
8490
test-influxdb-binaries:
85-
machine: true
91+
<<: *ubuntu_machine
8692
parameters:
8793
product:
8894
type: string

0 commit comments

Comments
 (0)