Commit 2cee88c authored and Меркушин Михаил Сергеевич
committed
1 parent f20958d commit 2cee88c Copy full SHA for 2cee88c
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
REDIS_URL : redis://redis:6379/0
29
29
before_script :
30
30
- gem sources --remove https://rubygems.org/
31
- - gem sources --add https://nexus.sbmt.io/repository/rubygems/
31
+ - gem sources --add ${NEXUS_PUBLIC_SOURCE_URL}
32
32
- gem update --system 3.4.22
33
33
- bin/setup
34
34
script :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
25
25
# to allow pushing to a single host or delete this section to allow pushing to any host.
26
26
if s . respond_to? ( :metadata )
27
- s . metadata [ "allowed_push_host" ] = " https://rubygems.org"
27
+ s . metadata [ "allowed_push_host" ] = ENV . fetch ( "NEXUS_URL" , " https://rubygems.org")
28
28
else
29
29
raise "RubyGems 2.0 or newer is required to protect against " \
30
30
"public gem pushes."
You can’t perform that action at this time.
0 commit comments