Skip to content

Commit

Permalink
Update rubygems_url to new Cinc rubygems server (#29)
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <[email protected]>
  • Loading branch information
ramereth authored Jul 31, 2024
1 parent 26fe0ac commit a558975
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the cinc-omnibus cookb

## Unreleased

- Update rubygems_url to new Cinc rubygems server

## 1.1.19 - *2024-07-31*

- Add basic support for riscv64
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

chef_ingredient 'omnibus-toolchain' do
# Chef doesn't have some platforms on ppc64le yet
rubygems_url 'https://packagecloud.io/cinc-project/stable' if cinc_omnibus?
rubygems_url 'https://rubygems.cinc.sh' if cinc_omnibus?
version 'latest'
channel :stable
architecture node['kernel']['machine']
Expand Down
8 changes: 4 additions & 4 deletions spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
it { expect { chef_run }.to_not raise_error }
it do
is_expected.to upgrade_chef_ingredient('omnibus-toolchain').with(
rubygems_url: 'https://packagecloud.io/cinc-project/stable',
rubygems_url: 'https://rubygems.cinc.sh',
version: 'latest',
channel: :stable,
architecture: 'ppc64le',
Expand Down Expand Up @@ -91,7 +91,7 @@
it { expect { chef_run }.to_not raise_error }
it do
is_expected.to upgrade_chef_ingredient('omnibus-toolchain').with(
rubygems_url: 'https://packagecloud.io/cinc-project/stable',
rubygems_url: 'https://rubygems.cinc.sh',
version: 'latest',
channel: :stable,
architecture: 'ppc64le',
Expand Down Expand Up @@ -124,7 +124,7 @@

it do
is_expected.to upgrade_chef_ingredient('omnibus-toolchain').with(
rubygems_url: 'https://packagecloud.io/cinc-project/stable',
rubygems_url: 'https://rubygems.cinc.sh',
version: 'latest',
channel: :stable,
architecture: 'ppc64le',
Expand All @@ -140,7 +140,7 @@

it do
is_expected.to upgrade_chef_ingredient('omnibus-toolchain').with(
rubygems_url: 'https://packagecloud.io/cinc-project/stable',
rubygems_url: 'https://rubygems.cinc.sh',
version: 'latest',
channel: :stable,
architecture: 's390x',
Expand Down

0 comments on commit a558975

Please sign in to comment.