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

Commit

Permalink
chore(ci): use stronger machines (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Feb 21, 2022
1 parent d589800 commit e8d0f81
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ orbs:
commands:
setup-remote-docker-with-experimental-feats:
steps:
- setup_remote_docker:
docker_layer_caching: true
version: 20.10.7
- run:
# We need this in order to `squash` images
# https://support.circleci.com/hc/en-us/articles/360050448351-Enabling-Docker-Experimental-Features-on-Remote-Docker
name: Enable Docker experimental features
command: |
ssh remote-docker \<<EOF
sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
sudo systemctl restart docker
EOF
sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
sudo systemctl restart docker
compute-docker-tags:
parameters:
Expand Down Expand Up @@ -133,8 +128,10 @@ jobs:
push-images:
type: boolean
default: true
docker:
- image: cimg/base:2021.04
machine:
image: ubuntu-2004:202111-02
docker_layer_caching: true
resource_class: xlarge
steps:
- checkout
- setup-remote-docker-with-experimental-feats
Expand Down Expand Up @@ -186,8 +183,9 @@ jobs:
parameters:
container-image:
type: string
docker:
- image: cimg/base:2021.04
machine:
image: ubuntu-2004:202111-02
resource_class: xlarge
steps:
- setup-remote-docker-with-experimental-feats
# Load the previously saved docker images from the CCI workspace
Expand All @@ -211,8 +209,9 @@ jobs:
squash-images:
type: boolean
default: false
docker:
- image: cimg/base:2021.04
machine:
image: ubuntu-2004:202111-02
resource_class: xlarge
steps:
# Compute the env vars with the resulting docker tags and docker image names
- compute-docker-tags:
Expand Down

0 comments on commit e8d0f81

Please sign in to comment.