Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit e8d0f81

Browse files
authored
chore(ci): use stronger machines (#743)
1 parent d589800 commit e8d0f81

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.circleci/config.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,13 @@ orbs:
66
commands:
77
setup-remote-docker-with-experimental-feats:
88
steps:
9-
- setup_remote_docker:
10-
docker_layer_caching: true
11-
version: 20.10.7
129
- run:
1310
# We need this in order to `squash` images
1411
# https://support.circleci.com/hc/en-us/articles/360050448351-Enabling-Docker-Experimental-Features-on-Remote-Docker
1512
name: Enable Docker experimental features
1613
command: |
17-
ssh remote-docker \<<EOF
18-
sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
19-
sudo systemctl restart docker
20-
EOF
14+
sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
15+
sudo systemctl restart docker
2116
2217
compute-docker-tags:
2318
parameters:
@@ -133,8 +128,10 @@ jobs:
133128
push-images:
134129
type: boolean
135130
default: true
136-
docker:
137-
- image: cimg/base:2021.04
131+
machine:
132+
image: ubuntu-2004:202111-02
133+
docker_layer_caching: true
134+
resource_class: xlarge
138135
steps:
139136
- checkout
140137
- setup-remote-docker-with-experimental-feats
@@ -186,8 +183,9 @@ jobs:
186183
parameters:
187184
container-image:
188185
type: string
189-
docker:
190-
- image: cimg/base:2021.04
186+
machine:
187+
image: ubuntu-2004:202111-02
188+
resource_class: xlarge
191189
steps:
192190
- setup-remote-docker-with-experimental-feats
193191
# Load the previously saved docker images from the CCI workspace
@@ -211,8 +209,9 @@ jobs:
211209
squash-images:
212210
type: boolean
213211
default: false
214-
docker:
215-
- image: cimg/base:2021.04
212+
machine:
213+
image: ubuntu-2004:202111-02
214+
resource_class: xlarge
216215
steps:
217216
# Compute the env vars with the resulting docker tags and docker image names
218217
- compute-docker-tags:

0 commit comments

Comments
 (0)