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.

Remove obsolete files

Damian Legawiec74bfc1718e87
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ae8874983f..65e83c6265 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -23,8 +23,8 @@ run_tests: &run_tests
- checkout
- restore_cache:
keys:
- - spree-bundle-v7-{{ checksum ".ruby-version" }}-{{ .Branch }}
- - spree-bundle-v7-{{ checksum ".ruby-version" }}
+ - spree-bundle-v7-ruby-2-7-{{ .Branch }}
+ - spree-bundle-v7-ruby-2-7
- run:
name: Run rspec in parallel
command: BUNDLE_GEMFILE=../Gemfile ./bin/build-ci.rb test
@@ -65,15 +65,15 @@ jobs:
- checkout
- restore_cache:
keys:
- - spree-bundle-v7-{{ checksum ".ruby-version" }}-{{ .Branch }}
- - spree-bundle-v7-{{ checksum ".ruby-version" }}
+ - spree-bundle-v7-ruby-2-7-{{ .Branch }}
+ - spree-bundle-v7-ruby-2-7
- run:
name: Bundle Install
command: |
bundle check || bundle install
./bin/build-ci.rb install
- save_cache:
- key: spree-bundle-v7-{{ checksum ".ruby-version" }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
+ key: spree-bundle-v7-ruby-2-7-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- ~/spree/vendor/bundle
@@ -125,8 +125,8 @@ jobs:
- checkout
- restore_cache:
keys:
- - spree-bundle-v7-{{ checksum ".ruby-version" }}-{{ .Branch }}
- - spree-bundle-v7-{{ checksum ".ruby-version" }}
+ - spree-bundle-v7-ruby-2-7-{{ .Branch }}
+ - spree-bundle-v7-ruby-2-7
- run:
name: Ensure Bundle Install
command: |
diff --git a/.ruby-version b/.ruby-version
deleted file mode 100644
index 37c2961c24..0000000000
--- a/.ruby-version
+++ /dev/null
@@ -1 +0,0 @@
-2.7.2
diff --git a/.squash.yml b/.squash.yml
deleted file mode 100644
index 5043e4efc5..0000000000
--- a/.squash.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-deployments:
- default:
- filename:
- ./Dockerfile
- vm_size:
- 1GB
- port_forwarding:
- 80:3000
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 2baff72a34..0000000000
--- a/Dockerfile
+++ /dev/null
@@ -1,11 +0,0 @@
-# This dockerfile is used to build sandbox image for docker clouds. It's not meant to be used in projects
-FROM ruby:2.5.1
-RUN apt-get update -qq && \
- apt-get install -y build-essential libpq-dev && \
- curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs
-RUN mkdir /spree
-WORKDIR /spree
-ADD . /spree
-RUN bundle install
-RUN bundle exec rake sandbox
-CMD ["sh", "docker-entrypoint.sh"]
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
deleted file mode 100644
index 4d9450b1d0..0000000000
--- a/docker-entrypoint.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This is entrypoint for docker image of spree sandbox on docker cloud
-
-RAILS_ENV=development cd sandbox && bundle exec rails s -p 3000 -b '0.0.0.0'