Skip to content

Commit

Permalink
Merge pull request #5367 from solidusio/elia+rainer/admin/chrome-fix
Browse files Browse the repository at this point in the history
Pin the version of chrome to install until the ORB is fixed
  • Loading branch information
elia authored Sep 4, 2023
2 parents d095e38 + 7f2ddc6 commit 355267a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ commands:
setup:
steps:
- checkout
- browser-tools/install-chrome
- browser-tools/install-chrome:
chrome-version: "114.0.5735.198"
replace-existing: true
- browser-tools/install-chromedriver
- run:
name: "Lock dependencies"
Expand All @@ -69,18 +71,18 @@ commands:
ruby -v > .ruby-version
- restore_cache:
keys:
- solidus-gems-v3-{{checksum ".ruby-version"}}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- solidus-gems-v3-{{checksum ".ruby-version"}}-{{ .Branch }}
- solidus-gems-v3-{{checksum ".ruby-version"}}-main
- solidus-gems-v3-{{checksum ".ruby-version"}}
- solidus-gems-v4-{{checksum ".ruby-version"}}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- solidus-gems-v4-{{checksum ".ruby-version"}}-{{ .Branch }}
- solidus-gems-v4-{{checksum ".ruby-version"}}-main
- solidus-gems-v4-{{checksum ".ruby-version"}}

- run: |
bundle config set path 'vendor/bundle'
bundle check || bundle install
bundle clean
- save_cache:
key: solidus-gems-v3-{{checksum ".ruby-version"}}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
key: solidus-gems-v4-{{checksum ".ruby-version"}}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

Expand Down Expand Up @@ -157,16 +159,16 @@ commands:
cat /tmp/.gems-versions
- restore_cache:
keys:
- solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-
- solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-
- run:
name: "Prepare the rails application"
command: |
cd /tmp
test -d my_app || gem install rails solidus
test -d my_app || rails new my_app --skip-git
- save_cache:
key: solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
key: solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
paths:
- /tmp/my_app
- /home/circleci/.rubygems
Expand Down

0 comments on commit 355267a

Please sign in to comment.