Brightpearl Staging: Error Feb 5 2018

https://brightpearl.staging.clippings.com

Svetlozar Stoyanov
By Svetlozar Stoyanov

What is this about?

Implements https://trello.com/c/MIKUdrLA/125-create-new-staging

Staging

The staging can be launched from [https://brightpearl.staging.clippings.com]()

Aim and Problems

The aim of this staging will resolve following problems:

  • Stakeholders need to test latest master or new feature without creating real orders on production or impacting dev work.
  • Training purposes.
  • Keep same url for endpoint of incoming request from Brightpearl.
  • Keep same cron job for processing events running on staging server.

Process

Move latest master to Brightpearl staging

  1. Rebase this branch on latest master

Move feature branch to Brightpearl staging

  1. Create feature-branch
  2. Merge feature-branch to brightpearl branch
  3. After feature is tested do hard reset to the commit with this readme and rebase to latest master.

Checklist

  • [x] Added readme

Staging to review

[https:://brightpearl.staging.clippings.com]()

Last Change

Merge branch 'bp-update-status-incoming' into brightpearl

Git fetch and reset hard
HEAD is now at c635992 Merge branch 'bp-update-status-incoming' into brightpearl
Installing composer dependencies
Installing javascript dependencies
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Rebuilding all packages...
success Saved lockfile.
Done in 235.82s.
Compiling assets
[17:51:28] Using gulpfile ~/staging-sites/brightpearl/gulpfile.js
[17:51:28] Starting 'build-production'...
[17:51:28] Starting 'scss'...
[17:51:28] Starting 'babel'...
[17:51:28] Starting 'browserify-production'...
[17:51:28] Finished 'build-production' after 47 ms
[17:51:29] Finished 'babel' after 1.19 s
[17:51:54] Finished 'browserify-production' after 26 s
[17:51:55] Finished 'scss' after 27 s
[17:51:55] Starting 'useref'...
[17:52:41] Finished 'useref' after 46 s
Clearing cache

                                                                               
  [Symfony\Component\Filesystem\Exception\IOException]                         
  Failed to remove file "/var/www/staging-sites/brightpearl/var/cach~/twig/e2  
  /e21ce826271cece8f79677a075fd55bb57093cb4665d9faa9ac1cdea9e1f5542.php": The  
   \Raven_SanitizeDataProcessor class is deprecated since version 1.7 and wil  
  l be removed in 2.0. Use the Raven_Processor_SanitizeDataProcessor class in  
   the same namespace instead..                                                
                                                                               

cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command>