diff options
author | Gregory Schofield <grschofi@progress.com> | 2022-12-12 20:10:16 -0500 |
---|---|---|
committer | Gregory Schofield <grschofi@progress.com> | 2022-12-12 20:10:16 -0500 |
commit | 760ccc210a608dd66fa7aa4406e472faef54ea07 (patch) | |
tree | 82be45078cf2ff000fbf5e0e35dae9fa0ff3632c | |
parent | fa0a6ff7fcba39f79b06ba0b66d6405e9f4dba3e (diff) | |
download | chef-gcs-devel/use-internal-gems-BS-44.tar.gz |
Use artifactory rubygems proxygcs-devel/use-internal-gems-BS-44
Signed-off-by: Gregory Schofield <grschofi@progress.com>
-rw-r--r-- | Gemfile | 6 | ||||
-rw-r--r-- | omnibus/Gemfile | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,8 @@ -source "https://rubygems.org" +if ENV.fetch("OMNIBUS_USE_INTERNAL_SOURCES", false) + source "https://artifactory-internal.ps.chef.co/artifactory/rubygems-proxy" +else + source "https://rubygems.org" +end gem "chef", path: "." diff --git a/omnibus/Gemfile b/omnibus/Gemfile index a8d16ac939..3f1a561271 100644 --- a/omnibus/Gemfile +++ b/omnibus/Gemfile @@ -1,4 +1,8 @@ -source "https://rubygems.org" +if ENV.fetch("OMNIBUS_USE_INTERNAL_SOURCES", false) + source "https://artifactory-internal.ps.chef.co/artifactory/rubygems-proxy" +else + source "https://rubygems.org" +end gem "omnibus", github: ENV.fetch("OMNIBUS_GITHUB_REPO", "chef/omnibus"), branch: ENV.fetch("OMNIBUS_GITHUB_BRANCH", "main") |