Brightpearl Staging: Error May 23 2018

https://brightpearl.staging.clippings.com

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

Add Readme.md for Brightpearl staging.

Git fetch and reset hard
Checking out files:  26% (202/756)   
Checking out files:  27% (205/756)   
Checking out files:  28% (212/756)   
Checking out files:  29% (220/756)   
Checking out files:  30% (227/756)   
Checking out files:  31% (235/756)   
Checking out files:  32% (242/756)   
Checking out files:  33% (250/756)   
Checking out files:  34% (258/756)   
Checking out files:  35% (265/756)   
Checking out files:  36% (273/756)   
Checking out files:  37% (280/756)   
Checking out files:  38% (288/756)   
Checking out files:  39% (295/756)   
Checking out files:  40% (303/756)   
Checking out files:  41% (310/756)   
Checking out files:  42% (318/756)   
Checking out files:  43% (326/756)   
Checking out files:  44% (333/756)   
Checking out files:  45% (341/756)   
Checking out files:  46% (348/756)   
Checking out files:  47% (356/756)   
Checking out files:  48% (363/756)   
Checking out files:  49% (371/756)   
Checking out files:  50% (378/756)   
Checking out files:  51% (386/756)   
Checking out files:  52% (394/756)   
Checking out files:  53% (401/756)   
Checking out files:  54% (409/756)   
Checking out files:  55% (416/756)   
Checking out files:  56% (424/756)   
Checking out files:  57% (431/756)   
Checking out files:  58% (439/756)   
Checking out files:  59% (447/756)   
Checking out files:  60% (454/756)   
Checking out files:  61% (462/756)   
Checking out files:  62% (469/756)   
Checking out files:  63% (477/756)   
Checking out files:  64% (484/756)   
Checking out files:  65% (492/756)   
Checking out files:  66% (499/756)   
Checking out files:  67% (507/756)   
Checking out files:  68% (515/756)   
Checking out files:  69% (522/756)   
Checking out files:  70% (530/756)   
Checking out files:  71% (537/756)   
Checking out files:  72% (545/756)   
Checking out files:  73% (552/756)   
Checking out files:  74% (560/756)   
Checking out files:  75% (567/756)   
Checking out files:  76% (575/756)   
Checking out files:  77% (583/756)   
Checking out files:  78% (590/756)   
Checking out files:  79% (598/756)   
Checking out files:  80% (605/756)   
Checking out files:  81% (613/756)   
Checking out files:  82% (620/756)   
Checking out files:  83% (628/756)   
Checking out files:  84% (636/756)   
Checking out files:  85% (643/756)   
Checking out files:  86% (651/756)   
Checking out files:  87% (658/756)   
Checking out files:  88% (666/756)   
Checking out files:  89% (673/756)   
Checking out files:  90% (681/756)   
Checking out files:  91% (688/756)   
Checking out files:  92% (696/756)   
Checking out files:  93% (704/756)   
Checking out files:  94% (711/756)   
Checking out files:  95% (719/756)   
Checking out files:  96% (726/756)   
Checking out files:  97% (734/756)   
Checking out files:  98% (741/756)   
Checking out files:  99% (749/756)   
Checking out files: 100% (756/756)   
Checking out files: 100% (756/756), done.
HEAD is now at 411e022 Add Readme.md for Brightpearl staging.
Installing composer dependencies
Installing javascript dependencies
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
error An unexpected error occurred: "EACCES: permission denied, unlink '/var/www/staging-sites/brightpearl/node_modules/.bin/JSONStream'".
info If you think this is a bug, please open a bug report with the information provided in "/var/www/staging-sites/brightpearl/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.