Skip to content

Commit

Permalink
Drop Debian 9 and Ubuntu 16.04, add Debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll authored and ekohl committed Nov 30, 2019
1 parent 0b315a1 commit 36aa538
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.travis.yml:
beaker_sets:
- centos7-64
- debian9-64
- debian10-64
env:
global:
- PARALLEL_TEST_PROCESSORS=8
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ matrix:
- rvm: 2.5.1
env:
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_setfile=debian9-64{hostname=debian9-64.example.com}
- BEAKER_setfile=debian10-64{hostname=debian10-64.example.com}
script: bundle exec rake beaker
services: docker
bundler_args: --without development
Expand All @@ -48,7 +48,7 @@ matrix:
- rvm: 2.5.1
env:
- BEAKER_PUPPET_COLLECTION=puppet6
- BEAKER_setfile=debian9-64{hostname=debian9-64.example.com}
- BEAKER_setfile=debian10-64{hostname=debian10-64.example.com}
script: bundle exec rake beaker
services: docker
bundler_args: --without development
Expand Down
3 changes: 1 addition & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"9"
"10"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"16.04",
"18.04"
]
}
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/foreman_cli_discovery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
it { should contain_package('tfm-rubygem-hammer_cli_foreman_discovery') }
end

context 'on debian-9-x86_64' do
let(:facts) { on_supported_os['debian-9-x86_64'] }
context 'on debian-10-x86_64' do
let(:facts) { on_supported_os['debian-10-x86_64'] }
it { should contain_package('ruby-hammer-cli-foreman-discovery') }
end
end
4 changes: 2 additions & 2 deletions spec/classes/foreman_cli_virt_who_configure_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
it { should contain_package('tfm-rubygem-hammer_cli_foreman_virt_who_configure') }
end

context 'on debian-9-x86_64' do
let(:facts) { on_supported_os['debian-9-x86_64'] }
context 'on debian-10-x86_64' do
let(:facts) { on_supported_os['debian-10-x86_64'] }
it { should contain_package('ruby-hammer-cli-foreman-virt-who-configure') }
end
end
6 changes: 3 additions & 3 deletions spec/defines/foreman_repos_apt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let(:title) { 'foreman' }

let :facts do
on_supported_os['debian-9-x86_64']
on_supported_os['debian-10-x86_64']
end

let(:apt_key) do
Expand All @@ -26,7 +26,7 @@
.with_repos('1.18')

should contain_file('/etc/apt/sources.list.d/foreman.list')
.with_content(%r{deb https://deb\.theforeman\.org/ stretch 1\.18})
.with_content(%r{deb https://deb\.theforeman\.org/ buster 1\.18})

should contain_apt__source('foreman-plugins')
.with_location('https://deb.theforeman.org/')
Expand All @@ -48,7 +48,7 @@
.with_repos('nightly')

should contain_file('/etc/apt/sources.list.d/foreman.list')
.with_content(%r{deb https://deb\.theforeman\.org/ stretch nightly})
.with_content(%r{deb https://deb\.theforeman\.org/ buster nightly})

should contain_apt__source('foreman-plugins')
.with_location('https://deb.theforeman.org/')
Expand Down

0 comments on commit 36aa538

Please sign in to comment.