Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3.2] Skip trying to install solidus_bolt when there's no Gemfile #16

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
version: 2.1

skip_solidus_bolt: &skip_solidus_bolt
environment:
SKIP_SOLIDUS_BOLT: 1

orbs:
browser-tools: circleci/[email protected]

@@ -22,7 +18,6 @@ commands:

jobs:
run-specs-with-postgres:
<<: *skip_solidus_bolt
executor: solidusio_extensions/postgres
steps:
- checkout
@@ -32,7 +27,6 @@ jobs:
- solidusio_extensions/run-tests-solidus-master
- solidusio_extensions/store-test-results
run-specs-with-mysql:
<<: *skip_solidus_bolt
executor: solidusio_extensions/mysql
steps:
- checkout
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ def setup_assets
end

def install_solidus_bolt
return if ENV['SKIP_SOLIDUS_BOLT'] || !(options[:auto_accept] || yes?(<<~MSG))
return if ENV['SKIP_SOLIDUS_BOLT'] || !File.exist?('Gemfile') || !(options[:auto_accept] || yes?(<<~MSG))
Would you like to add bolt (https://www.bolt.com) as a default payment method?
If you answer yes, solidus_bolt (https://github.com/solidusio/solidus_bolt)