[Pkg-puppet-devel] [facter] 84/180: (FACT-460) Modify $GEM_SOURCE for CI bootstrap

Stig Sandbeck Mathisen ssm at debian.org
Mon Jun 30 15:06:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 724102cde7da1bd4c552817da6ee68a59ea525f4
Author: Roger Ignazio <roger at puppetlabs.com>
Date:   Wed Apr 23 14:36:21 2014 -0700

    (FACT-460) Modify $GEM_SOURCE for CI bootstrap
    
    It is preferable to override the authoritative source (rubygems.org)
    with our own internal resources, as opposed to the other way around.
    This change ensures that if $GEM_SOURCE is set in the environment,
    it is honored. Otherwise, we fall back to the public authority,
    rubygems.org.
    
    This change is analogous to the following line in our Gemfiles:
    
        source ENV['GEM_SOURCE'] || "https://rubygems.org"
---
 acceptance/bin/ci-bootstrap-from-artifacts.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/acceptance/bin/ci-bootstrap-from-artifacts.sh b/acceptance/bin/ci-bootstrap-from-artifacts.sh
index 2b55a2e..ef1afa0 100755
--- a/acceptance/bin/ci-bootstrap-from-artifacts.sh
+++ b/acceptance/bin/ci-bootstrap-from-artifacts.sh
@@ -12,9 +12,9 @@
 
 set -x
 
-# Use our internal rubygems mirror for the bundle install
+# If $GEM_SOURCE is not set, fall back to rubygems.org
 if [ -z $GEM_SOURCE ]; then
-  export GEM_SOURCE='http://rubygems.delivery.puppetlabs.net'
+  export GEM_SOURCE='https://rubygems.org'
 fi
 
 echo "SHA: ${SHA}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list