[MediaWiki-commits] [Gerrit] parsoid: deploy node_modules with npm - change (integration/config)

2015-10-09 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: parsoid: deploy node_modules with npm
..


parsoid: deploy node_modules with npm

The Parsoid source repository now support shrinkwrap which pins
dependencies to a specific version. By running npm install on the
parsoid insance, we no more rely on /deploy.git to provide the
dependencies.

Bug: T92871
Change-Id: I84a6d2ba8e5dcec6528daac89d3711369695ab8c
---
M jjb/beta.yaml
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/jjb/beta.yaml b/jjb/beta.yaml
index 96775ce..304f1c6 100644
--- a/jjb/beta.yaml
+++ b/jjb/beta.yaml
@@ -183,6 +183,12 @@
  /srv/deployment/integration/slave-scripts/bin/multigit.sh \
  mediawiki/services/parsoid mediawiki/services/parsoid/deploy
  - shell: |
+ cd parsoid
+ # Extra paranoia, multigit already does a git clean -xqdff
+ rm -fR node_modules
+ npm install
+
+ - shell: |
  PARSOID_TARGET=/srv/deployment/parsoid
  mkdir -p "$PARSOID_TARGET"
  # sync workspace and deployment target

-- 
To view, visit https://gerrit.wikimedia.org/r/243997
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I84a6d2ba8e5dcec6528daac89d3711369695ab8c
Gerrit-PatchSet: 4
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Subramanya Sastry 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] parsoid: deploy node_modules with npm - change (integration/config)

2015-10-06 Thread Hashar (Code Review)
Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243997

Change subject: parsoid: deploy node_modules with npm
..

parsoid: deploy node_modules with npm

The Parsoid source repository now support shrinkwrap which pins
dependencies to a specific version. By running npm install on the
parsoid insance, we no more rely on /deploy.git to provide the
dependencies.

Bug: T92871
Change-Id: I84a6d2ba8e5dcec6528daac89d3711369695ab8c
---
M jjb/beta.yaml
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/97/243997/1

diff --git a/jjb/beta.yaml b/jjb/beta.yaml
index 96775ce..6a10a12 100644
--- a/jjb/beta.yaml
+++ b/jjb/beta.yaml
@@ -183,6 +183,13 @@
  /srv/deployment/integration/slave-scripts/bin/multigit.sh \
  mediawiki/services/parsoid mediawiki/services/parsoid/deploy
  - shell: |
+ cd parsoid
+ # Extra paranoia, multigit already does a git clean -xqdff
+ rm -fR node_modules
+ npm install
+ npm list
+
+ - shell: |
  PARSOID_TARGET=/srv/deployment/parsoid
  mkdir -p "$PARSOID_TARGET"
  # sync workspace and deployment target

-- 
To view, visit https://gerrit.wikimedia.org/r/243997
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84a6d2ba8e5dcec6528daac89d3711369695ab8c
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits