Skip to content

Commit

Permalink
Merge branch 'feat/DEX-241031/fix-CI' into 'master'
Browse files Browse the repository at this point in the history
[DEX-241031] feat: fix CI

Closes DEX-241031

See merge request nstmrt/rubygems/outbox!107
  • Loading branch information
Меркушин Михаил Сергеевич committed Oct 31, 2024
2 parents f20958d + 2cee88c commit 3c2e6f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tests:
REDIS_URL: redis://redis:6379/0
before_script:
- gem sources --remove https://rubygems.org/
- gem sources --add https://nexus.sbmt.io/repository/rubygems/
- gem sources --add ${NEXUS_PUBLIC_SOURCE_URL}
- gem update --system 3.4.22
- bin/setup
script:
Expand Down
2 changes: 1 addition & 1 deletion sbmt-outbox.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if s.respond_to?(:metadata)
s.metadata["allowed_push_host"] = "https://rubygems.org"
s.metadata["allowed_push_host"] = ENV.fetch("NEXUS_URL", "https://rubygems.org")
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
Expand Down

0 comments on commit 3c2e6f2

Please sign in to comment.