Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Extenstion template: Improve Circle Ci config for busting bundler cache

Damian Legawiecbb1e12ad9192
diff --git a/cli/lib/spree_cli/templates/extension/.circleci/config.yml b/cli/lib/spree_cli/templates/extension/.circleci/config.yml
index 1b99d3cae7..39553ed17e 100644
--- a/cli/lib/spree_cli/templates/extension/.circleci/config.yml
+++ b/cli/lib/spree_cli/templates/extension/.circleci/config.yml
@@ -18,7 +18,6 @@ run_tests: &run_tests
- restore_cache:
keys:
- spree-bundle-{{ .Branch }}
- - spree-bundle
- run:
name: Add keyserver
command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B
@@ -57,7 +56,6 @@ jobs:
- restore_cache:
keys:
- spree-bundle-{{ .Branch }}
- - spree-bundle
- run:
name: Add keyserver
command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B
@@ -74,7 +72,7 @@ jobs:
- save_cache:
paths:
- vendor/bundle
- key: spree-bundle-{{ checksum "Gemfile.lock" }}
+ key: spree-bundle-{{ .Branch }}
tests_postgres: &tests_postgres
<<: *run_tests
@@ -109,7 +107,6 @@ jobs:
- restore_cache:
keys:
- spree-bundle-{{ .Branch }}
- - spree-bundle
- run:
name: Set bundle path
command: bundle config --local path vendor/bundle