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 6c37115 commit cd99718
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 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 @@ -79,13 +79,12 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"9"
"10"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"16.04",
"18.04"
]
},
Expand Down
8 changes: 4 additions & 4 deletions spec/classes/foreman_proxy__plugin__ansible_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 'foreman_proxy::plugin::ansible' do

['redhat-7-x86_64', 'debian-9-x86_64'].each do |os|
['redhat-7-x86_64', 'debian-10-x86_64'].each do |os|
context "on #{os}" do
let :facts do
on_supported_os[os]
Expand All @@ -16,7 +16,7 @@
it { should contain_foreman_proxy__plugin('dynflow') }

case os
when 'debian-9-x86_64'
when 'debian-10-x86_64'
it 'should include ansible-runner upstream repo' do
should contain_apt__source('ansible-runner')
.with_location('https://releases.ansible.com/ansible-runner/deb')
Expand Down Expand Up @@ -78,7 +78,7 @@
it { should contain_foreman_proxy__plugin('dynflow') }

case os
when 'debian-9-x86_64'
when 'debian-10-x86_64'
it { should_not contain_apt__source('ansible-runner') }
when 'redhat-7-x86_64'
it { should_not contain_yumrepo('ansible-runner') }
Expand Down Expand Up @@ -119,7 +119,7 @@
it { should_not contain_class('foreman_proxy::plugin::ansible::runner') }

case os
when 'debian-9-x86_64'
when 'debian-10-x86_64'
it { should_not contain_apt__source('ansible-runner') }
when 'redhat-7-x86_64'
it { should_not contain_yumrepo('ansible-runner') }
Expand Down

0 comments on commit cd99718

Please sign in to comment.