Removed yarn integrity check (#7478)
This commit is contained in:
parent
8b51d8e4b8
commit
db9186043e
5 changed files with 3 additions and 10 deletions
|
|
@ -46,7 +46,7 @@ before_install:
|
|||
- sudo systemctl start elasticsearch
|
||||
install:
|
||||
- bundle install --path vendor/bundle
|
||||
- yarn install
|
||||
- yarn install --frozen-lockfile
|
||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
||||
> ./cc-test-reporter
|
||||
- chmod +x ./cc-test-reporter
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ COPY ./.yarn ./.yarn
|
|||
# Install packages
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
RUN yarn install && yarn check --integrity
|
||||
RUN yarn install
|
||||
|
||||
# timeout extension required to ensure
|
||||
# system work properly on first time load
|
||||
|
|
|
|||
|
|
@ -3,12 +3,6 @@
|
|||
$VERBOSE = nil
|
||||
|
||||
Rails.application.configure do
|
||||
# Verifies that versions and hashed value of the package contents in the project's package.json
|
||||
# As the integrity check is currently broken under Docker with webpacker,
|
||||
# we can't enable this flag by default
|
||||
# see <https://github.com/thepracticaldev/dev.to/pull/296#discussion_r210635685>
|
||||
config.webpacker.check_yarn_integrity = ENV.fetch("YARN_INTEGRITY_ENABLED", "true") == "true"
|
||||
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# In the development environment your application's code is reloaded on
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ services:
|
|||
environment:
|
||||
RAILS_ENV: development
|
||||
DATABASE_URL: postgresql://devto:devto@db:5432/PracticalDeveloper_development
|
||||
YARN_INTEGRITY_ENABLED: "false"
|
||||
ELASTICSEARCH_URL: http://elasticsearch:9200
|
||||
REDIS_URL: redis://redis:6379
|
||||
REDIS_SESSIONS_URL: redis://redis:6379
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# @TODO - add as scripts instead within /bin? - this will help auto fill?
|
||||
#
|
||||
echo "" > ~/.bashrc
|
||||
echo "alias devto-setup='cd /usr/src/app/ && gem install bundler && bundle install --jobs 20 --retry 5 && yarn install && yarn check --integrity && bin/setup'" >> ~/.bashrc
|
||||
echo "alias devto-setup='cd /usr/src/app/ && gem install bundler && bundle install --jobs 20 --retry 5 && yarn install && bin/setup'" >> ~/.bashrc
|
||||
echo "alias devto-migrate='cd /usr/src/app/ && bin/rails db:migrate'" >> ~/.bashrc
|
||||
echo "alias devto-start='cd /usr/src/app/ && bundle exec rails server -b 0.0.0.0 -p 3000'" >> ~/.bashrc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue