Skip to content

Commit

Permalink
test upgrades on EL9 and Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ekohl committed Mar 21, 2024
1 parent 8254828 commit b524354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/acceptance/puppetserver_upgrade_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
case ENV['BEAKER_PUPPET_COLLECTION']
when 'puppet8'
from_version = '8.2.0'
to_version = '8.3.0'
to_version = '8.5.0'
when 'puppet7'
from_version = '7.10.0'
to_version = '7.13.0'
from_version = '7.13.0'
to_version = '7.16.0'
else
raise 'Unsupported Puppet collection'
end
Expand Down
5 changes: 2 additions & 3 deletions spec/support/acceptance/puppetserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ def unsupported_puppetserver
end
end

# These versions only have a single version (x.y.z) released so no upgrade is possible
def unsupported_puppetserver_upgrade
(fact('os.family') == 'RedHat' && fact('os.release.major') == '9') ||
(fact('os.name') == 'Ubuntu' && fact('os.release.major') == '22.04')
# currently none
false
end

0 comments on commit b524354

Please sign in to comment.