jenkins-bot has submitted this change and it was merged.

Change subject: Move GEM_HOME under $HOME
......................................................................


Move GEM_HOME under $HOME

The matrix jobs have each configurations under the same workspace and
end up not sharing the per instance gem cache defined as:

   export GEM_HOME="$WORKSPACE/../gems/2.0.0"

Need to make it non relative somehow and point to the root of all
workspaces.

Bug: T101707
Signed-off-by: Ċ½eljko Filipin <[email protected]>
Change-Id: I0e9c3b1ddb1bfefe2b20202073981b9dbf72b61d
---
M jjb/macro-browsertests.yaml
M jjb/ruby-jobs.yaml
2 files changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/jjb/macro-browsertests.yaml b/jjb/macro-browsertests.yaml
index 34334c5..7de1948 100644
--- a/jjb/macro-browsertests.yaml
+++ b/jjb/macro-browsertests.yaml
@@ -57,7 +57,7 @@
 
           # Shared cache of gems to avoid hitting rubygems all the time
           # See https://github.com/bundler/bundler/issues/2856
-          export GEM_HOME="$WORKSPACE/../gems/2.0.0"
+          export GEM_HOME="$HOME/.gem/2.0.0"
 
           # Attempt to figure out MediaWiki branch being used and fetch it out
           # if the extension has the same branch
diff --git a/jjb/ruby-jobs.yaml b/jjb/ruby-jobs.yaml
index 824eb7e..c89d28d 100644
--- a/jjb/ruby-jobs.yaml
+++ b/jjb/ruby-jobs.yaml
@@ -16,7 +16,7 @@
 
          # Shared cache of gems to avoid hitting rubygems all the time
          # See https://github.com/bundler/bundler/issues/2856
-         export GEM_HOME="$WORKSPACE/../gems/2.0.0"
+         export GEM_HOME="$HOME/.gem/2.0.0"
 
          # Install bundler
          if [ '{bundler-version}' != '' ]; then

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e9c3b1ddb1bfefe2b20202073981b9dbf72b61d
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to