[MediaWiki-commits] [Gerrit] Move GEM_HOME under $HOME - change (integration/config)
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 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 Gerrit-Reviewer: Hashar Gerrit-Reviewer: Zfilipin Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Move GEM_HOME under $HOME - change (integration/config)
Hello Zfilipin, I'd like you to do a code review. Please visit https://gerrit.wikimedia.org/r/222076 to review the following change. 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 Change-Id: I0e9c3b1ddb1bfefe2b20202073981b9dbf72b61d --- M jjb/macro-browsertests.yaml M jjb/ruby-jobs.yaml 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/76/222076/1 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: newchange Gerrit-Change-Id: I0e9c3b1ddb1bfefe2b20202073981b9dbf72b61d Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar Gerrit-Reviewer: Zfilipin ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits